y^3 = ( 4 * ( x ^ 2 ) ) + 28

1 view (last 30 days)
salma omarii
salma omarii on 8 Oct 2014
Commented: salma omarii on 8 Oct 2014
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

Accepted Answer

Sean de Wolski
Sean de Wolski on 8 Oct 2014
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 Comment
salma omarii
salma omarii on 8 Oct 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 :)

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!