double discrim = Math.pow((b*B)/> - (4*a*c));
And am getting the following error:
Prog10.java:15: pow(double,double) in java.lang.Math cannot be applied to (double) double discrim = Math.pow((b*B)/> - (4*a*c)); ^ 1 error
I've read a couple of forums relating to this error but I don't understand the answers, talking about how pow need two arguments? I just want to assign the variable "dicrim" to the formula. Is there something unique I have to do for exponents? I figured b*b would be a good substitute for b^2. =/
Thanks for your time and patience.
I should mention in the code it is both lowercase b's. I think the forum auto corrected that somehow.