필터 지우기
필터 지우기

How to solve this two variable equation and save values?

조회 수: 2 (최근 30일)
RAFAEL LOPES
RAFAEL LOPES 2019년 10월 26일
답변: darova 2019년 10월 26일
Hello,
I have this two variable equation: X³+2X²+KX+2=0
Where 0K100.
All I need to do is to verify for which values of K, X0
I have tryied some 'for' and 'solve' methods but I'm getting this sort of results:
Can anybody help me?

답변 (2개)

Nadir Altinbas
Nadir Altinbas 2019년 10월 26일
k = 0 : 1 : 100;

darova
darova 2019년 10월 26일
Try
for K = 0:100
roots([1 2 K 2])
end

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by