I'm getting equation in very long form, there are big numbers that are left undivided, how do i get them in a simpler term?

1 回表示 (過去 30 日間)
Apurva Suman
Apurva Suman 2021 年 12 月 3 日
回答済み: Sabin 2023 年 1 月 30 日
root(z^5 - (110641566850204558710322674623436416308237*z^4)/56273926637118816003144160544915628125000 + (23897303543479682720741969094123968048419*z^3)/18007656523878021121006131374373001000000 - (1194901859668228155693750015947733560675359*z^2)/3601531304775604224201226274874600200000000 + (2951313139652747544205977391944158937088*z)/175856020740996300009825501702861337890625 - 1051669155854612622380644549826806022144/4396400518524907500245637542571533447265625, z, 1)
root(z^5 - (110641566850204558710322674623436416308237*z^4)/56273926637118816003144160544915628125000 + (23897303543479682720741969094123968048419*z^3)/18007656523878021121006131374373001000000 - (1194901859668228155693750015947733560675359*z^2)/3601531304775604224201226274874600200000000 + (2951313139652747544205977391944158937088*z)/175856020740996300009825501702861337890625 - 1051669155854612622380644549826806022144/4396400518524907500245637542571533447265625, z, 2)
root(z^5 - (110641566850204558710322674623436416308237*z^4)/56273926637118816003144160544915628125000 + (23897303543479682720741969094123968048419*z^3)/18007656523878021121006131374373001000000 - (1194901859668228155693750015947733560675359*z^2)/3601531304775604224201226274874600200000000 + (2951313139652747544205977391944158937088*z)/175856020740996300009825501702861337890625 - 1051669155854612622380644549826806022144/4396400518524907500245637542571533447265625, z, 3)
root(z^5 - (110641566850204558710322674623436416308237*z^4)/56273926637118816003144160544915628125000 + (23897303543479682720741969094123968048419*z^3)/18007656523878021121006131374373001000000 - (1194901859668228155693750015947733560675359*z^2)/3601531304775604224201226274874600200000000 + (2951313139652747544205977391944158937088*z)/175856020740996300009825501702861337890625 - 1051669155854612622380644549826806022144/4396400518524907500245637542571533447265625, z, 4)
root(z^5 - (110641566850204558710322674623436416308237*z^4)/56273926637118816003144160544915628125000 + (23897303543479682720741969094123968048419*z^3)/18007656523878021121006131374373001000000 - (1194901859668228155693750015947733560675359*z^2)/3601531304775604224201226274874600200000000 + (2951313139652747544205977391944158937088*z)/175856020740996300009825501702861337890625 - 1051669155854612622380644549826806022144/4396400518524907500245637542571533447265625, z, 5)
%% this is what i am getting,but i need the coefficients to be in simpler form

回答 (1 件)

Sabin
Sabin 2023 年 1 月 30 日
Assuming that Symbolic Math Toolbox is used, it is possible to Simplify Symbolic Expressions.
For example:
syms x y
simplify((1 - x^2)/(1 - x))
will return x+1

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by