import math
#initialisation of variables
d=0.001 #distance between parallel plate in m
V=1000.0 #applied voltage
q=1.6*(10**-19) #charge on an electron
m = 9.1*(10**-31) #mass of electron in kg
#Time taken by electron to reach other side of parallel plate capacitor
E=V/d #Electric Field in V/m
#Formulae : s = u*t + (a*t^2)/2
#Calculations
a = (q*E)/m #acceleration on electron in m/s^2
t = (2*d/a)**0.5 #time taken to reach the other side of plate
print("Time taken to reach other side = %.2f sec " %t)
#Magnitude of force exerted on electron
print('Since the potential is constant the force will be constant between the paltes of capacitor')
F=q*E #force
print("Force on electron = %.2f N " %F)
#Velocity of electron at the other plate
#Formulae: v = u + a*t
v = a*t #velocity at the end of other plate
#Results
print("V = %.2f m/sec " %V)