I have solved the following by hand but am having difficulties implementing the code. If anyone is able to assist me I would great appreciate it.
I would like to use Newton-Raphson to solve:
y^3 = ( 4 * ( x ^ 2 ) ) + 28

 Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 8 Okt. 2014

1 Stimme

If you have symbolic math toolbox:
solve('y^3 = ( 4 * ( x ^ 2 ) ) + 28','x')
ans =
(y^3 - 28)^(1/2)/2
-(y^3 - 28)^(1/2)/2
solve('y^3 = ( 4 * ( x ^ 2 ) ) + 28','y')
ans =
4^(1/3)*(x^2 + 7)^(1/3)
4^(1/3)*((3^(1/2)*i)/2 - 1/2)*(x^2 + 7)^(1/3)
-4^(1/3)*((3^(1/2)*i)/2 + 1/2)*(x^2 + 7)^(1/3)

1 Kommentar

salma omarii
salma omarii am 8 Okt. 2014
i don't need to solve it like this i wanna find the roots of this nonlinear equation by newton raphson method so i have to write a code on matlab if you can help me please :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by