blob: 14d2c5efdf8df22e6b5cdf94ff6e47ad46529948 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
//Given
m=1.2*10**-3
B=0.6 //T
g=9.8 //m/s**2
r=0.05
b=3.8
//Calculation
I=(m*g)/B
R=r*b
V=I*R
//Result
printf("\n Potentila difference is %0.1f *10**-3 V",V*10**3)
|