diff options
Diffstat (limited to '1511/CH1/EX1.2/ex1_2.sce')
-rwxr-xr-x | 1511/CH1/EX1.2/ex1_2.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1511/CH1/EX1.2/ex1_2.sce b/1511/CH1/EX1.2/ex1_2.sce new file mode 100755 index 000000000..f029c24f8 --- /dev/null +++ b/1511/CH1/EX1.2/ex1_2.sce @@ -0,0 +1,12 @@ +// Example 1.2 page no-9
+clear
+clc
+
+e=1.6*10^-19//C
+m=9.1*10^-31//kg
+Vmax=1.5 //v
+w=2*%pi*60*10^6//rad/sec
+d=8*10^-3 //m
+Max_Vel=2*e*Vmax/(m*d*w)
+Max_Vel=ceil(Max_Vel*10^-3)
+printf("The Maximum value of Velocity is, \n dx/dt=%.2f*10^5 m/sec",Max_Vel/100)
|