solve an equation
조회 수: 18 (최근 30일)
이전 댓글 표시
hello ,
i have a problem to solve this equation
clear,clc
cp=1005;
r=287;
d=1.2;
v=300;
to=298;
py=100:.1:150;
syms ty
x=ty+(((d.*v.*r.*ty).^2)./(2*cp.*py.^2))-to;
ty=solve(x)
this equation is empirical and i can't get ty in L.H.S i wan't range of ty with every value of py
댓글 수: 0
답변 (1개)
Walter Roberson
2012년 3월 26일
It's just a quadratic. Re-arrange
ty + 5.310956420*10^6 * ty^2 ./ py.^2 - 298
into standard quadratic form and solve. (This does mean that you will get two values for each element of py)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!