The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages - More
> Software Design
|
Logic to solve a Cubic Equation
Discuss Logic to solve a Cubic Equation in the Software Design forum on Dev Shed. Logic to solve a Cubic Equation Software design forum discussing design principles and non-language specific algorithms. Get help with logic, algebraic, or relational concepts.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

July 22nd, 2003, 01:32 AM
|
|
Registered User
|
|
Join Date: Jul 2003
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Logic to solve a Cubic Equation
Hi All,
I have a cubic equation
Y = a+ bx+ cx**2+dx**3
where Y,a,b,c,d are constants (known values).
I need to find the value of x.
Could anybody help me out with a logic??

|

July 22nd, 2003, 09:59 AM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
|
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
|

July 24th, 2003, 09:39 AM
|
|
Junior Member
|
|
Join Date: Jul 2003
Location: Belgium
Posts: 16
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Just like Scorpions4ever (what a name btw  pointed out: the solution for this (mathematical) "problem" already exists. You just have to write code to implement it.
|

July 25th, 2003, 01:48 AM
|
|
Registered User
|
|
Join Date: Jul 2003
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Looking for an Implemented Code
Hi All,
I am aware that there are solutions to solve cubic equations. But i am looking for an implemented code.
|

July 25th, 2003, 01:47 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
You haven't specified the language you're intending to use, but if I recall correctly, the books Numerical Recipes in C and Numerical Recipes in Fortran both had the routines. http://www.amazon.com/exec/obidos/t...79113?vi=glance
I guess you could check out the book in your local bookstore to verify that the code is there or not.
Also http://www.nr.com/ has all the code from the books available online.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|