Click here to Skip to main content
15,886,519 members
Articles / Programming Languages / C++

A simple program to solve quadratic equations with

Rate me:
Please Sign up or sign in to vote.
3.75/5 (4 votes)
10 Nov 2010CPOL 17.6K   2  
The correct way to solve quadratic equations is none of the above. For the correct algorithm as applied in the following function, seenumerical recipes in C and the Wolfram site at http://mathworld.wolfram.com/QuadraticEquation.html#include bool quadratic(double a, double b,...

Revisions


  

Compare Revision Minor Date Status Editor
4 - publicly available No 10-Nov-10 3:18 Available federico.strati
3 No 8-Nov-10 20:52 Composing
1 No 4-Nov-10 23:06 Composing

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Italy Italy
Senior Software Developer in C/C++ and Oracle.
Ex-physicist holding a Ph.D. on x-ray lasers.

Comments and Discussions