loop in integral plot

2 views (last 30 days)
shiv gaur
shiv gaur on 9 Jan 2022
Commented: shiv gaur on 9 Jan 2022
function y=f(theta)
L=10;
n1=1-l^2/2;
nc=1;
Neff(theta)=L/tan(theta);
y=((Neff(theta)*n1^2*sin(theta)*cos(theta)/(1-n1^2*cos(theta)^2)^2))/ (n1^2*sin(theta)*cos(theta)/(1-n1^2*cos(theta)^2)^2);
I1=integral(f,asin(nc/n1),pi/2);
disp(I1)
end
plot between l vs I1
  1 Comment
shiv gaur
shiv gaur on 9 Jan 2022
pl help to plot by varying l from any value to I1

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!