필터 지우기
필터 지우기

to find value of unknown variable

조회 수: 1 (최근 30일)
Ashwini  More
Ashwini More 2019년 12월 30일
댓글: Ashwini More 2019년 12월 30일
syms a1 K n E q
eqn = (a1/K)^(1/n) + (a1/E) == q;
E=30000;
K=174.6;
n=0.202;
q=0.02;
solx = solve(eqn, a1)
I want to find value of (a1) but with this code I cant find it. suggest me correct solution

채택된 답변

Omer N
Omer N 2019년 12월 30일
You are trying to solve the equation symbolically and it takes a long time/fails.
If you are okay with a numeric solution change the last line to:
solx = vpasolve(subs(eqn), a1)
>>
solx =
77.053800157394491813482910965605

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by