
More JavaScript Calculators
5 Function | Ad Calculator | Adjusted Cost Base | Advanced | Age Calculator | Airport Distance | Armor | Atmosphere | Blood Alcohol Content | Basic | Beat Counter | Best Price | Binary Converter | Body Mass Index | Bubble Sort | Simple Calculator | Calories Burned | Circle Solver | Compound Interest | Cosine | Date Difference | Day Of Week | Distance Speed Time | Dog Years | Driving Distance | Expression Solver | Factors | Fibonacci Sequence | Field Depth | Function Grapher | GPA | Graphing Function | Group Work | Horsepower | Income | Interest Rate | Kinetic Energy | Lap Time | Lcm And Gcd | Leap Year | Male Body | Miles Per Gallon | Money Counter | Parabola Grapher | Paycheck | Percent | Percent Of Increase | Periodic Table | Phone Text | Phone Bill | Polygon | Pregnancy | Prime Number | Pythagorean | Quadratic Solver | Quadratic | Radioactive | Random Distribution | Room Size | Running | Savings Estimator | Scientific | Sine | Square Root | Stock | Straight Distance | Tangent | Tax | Top Speed Rpm | Wavelength | Win Calculator | Wind Chill | World Population | Simple Multiplication
Description
Solves quadratic equations for inputted coefficients. Answers can be either real or complex....View A Script Demo
Solves quadratic equations for inputted coefficients. Answers can be either real or complex....View A Script Demo
Do you find it confusing setting up these script?
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="TextPad 4.4">
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Songzi Du (xdu1@iupui.edu) -->
<!-- Web site: http://members.tripod.com/~Songzidu/mainpageindex.html -->
<!-- Begin
function quad(form) {
a=eval(form.a.value);
b=eval(form.b.value);
c=eval(form.c.value);
x1=-b/2/a+Math.pow(Math.pow(b,2)-4*a*c,0.5)/2/a;
x2=-b/2/a-Math.pow(Math.pow(b,2)-4*a*c,0.5)/2/a;
form.x1.value = x1;
form.x2.value = x2;
if (form.x1.value == "NaN") form.x1.value="Imag.!";
if (form.x2.value == "NaN") form.x2.value="Imag.!";
}
// End -->
</SCRIPT>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<form name=form>
<table border=1 cellpadding=2>
<tr>
<td colspan=2 align=center><b>Quadratic Equation:<br>Ax<sup>2</sup> + Bx + C = 0</b></td>
</tr>
<tr>
<td>
<center><table border=1 width=100% cellpadding=2>
<tr>
<td align=center><b>A = </b></td>
<td align=center><input type=text size=6 name="a"></td>
</tr>
<tr>
<td align=center><b>B = </b></td>
<td align=center><input type=text size=6 name="b"></td>
</tr>
<tr>
<td align=center><b>C = </b></td>
<td align=center><input type=text size=6 name="c"></td>
</tr>
</table>
</td>
<td>
<center><table border=1 width=100% cellpadding=2>
<tr>
<td colspan=2 align=center>
<input type=button value="Solve" onClick="quad(this.form)"></td>
</tr>
<tr>
<td align=center><b>X1 = </b></td>
<td align=center><input type=text size=6 name="x1"></td>
</tr>
<tr>
<td align=center><b>X2 = </b></td>
<td align=center><input type=text size=6 name="x2"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</center>
</BODY>
</HTML>
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="TextPad 4.4">
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Songzi Du (xdu1@iupui.edu) -->
<!-- Web site: http://members.tripod.com/~Songzidu/mainpageindex.html -->
<!-- Begin
function quad(form) {
a=eval(form.a.value);
b=eval(form.b.value);
c=eval(form.c.value);
x1=-b/2/a+Math.pow(Math.pow(b,2)-4*a*c,0.5)/2/a;
x2=-b/2/a-Math.pow(Math.pow(b,2)-4*a*c,0.5)/2/a;
form.x1.value = x1;
form.x2.value = x2;
if (form.x1.value == "NaN") form.x1.value="Imag.!";
if (form.x2.value == "NaN") form.x2.value="Imag.!";
}
// End -->
</SCRIPT>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<form name=form>
<table border=1 cellpadding=2>
<tr>
<td colspan=2 align=center><b>Quadratic Equation:<br>Ax<sup>2</sup> + Bx + C = 0</b></td>
</tr>
<tr>
<td>
<center><table border=1 width=100% cellpadding=2>
<tr>
<td align=center><b>A = </b></td>
<td align=center><input type=text size=6 name="a"></td>
</tr>
<tr>
<td align=center><b>B = </b></td>
<td align=center><input type=text size=6 name="b"></td>
</tr>
<tr>
<td align=center><b>C = </b></td>
<td align=center><input type=text size=6 name="c"></td>
</tr>
</table>
</td>
<td>
<center><table border=1 width=100% cellpadding=2>
<tr>
<td colspan=2 align=center>
<input type=button value="Solve" onClick="quad(this.form)"></td>
</tr>
<tr>
<td align=center><b>X1 = </b></td>
<td align=center><input type=text size=6 name="x1"></td>
</tr>
<tr>
<td align=center><b>X2 = </b></td>
<td align=center><input type=text size=6 name="x2"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</center>
</BODY>
</HTML>
If you have a Business Proposal that you think may be of interest to us here at Best Download Sites please contact us to discuss the matter in further detail

