Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please use MATLAB!!!!please use MATLAB!!!!please use MATLAB!!!!please use MATLAB!!!!please use MATLAB!!!! please give detailed explanation of the code. Q1 For 1a4, find a solution of
please use MATLAB!!!!please use MATLAB!!!!please use MATLAB!!!!please use MATLAB!!!!please use MATLAB!!!!
please give detailed explanation of the code.
Q1 For 1a4, find a solution of f(x)=tan(x)+asin(x)/x=0 using Newton's method. Plot the solution as a function of a. Q2 Given n points (xj,yj),1jn, we can try to fit them by a quadratic polynomial P(x)= c1+c2x+c3x2 using least squares. That means, we solve the minimization problem min j=1n[c1+ c2xj+c3xj2yj]2. This leads to mincAcy, where A=111x1x2xnx12x22xn2,c=c1c2c3,y=y1y2yn. Now for n=10,xj=1+(j1)/(n1) and yj=exj, find c1,c2 and c3Step 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