blob: f0cd4f4be9c7d2dd1eafc9a344a5be468d6247f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//Given
m=9*10**-31// mass of e kg
V=10**6// velocity of e m/s
q=1.6*10**-19// charge of e C
a=9*10**9// constant
//Calculation
K=m*V**2// kinetic energy
r=a*q**2/K // Distance of the closest approach
//Result
printf("\n Distance of the closest approach is %e m", r)
|