how to solve equation

조회 수: 1 (최근 30일)
shiv gaur
shiv gaur 2021년 8월 31일
댓글: Fabio Freschi 2021년 9월 2일
V*sqrt(1-b)=m*pi+atan(b/1-b)+atan(a+b/1-b)
% where ns=1.40;
nc=1.45;
nf=1.5;
% where a=(ns^2-nc^2)/(nf^2-ns^2)
b=(neff^2-ns^2)/(nf^2-ns^2)
% by varying V=1:10
plot(V,neff)
  댓글 수: 2
shiv gaur
shiv gaur 2021년 9월 1일
not working
Fabio Freschi
Fabio Freschi 2021년 9월 2일
I assume you want to find the value of neff that solve the equation. However, I think that you are misprinting your initial function:
V*sqrt(1-b)=m*pi+atan(b/1-b)+atan(a+b/1-b)
Because it is useless to divide b by 1. Could you report correctly the function you want to solve, with the values of all parameters?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by