Login
Sign Up
Home
Program
Project
My Zone
Support
Show Code
Browse Program
Search Program
Quadratic Equation Calculator
Input Variables
Output Variables
Program Code
Description
Variable Name *
(dynamic type)
*
!
UP
Down
Delete
Default Value *
*
Description *
*
Multi Lines
Variable Name *
(dynamic type)
*
!
UP
Down
Delete
Default Value *
*
Description *
*
Multi Lines
Variable Name *
(dynamic type)
*
!
UP
Down
Delete
Default Value *
*
Description *
*
Multi Lines
Variable Name *
(dynamic type)
*
UP
Down
Delete
Description *
*
Variable Name *
(dynamic type)
*
UP
Down
Delete
Description *
*
Input Variables List
Output Variables List
Source Code
double temp=b*b-4*a*c; temp=Math.Sqrt(temp); x1=(-b+temp)/2.0*a; x2=(-b-temp)/2.0*a;
Subject
Description
A quadratic equation is a polynomial equation of the second degree. The general form is ax
2
+bx+c=0
Quadratic Equation Formula :
ax
2
+ bx + c = 0,
where
a = coefficient of x
2
b = coefficient of x
c = constant.
Quadratic Equation solving formula:
x = (- b ±√ b2 - 4 * a * c) / 2 * a
Category
General
Created By
tech
Created Date
11/27/2010
Last Modify Date
11/27/2010
Calculation Count
49
Version
1.00
Positive
0
Neutral
0
Negative
0
Related Program ID
34 , 36 , 37 , 38 , 39
Copyright ©2009-2010 CUI WEI. All Rights Reserved.