Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose S, T, U are physical quantities that satisfy the rule (#) a Sb Tc = U for some constants a, b, c. An
Suppose S, T, U are physical quantities that satisfy the rule (#) a Sb Tc = U for some constants a, b, c. An experiment was conducted in order to find the constants a, b, c. In the experiment, 12 measurements of U were taken with various settings of values for S, T. i Si Ti Ui 1 1 x1 = 1 X2 0.42 X3 In the command window, type >> H = [ones(12, 1) log10(S) log10(T)] >> u = log10(U) >> G = H'*H 2 1 2 Find a least square solution x = In the command window, type >> eu-H*x >> mean(e) 4.00 a = Is the linear system Hx = u consistent? (yes/no) Write down the average error. b = The equation (#) can be converted to a linear equation (##) log(a) + blog(S) + clog(T) = log(U). Is the linear system Gx = v consistent? (yes/no) C = 3 2 3 In MATLAB, enter the column vectors S = (S1, S2, ...,S12)T, T = (T1, T2, You can download the vectors S, T, U from the data file Lab C5.mat. 4.16 >> V = H'*u In here, ones(12, 1) gives us a all-one vector and H' is the transpose of H. 4 2 4 (x1, x2, 7.67 5 Find the sum of square of errors. (Read Example 5.3.5.) 3 5 8.77 6 3 6 12.06 3)T to Hx = u. (Read Theorem 5.3.10.) 7 4 1 0.45 ..., T12) and U= 8 4 2 1.44 9 5 3 1.89 (U, U2, ..., U12)T. 10 5 4 3.48 11 6 5 4.51 >> norm(e)^2 In here, e is the error vector where its ith entry gives us the error when we use x + x log(S) + x3 log(T;) to estimate log(U), see the equation (##), mean is the MATLAB function that compute the average value of the entries of a vector and norm is the MATLAB function that compute the norm of a vector. 12 6 6 By using the least square solution, estimate the values of a, b, c accordingly, see the equation (#). (Round your answers to two decimal places. Answers with different format are considered incorrect.) 6.59
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started