フィルターのクリア

How to get solution of quadratic equation in decimal format?

1 回表示 (過去 30 日間)
Shantanu K
Shantanu K 2013 年 3 月 24 日
>> 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

採用された回答

Walter Roberson
Walter Roberson 2013 年 3 月 24 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics and Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by