Click here to Skip to main content
13,150,544 members (35,229 online)
Click here to Skip to main content

Tagged as


2 bookmarked
Posted 9 Nov 2010

A simple program to solve quadratic equations with

, 15 Nov 2010
I am reposting this because I accidentally deleted my first post.The solution is presented as a pair of complex roots, unless a == 0, in which case the equation is linear and returns a single complex(real) root.If a == 0 and b == 0, the function fails.Given a complex type, replace...



Compare Revision Minor Date Status Editor
4 - publicly available Yes 15-Nov-10 4:00 Available Michael Waters
1 No 9-Nov-10 5:55 Composing Michael Waters


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


About the Author

Michael Waters
United States United States
BS Aerospace Engineering 1993, University of Virginia
ME Aerospace Engineering 1995, University of Virginia

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170924.2 | Last Updated 15 Nov 2010
Article Copyright 2010 by Michael Waters
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid