Question: USING MATLAB( image of this code Code: Xexp=[2 2.5 3 3.5 4 4.5]*10^-2*cosd(15); Yexp=[-.4 -.6 -.8 -1.1 -1.35 -1.7]*10^-2; e=1.6*10^-19; me=9.11*10^-31; N=320; R=6.8*10^-2 I=.754; d=5.2^-2;
USING MATLAB( image of this code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code:
Xexp=[2 2.5 3 3.5 4 4.5]*10^-2*cosd(15);
Yexp=[-.4 -.6 -.8 -1.1 -1.35 -1.7]*10^-2;
e=1.6*10^-19;
me=9.11*10^-31;
N=320;
R=6.8*10^-2
I=.754;
d=5.2^-2;
Vp=3*10^3;
B=8.992*10^-7*N*I/R;
E=0.77*Vp/d;
v=E/B;
v
x=0:0.002:0.1; y=-0.4:0.005:0.4;
r=14*10^-2;
x=sqrt(2*y.*r-y.^2);
plot(x,y,x,-y,Xexp,Yexp,'o')
ratio_theory=(e/me)
ratio_exper=(v/(r*B))
percent_error=((ratio_exper)-(ratio_theory))/ratio_theory*100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
