blob: a26c17320f1efe285ac06733e1b89b69915d3913 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//given
r=0.002 //m
m=0.05
g=9.8
//Calculation
u=4*%pi*10**-7
f=u/(2*%pi*r)
f1=m*g
I=sqrt(f1*f**-1)
//Result
printf("\n Current in each wire is %0.3f A", I)
|