summaryrefslogtreecommitdiff
path: root/1026/CH10
diff options
context:
space:
mode:
Diffstat (limited to '1026/CH10')
-rwxr-xr-x1026/CH10/EX10.13/Example10_13.sce80
-rwxr-xr-x1026/CH10/EX10.4/Example10_4.sce53
2 files changed, 67 insertions, 66 deletions
diff --git a/1026/CH10/EX10.13/Example10_13.sce b/1026/CH10/EX10.13/Example10_13.sce
index 912e85bac..923d099ff 100755
--- a/1026/CH10/EX10.13/Example10_13.sce
+++ b/1026/CH10/EX10.13/Example10_13.sce
@@ -1,41 +1,41 @@
-//chapter10,Example10_13,pg 276
-
-e=1.6*10^-19
-
-Va=150
-
-m=9.1*10^-31
-
-vx=sqrt((2*e*Va)/m)
-
-V=20
-
-d=10^-2
-
-ay=(e/m)*(V/d)
-
-l=10*10^-2
-
-vy=ay*(l/vx)
-
-theta=atan(vy/vx)
-
-theta=theta*(180/%pi)//converting into degree
-
-theta=theta*(%pi/180)//converting into radian
-
-Y=D*tan(theta)
-
-S=(Y/V)
-
-printf("velocity of electron reaching field vx=%.2f m/sec\n",vx)
-
-printf("\nacceleration due to electric field ay=%.2f m/sec2\n",ay)
-
-printf("\nfinal velocity attained by deflecting field vy=%.2f m/sec\n",vy)
-
-printf("\nangle of deflection theta=%.2f deg.\n",theta)
-
-printf("\ndeflection on screen Y=%.2f m\n",Y)
-
+//chapter10,Example10_13,pg 276
+
+e=1.6*10^-19
+
+Va=150
+
+m=9.1*10^-31
+
+vx=sqrt((2*e*Va)/m)
+
+V=20
+
+d=10^-2
+
+ay=(e/m)*(V/d)
+
+l=10*10^-2
+
+vy=ay*(l/vx)
+
+theta=atan(vy/vx)
+
+theta=theta*(180/%pi)//converting into degree
+
+theta=theta*(%pi/180)//converting into radian
+
+Y=d*tan(theta)
+
+S=(Y/V)
+
+printf("velocity of electron reaching field vx=%.2f m/sec\n",vx)
+
+printf("\nacceleration due to electric field ay=%.2f m/sec2\n",ay)
+
+printf("\nfinal velocity attained by deflecting field vy=%.2f m/sec\n",vy)
+
+printf("\nangle of deflection theta=%.2f deg.\n",theta)
+
+printf("\ndeflection on screen Y=%.2f m\n",Y)
+
printf("\ndeflection senstivity S=%.2f m/volt\n",S) \ No newline at end of file
diff --git a/1026/CH10/EX10.4/Example10_4.sce b/1026/CH10/EX10.4/Example10_4.sce
index 3faf84579..206744551 100755
--- a/1026/CH10/EX10.4/Example10_4.sce
+++ b/1026/CH10/EX10.4/Example10_4.sce
@@ -1,27 +1,28 @@
-//chapter10,Example10_4,pg 272
-
-vx=1.7*10^7
-
-Ey=3.4*10^4
-
-x=3*10^-2
-
-t=x/vx
-
-//y=0.5*ay*(t^2)
-
-ay=(e*Ey)/m
-
-y=0.5*ay*(t^2)
-
-Bz=Ey/vx
-
-printf("verical displacement of electron \n")
-
-printf("y=%.2f m",y)
-
-printf("\nmagnitude of magnetic field\n")
-
-printf("B=%.4f wb/m2",B)
-
+//chapter10,Example10_4,pg 272
+e = 1.6*10^-19;
+m=9.1*10^-31;
+vx=1.7*10^7
+
+Ey=3.4*10^4
+
+x=3*10^-2
+
+t=x/vx
+
+//y=0.5*ay*(t^2)
+
+ay=(e*Ey)/m
+
+y=0.5*ay*(t^2)
+
+Bz=Ey/vx
+
+printf("verical displacement of electron \n")
+
+printf("y=%.2f m",y)
+
+printf("\nmagnitude of magnetic field\n")
+
+printf("B=%.4f wb/m2",Bz)
+
printf("\ndirection of field is upward as Ey is downward") \ No newline at end of file