Borrar filtros
Borrar filtros

How to get solution of quadratic equation in decimal format?

1 visualización (últimos 30 días)
>> solve('2*x^2-4*x+5')
Solving equation gives answer in n/d format. i want anser in decimal foramt how to get it?
ans =
1 - (6^(1/2)*i)/2
1 + (6^(1/2)*i)/2

Respuesta aceptada

Walter Roberson
Walter Roberson el 24 de Mzo. de 2013

Más respuestas (0)

Categorías

Más información sobre Mathematics and Optimization en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by