blob: 783c73426f11333172be675cf9fc89ce54ac0fdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//Given
Z=2
e=1.6*10**-19
e1=8.854*10**-12
n=3
h=6.62*10**-34
c=3*10**8
//Calculation
v=(Z*e**2)/(2*e1*n*h)
a=v/c
//Result
printf("\n Speed of the electron is %0.3f ",a)
|