diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /1026/CH10/EX10.4 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '1026/CH10/EX10.4')
-rwxr-xr-x | 1026/CH10/EX10.4/Example10_4.sce | 53 |
1 files changed, 27 insertions, 26 deletions
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 |