LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-07-2003, 12:46 PM   #1
Omarel
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, 01:05 PM   #2
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
Hi!
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...
Regards
 
Old 11-07-2003, 03:23 PM   #3
dakensta
Member
 
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 :

http://www.library.cornell.edu/nr/bookcpdf.html

although it is rather terse and in C. There is c++ version but you have to buy it.
 
Old 11-08-2003, 07:00 PM   #4
sk8guitar
Member
 
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.
 
  


Reply



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 12:39 AM
Is a Master Degree important? koyi General 2 03-16-2005 12:00 AM
Half Life frame per secon using WineX and Windows... ssobeht Linux - Games 13 01-15-2004 02:50 AM
Degree? zekko Programming 8 10-21-2003 04:20 PM
My degree acid_kewpie General 44 07-15-2002 07:53 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:43 PM.

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