blob: 99e94589e5391a4ad7a1a13e31032c43fe7c2345 (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
// Given that
V = 10e3 // voltage in V
i = 2e-3 // current in amp
// Sample Problem 5 on page no. 20.8
printf("\n # PROBLEM 5 # \n")
printf("Standard formula used \n ")
printf("1/2*m*v^2 = eV \n")
v = 0.593e6*sqrt(V)
printf("\n Velocity of electron is %e m/sec.",v)
|