blob: 6d6faf91f8e3f256b353d5034ec6feadda8d2c81 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Finding no of electrons
//Example 15.37(pg. 417)
clc
clear
I=2.5*(10^-3)//current in Amp
t=30*(10^-3)//time in sec
Q=I*t//charge passing through the person in Coulumbs
e=1.602*(10^-19)//charge of 1 electron in C
N=Q/e//no of electrons passing through the person
printf('Thus the no of electrons passing through the person is %e electrons',N)
|