solving non-linear equation
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi
I am solving for x in this equation.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/162176/image.png)
where J1 is Bessel function of first kind order one. Below s my code, however i am notsure if this is the right way to solve an equation in matlab. can anyone please help me to check my code.
Thanks
clear all
syms x
b=371.05*10^-6;
num=sqrt(-8*b*abs(x));
den=sqrt(-2*b*abs(x));
eqn = 1.4*sqrt((besselj(1,num))/(den))==x;
solvx = solve(eqn,x);
vpa(solvx)
댓글 수: 0
답변 (1개)
Walter Roberson
2017년 3월 26일
편집: Walter Roberson
2017년 3월 26일
Go directly for vpasolve instead of solve as it is not feasible to expect a closed form solution for that.
댓글 수: 2
참고 항목
카테고리
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!