Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-07-2003, 01:46 PM   #1
LQ Newbie
Registered: Nov 2003
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
Solve and drowing the secon degree ecuation

Can somebody tell me the program in C++ for solving and drawing the second degree ecuation.
I'm looking for documents about elementary aplications in C++ like this.
Old 11-07-2003, 02:05 PM   #2
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
I don't think is easy to find such a program: too specific!
But if you only need to solve quadratic terms is quite easy to program. If you'd like to solve a more generic case, you have to look for a library/program to work out zeros (or roots) of equations. There are many very known algorithms: bisection, regula falsi, Newton, (or Newton-Raphson), and many others... you may include such words in your search.
I use a library which contains such algorithms and many others implemented: GSL (Gnu Scientific Library); is written in C.
If you want to see a program to make graphical representations: GNUplot; you can see the code, but is not 'elementary'
I hope it helps...
Old 11-07-2003, 04:23 PM   #3
Registered: Jun 2003
Location: SEUK
Distribution: Debian & OS X
Posts: 194

Rep: Reputation: 35
You can also find lots of numerical code (including what you are looking for) here :

although it is rather terse and in C. There is c++ version but you have to buy it.
Old 11-08-2003, 08:00 PM   #4
Registered: Jul 2003
Location: DC
Distribution: mandrake 9.1
Posts: 415

Rep: Reputation: 30
what do you mean by second degree? second degree differential equation? matimatica and matlab are probalby better than c++ for doing diff eq.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux certification without degree useful? jynxtr Linux - Certification 5 04-18-2005 01:39 AM
Is a Master Degree important? koyi General 2 03-16-2005 01:00 AM
Half Life frame per secon using WineX and Windows... ssobeht Linux - Games 13 01-15-2004 03:50 AM
Degree? zekko Programming 8 10-21-2003 05:20 PM
My degree acid_kewpie General 44 07-15-2002 08:53 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration