Question

MATLAB please Simulink Use Newton-Raphson Method & to solve the following Non-linear equations b) x3_3u²-2011 Sina-820 3 2 = x² + ax²+batc

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.

d)

clc
clear all
close all
format long
f=@(x) x^3-3*x^2-20*x*sin(x)-8;
g=@(x) 3*x^2 - 20*sin(x) - 20*x*cos(x) - 6*x;
x0=1;
for i=1:100
x1=x0-f(x0)/g(x0);
if(abs(x1-x0)<1e-6)
break;
end
x0=x1;
end
disp('Root is')
disp(x1);
  

MATLAB R2020a - academic use Х HOME PLOTS APPS EDITOR PUBLISH VIEW CE ? Search Documentation $ Sign In ох A La Find Files Ins

e)

clc
clear all
close all
format long
f=@(x) x^3+x^2+5*x+6;
g=@(x) 3*x^2 + 2*x + 5;
x0=1;
for i=1:100
x1=x0-f(x0)/g(x0);
if(abs(x1-x0)<1e-6)
break;
end
x0=x1;
end
disp('Root is')
disp(x1);
  

MATLAB R2020a - academic use Х HOME PLOTS APPS EDITOR PUBLISH VIEW CE ? Search Documentation $ Sign In Run and Time ох A La F

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
MATLAB please Simulink Use Newton-Raphson Method & to solve the following Non-linear equations b) x3_3u²-2011 Sina-820...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT