summaryrefslogtreecommitdiff
path: root/2243/CH13/EX13.5/Ex13_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2243/CH13/EX13.5/Ex13_5.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 '2243/CH13/EX13.5/Ex13_5.sce')
-rwxr-xr-x2243/CH13/EX13.5/Ex13_5.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2243/CH13/EX13.5/Ex13_5.sce b/2243/CH13/EX13.5/Ex13_5.sce
new file mode 100755
index 000000000..885ec5c34
--- /dev/null
+++ b/2243/CH13/EX13.5/Ex13_5.sce
@@ -0,0 +1,18 @@
+clc();
+clear;
+//Given :
+u = 5*10^5; //horizontal velocity in m/s
+alpha = 35; // in degrees
+E = 200 ;// Electric field in V/m
+e = 1.6*10^-19; // electron charge in C
+m = 9.12*10^-31; // electron mass in kg
+a = (-e*E)/m; // horizontal range in m/s^2
+//(a);
+z_max = (-(u^2)*(sind(alpha))^2)/(2*a); // maximum penetration in m
+//(b)
+T = (-2*u*sind(alpha))/a; // Time of flight in s
+//(c)
+H = (-(u^2)*(sind(2*alpha)))/a; // horizontal range in m
+printf("z_max = %.1f mm \n",z_max*10^3);
+printf("T = %.2f x 10^-8 s \n",T*10^8);
+printf("H = %.1f mm",H*10^3);