hello sir i am writing one equation in matalb but i am facing problem in it when i write that equation it give me wrong answer can anyone help me to write that equations for me
Info
This question is closed. Reopen it to edit or answer.
Show older comments
i am solving nonlinear equation but i am facing problem in these equation can anyone help me to write that equations for me i have write that equation in matlab but i am getting wrong answer
A= (((c0/2-c1*c2/6-(c2)^3/27))-(((c0/2-c1*c2/6+c2^3/27)^2+( c1/3-c2^2/9)^3))^(1/2))^(1/3);
B=-(c1/3-c2^2/9)/A;
2 Comments
John D'Errico
on 2 Aug 2016
Note that square and cube roots have MULTIPLE solutions.
irfan
on 2 Aug 2016
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!