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

1 次查看(过去 30 天)
salma omarii
salma omarii 2014-10-8
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

采纳的回答

Sean de Wolski
Sean de Wolski 2014-10-8
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 个评论
salma omarii
salma omarii 2014-10-8
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 :)

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by