How to find the roots of equations in Matlab v7.12

1 回表示 (過去 30 日間)
MissA
MissA 2012 年 12 月 12 日
how can I find roots for equation x^3=a
where a is a defined variable = 0.3 (a=0.3) and '^' means 'power'
Please help
thanks MissA

回答 (2 件)

Muruganandham Subramanian
Muruganandham Subramanian 2012 年 12 月 12 日
編集済み: Muruganandham Subramanian 2012 年 12 月 12 日
try this:
a=0.3;
x=nthroot(a,(-1/3));
for more info,
>>help nthroot

Walter Roberson
Walter Roberson 2012 年 12 月 12 日
roots([1 0 0 -a])

カテゴリ

Help Center および File ExchangePower and Energy Systems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by