blob: b5597940954f7627f6e79e2c4a367cf91d2f0372 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
//Given
N=100
A=10**-2 //m**2
B=0.5 //T
f=500/60.0
//Calculation
//
w=2*%pi*f
E0=N*A*B*w
E=E0*sin(60*3.14/180.0)
//Result
printf("\n Maximum emf produced in the coil is %0.2f V",E0)
printf("\n Instantaneous value of e.m.f. is %0.1f V",E)
|