summaryrefslogtreecommitdiff
path: root/273/CH4/EX4.4/ex4_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /273/CH4/EX4.4/ex4_4.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '273/CH4/EX4.4/ex4_4.sce')
-rwxr-xr-x273/CH4/EX4.4/ex4_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/273/CH4/EX4.4/ex4_4.sce b/273/CH4/EX4.4/ex4_4.sce
new file mode 100755
index 000000000..e57696b44
--- /dev/null
+++ b/273/CH4/EX4.4/ex4_4.sce
@@ -0,0 +1,12 @@
+clc;clear;
+//Example 4.4
+//motion of an electron in a uniform magnetic field
+//given values
+V=200;//potential difference through which electron is accelerated in volts
+B=0.01;//magnetic field in wb/m^2
+e=1.6*10^-19;//in C
+m=9.1*10^-31;//in kg
+v=sqrt(2*e*V/m);//electron velocity in m/s
+disp(v,'electron velocity is:')
+r=m*v/(e*B);//in m
+disp(r,'radius of path (in m)is:') \ No newline at end of file