diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1026/CH10/EX10.4 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1026/CH10/EX10.4')
-rwxr-xr-x | 1026/CH10/EX10.4/Example10_4.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/1026/CH10/EX10.4/Example10_4.sce b/1026/CH10/EX10.4/Example10_4.sce new file mode 100755 index 000000000..3faf84579 --- /dev/null +++ b/1026/CH10/EX10.4/Example10_4.sce @@ -0,0 +1,27 @@ +//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)
+
+printf("\ndirection of field is upward as Ey is downward")
\ No newline at end of file |