Dado três valores a, b e c. Calcule as raizes da equação ax² + bx + c = 0
* para raizes reais, deve ser arrendondado em 2 casas decimais
Bhaskara(1, 2, 3) = 'esta equação não possui raízes reais';
Bhaskara(2, 4, -6) = [-3, 1];
Bhaskara(1, -8, 16) = 4;
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers25
Suggested Problems
-
Return a list sorted by number of occurrences
2890 Solvers
-
Remove the polynomials that have positive real elements of their roots.
1740 Solvers
-
1454 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1265 Solvers
-
Calculate Amount of Cake Frosting
29408 Solvers
More from this Author20
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!