Resolving a non-linear equations

How can I solve the following equation using Matlab:

댓글 수: 1

Alan Stevens
Alan Stevens 2020년 11월 13일
You need to provide more detail. What is Dm? What is F(M) and howdoes it connect with the first equation? Are you trying to find M? ...

댓글을 달려면 로그인하십시오.

답변 (1개)

Alan Stevens
Alan Stevens 2020년 11월 17일

0 개 추천

Do you mean you want to find the value(s) of M that make the function F(M) = 0.8M(1+M^2)-10 equal to zero? If so then use Matlab's roots function
% F = 0.8*M^3 + 0.8*M - Dm;
% F = 0.8*M^3 + 0*M^2 + 0.8*M -Dm
Dm = 10;
coeffs = [0.8 0 0.8 -10];
M = roots(coeffs);
disp(M)

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

질문:

2020년 11월 13일

편집:

2020년 11월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by