Problem 55830. Calculo das raizes com Bhaskara
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 commentsProblem Recent Solvers21
Suggested Problems
-
Project Euler: Problem 9, Pythagorean numbers
1151 Solvers
-
Matrix indexing with two vectors of indices
722 Solvers
-
337 Solvers
-
Given A4 sizes find A3's long side
88 Solvers
-
Find the minimum of the column-maximums of a matrix
444 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!