solving and finding c1 c2 values

19 ビュー (過去 30 日間)
p rasheeda
p rasheeda 2020 年 4 月 16 日
回答済み: Star Strider 2020 年 4 月 16 日
Eq4 =
(2682754076831727*c1)/8388608 + (2682754076831727*c2)/8388608 + (2682754076831727*c3)/8388608 + (3167144087592971*(c1 + c2 + c3)^3)/55083008 - 24
Eq5 =
(2682754076831727*c1)/8388608 + (2682754076831727*c2)/8388608 + (2682754076831727*c3)/8388608 + (3167144087592971*(c1 + c2 + c3)^3)/55083008 - 24
>>

回答 (1 件)

Star Strider
Star Strider 2020 年 4 月 16 日
Try this:
syms c1 c2 c3
Eq4 = (2682754076831727*c1)/8388608 + (2682754076831727*c2)/8388608 + (2682754076831727*c3)/8388608 + (3167144087592971*(c1 + c2 + c3)^3)/55083008 - 24;
Eq5 = (2682754076831727*c1)/8388608 + (2682754076831727*c2)/8388608 + (2682754076831727*c3)/8388608 + (3167144087592971*(c1 + c2 + c3)^3)/55083008 - 24;
S = solve(Eq4,Eq5);
c1 = S.c1
c2 = S.c2
Note that ‘c1’ is a function of ‘c3’, so unlless ‘c3’ has a numeric value or an expression of its own that would provide a numeric value for it, a strictly numeric solution is not possible.

カテゴリ

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