solving and finding c1 c2 values

조회 수: 18 (최근 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 CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by