Bonus Level:
To illustrate what we did, you may now compute a concrete numerical example of your choice. Enter the measured values in cm (A typical measurement would be a=2.49, b=2.51, c= 2.45, d=2.49 and e=2.51.):
a = ___________________
b = ___________________
c = ___________________
d = ___________________
e = ___________________
The values are: x_star =
y_star =
r_star =
S_star =
The Maple code used to compute this was:
with(LinearAlgebra):
qc:=proc(a,b,c,d,e)
local AA,cc,zz,sigma,pp_star,S_star;
AA:=<<1|0|-1>,<0|-1|-1>,<-1/sqrt(2)|-1/sqrt(2)|-1>,<-1|0|-1>,<0|1|-1>>:
cc:=<0,10,17/sqrt(2),10,0>:
zz:=:
sigma:=0.01;
pp_star:=LeastSquares(AA,zz-cc);
S_star:=evalf(Norm((AA.pp_star)+cc-zz),2)/sigma)^2);
RETURN(pp_star,S_star);
end:
The picture below shows the 98% confidence region:
|