blob: 9e8aa825ab29a72b1cc8b15fd81f7ad1fb3b4112 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
//Given
n=1.0*10**29 //m**-3
e=1.6*10**-19 //C
A=2*10**-6 //m**2
I=5 //A
B=0.15 //T
a=90 //degree
//Calculation
//
Vd=I/(n*e*A)
Fm=e*Vd*B*sin(a)
//Result
printf("\n Force acting on each electron is %0.2f *10**-24 N",Fm*10**24)
|