To find the roots of a quadratic equation you need to use the quadratic formula
This implies that if the equation has no solutions, if the equation has one double solution, and two distinct solutions otherwise.
So, the pseudocode could be something like this:
double delta = b*b - 4*a*c;
if (delta < 0) print ("There are no real solutions!");
else if(delta = 0) {
double x = -b/(2*a);
print("There is a double solution: " + x);
} else {
double det = sqrt(delta);
double x1 = (-b+det)/(2*a);
double x1 = (-b-det)/(2*a);
print ("The two solutions are " + x1 + "and" + x2);
}
Answer:
30 in
Step-by-step explanation:
subtract 5 inches from 8 inches and you get 3 inches (the height)
then we already have the given 4 inches (the width)
then finally we can see from figure b that the depth is 5 inches
you multiply all of them together and get 60, before dividing that in half to get 30.
(not certain about units)
1 - $0.25 2 - $0.37 3 - $0.49 4 - $0.61 5 - $0.73 6 - $0.85 7 - $0.97
7 muffins would equal $0.97
Answer: 6.72 ounces
Step-by-step explanation:
4.8 + 5.4 + 6.6 = 16.8
16.8/5 = 3.36
3.36 = 1/5
3.36 x 2 = 6.72
6.72 ounces
Hopefully this helps you
pls mark brainlest