Question: Its Matlab Question Please Help 1. [35 points] Using newton_raphson.m script, please solve the following problem and upload your Matlab script. f(x) = x2 -
Its Matlab Question Please Help
![Its Matlab Question Please Help 1. [35 points] Using newton_raphson.m script, please](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3e1b851f68_06366f3e1b7bf358.jpg)
1. [35 points] Using newton_raphson.m script, please solve the following problem and upload your Matlab script. f(x) = x2 - X-3 Start with xo=1.6 and use relative error tolerance of 10-6 % Please also print iterations to show how error decreases. 2. [35 points] Using secant.m script, please solve the following problem and upload your Matlab script. f(x) = x2 - X - 3 Start with xo=1.4 x1=1.6 and and use relative error tolerance of 10-6 % Please also print iterations to show how error decreases. 3. [30 points] The resistance to flow in a pipe is characterized with parameter f. 1 2.51 0= + 2.0log + 3.7D Ref E PVD where Reynolds number is given as Re = u Using the following parameters calculate f (you can use any method to calculate it): kg 30m ; u = 1.8x10-5N. = 0.01m; V = ; E = 0.003mm S ;D p= 1.25 m3i m2 S Please submit your Matlab script. 1. [35 points] Using newton_raphson.m script, please solve the following problem and upload your Matlab script. f(x) = x2 - X-3 Start with xo=1.6 and use relative error tolerance of 10-6 % Please also print iterations to show how error decreases. 2. [35 points] Using secant.m script, please solve the following problem and upload your Matlab script. f(x) = x2 - X - 3 Start with xo=1.4 x1=1.6 and and use relative error tolerance of 10-6 % Please also print iterations to show how error decreases. 3. [30 points] The resistance to flow in a pipe is characterized with parameter f. 1 2.51 0= + 2.0log + 3.7D Ref E PVD where Reynolds number is given as Re = u Using the following parameters calculate f (you can use any method to calculate it): kg 30m ; u = 1.8x10-5N. = 0.01m; V = ; E = 0.003mm S ;D p= 1.25 m3i m2 S Please submit your Matlab script
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
