anonymous
  • anonymous
plot the graph of y=3x^3 - 2x^2 +x - 10 for the values of x from -10 to 10 using matlab command and apply Newton Raphson method to find the positive root of the equation y=3x^3 - 2x^2 +x - 10 using matlab
Mathematics
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
katieb
  • katieb
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
then i guess you need matlab!
experimentX
  • experimentX
for plotting x = -10:0.1:10; plot(x, 3x^3 - 2x^2 +x - 10)
experimentX
  • experimentX
can you explain is short sentence how newtonw raphson method works??

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
no
anonymous
  • anonymous
its like lagrangian interpolation
Zarkon
  • Zarkon
I wouldn't say that
experimentX
  • experimentX
looks like this is getting interesting
Zarkon
  • Zarkon
Is there a newtions method command in matlab?...or are you supposed to program one?
anonymous
  • anonymous
i dont need the matlab help, i need manual help...using newton raphson method
Zarkon
  • Zarkon
I assume you know the iterative formula?
anonymous
  • anonymous
For Newton Raphson Method First find f(x) then using the equation x_n+1 = x_n - f(x_n) / f'(x_n) find the required formulae
anonymous
  • anonymous
yes
Zarkon
  • Zarkon
do you have your initial guess \(x_0\)?
anonymous
  • anonymous
no i havent attempted yet
Zarkon
  • Zarkon
ok...where exactly are you stuck?
experimentX
  • experimentX
so how do we use it to find the roots?
anonymous
  • anonymous
pick a number you think will be close to a solution to \[3x^3 - 2x^2 +x - 10=0\]
anonymous
  • anonymous
that is your first guess, say \[x_0\] second guess will be \[x_0-\frac{f(x_0)}{f'(x_0)}\]
experimentX
  • experimentX
i guess i understand it not ... hahahah
experimentX
  • experimentX
*now
anonymous
  • anonymous
if you pick \[x_0=\frac{5}{3}\] you are done in one step since \[f(\frac{5}{3})=0\]
anonymous
  • anonymous
if you pick say \[x_0=2\] then your second guess will be \[2-\frac{f(2)}{f'(2)}\]
anonymous
  • anonymous
\[f(2)=8\] \[f'(x)=6x^2-4x+1\] \[f'(2)=17\] \[2-\frac{8}{17}=\frac{26}{17}\] is your second guess
experimentX
  • experimentX
is there some kind of error here function xn = function_newt(x) xn = x - (3*x^3 - 2*x^2 +x - 10)/(9*x^2 - 4*x +1);
Zarkon
  • Zarkon
satellite73 just has a small typo in his derivative.
experimentX
  • experimentX
x = 3; for i = 0:10 x = function_newt(x); end disp(x)
experimentX
  • experimentX
function xn = function_newt(x) xn = x - (3*x^3 - 2*x^2 +x - 10)/(9*x^2 - 4*x +1);

Looking for something else?

Not the answer you are looking for? Search for more explanations.