Question: Q 2 ) Write a MATLAB script to determine the positive real root of l n ( x 2 ) = 0 . 7 using

Q2) Write a MATLAB script to determine the positive real root of ln(x2)=0.7 using the Bisection
method (Hint: plot to determine the initial values of xl and xu), iterate until |a|0.005%.(Use a
table to display the results.)
Q3) Write a MATLAB script to use the Newton-Raphson method to determine the root of f(x)=
-0.9x2+1.7x+2.5 using x0=5. Perform the computation until |a| is less than s=0.01%.
Also, check your final answer by substituting the value of the estimated root in the function f(x).
(Use a table to display the results.)
LAB Assignmentt
Q4) Our goal is to fit the data shown in Table 1 with a linear model using the built-in commands in
MATLAB. To do so, use the polyfit command to find the coefficients a0 and a1 and use the polyval
command to evaluate tilde(y)=a0+a1x. Display the result graphically
Table 1: Data 1
Q5) Write a MATLAB script to implement the composite trapezoidal rule. Use the scrip to evaluate the
following integral (with n=100):
04(1-e-x)dx
Q6) A function f(x) is used to generate the following table of unequally spaced data:
Write a MATLAB script to implement the composite trapezoidal rule. Use the script to evaluate the
integral from a=0 to b=1.2.
 Q2) Write a MATLAB script to determine the positive real root

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!