Scientific Calculator
Tomatoes999/Quadratic
The quadratic formula when ax^2+bx+c=0.
Tagged:
quadratic=function(a,b,c){
var answer1=(-b+sqrt(b^2-4*a*c))/(2*a);
var answer2=(-b-sqrt(b^2-4*a*c))/(2*a);
[answer1,answer2];
}
The quadratic formula when ax^2+bx+c=0.
Tagged:
quadratic=function(a,b,c){
var answer1=(-b+sqrt(b^2-4*a*c))/(2*a);
var answer2=(-b-sqrt(b^2-4*a*c))/(2*a);
[answer1,answer2];
}
1 Comment
it is good man
Sign in to leave a comment