summaryrefslogtreecommitdiff
path: root/3745/CH1/EX1.19/Ex1_19.sce
blob: 7cfdd39eadd8260ed253395ee9de062f4fe3c08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Ex 19 Page 361

clc;clear;close;
// Given
d=1/100;//m
S=-1/100;//m
Ve=2;//kV
theta=30;//degree
e=1.6*10**-19;//C
m=9.67*10**-31;//kg

u=sqrt(2*e*Ve*1000/m);//m/s
uy=u*sind(theta);//m/s
vy=0;//since final velocity =0
//vy**2-uy**2=2*ay*S
ay=(vy**2-uy**2)/2/S;//m**2/s
//ay=e/m*V/d
V=ay*m*d/e;//V
printf("Required potential difference = %.f V",V)