hi all
i need to know if we can write a c program that can read the coefficients a, b,c and d of the equation: ax^3+bx^2+cx+d=0
and by considering all the cases...
waiting the answer ...and thanks all
Mostafa
hi Vicent Yang
i need from you to write the program to me but in c language....and plz let it clear
and plz dont write two words and tell me this is the program....i need it complete....
and thanks so much
Mostafa
Mostafa this is really funny you are asking for help in C programming and after a few questions asked by some members you finally want someone to write a program for you ...
Why did you not ask in the title of your post that you want somebody to write a C program for you??
Question though may seem easy to be solved by machine. but answer is not trivial . you need to consider all possible combination of a,b,c and d to satisfy the equation.
Did you have any constraint of these variable i.e upper and lower bound.
i know how to solve it manually by matrix . and also there is cardan's method to solve it.,..but it is hard to me as a beginner to know how to do program for this....
thanks
nice advice hassnan
but for your own informations, i am not copying i was thinking about it, and i didnt found a solution and when i knew the solution i will save it in my mind and that's a kind of good learning
thanks
do you have any numerical method knowledge? if not, then try to seek for some numerical method reference to solve it. in numerical methods, u just need to initiate a guess value to start iterating to your solution (just as wat most mathematic software like Mathcad does). hope may help u! MErry Xmas