summaryrefslogtreecommitdiff
path: root/1511/CH1/EX1.3/ex1_3.sce
blob: 9f153e9c8019d71e2dc2fd1c24d06ed442c03a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Example 1.3 page no-10
clear
clc


///(1)
eps=(2000)/3 //V/cm
e=1.6*10^-19  //C
m=9.1*10^-31  //kg
v= 10^7  // dy/dt=v m/sec
t=v*m/(e*eps*100)
t=floor(t*10^11)
t=t/10
printf("\n(1)\nTime ,t=%.1f*10^-10 sec\n",t)
t=t*10^-10
//(2)
y=(e*eps*100*t^2)/(2*m)
printf("\n(2)\nDistance travelled by electron , y=%f m\n",y)
//(3)
pd=eps*100*y
printf("\n(3)\nPotential Drop=%.1f Volts",pd)