blob: 21e52d80c39e4c90cdbcdf92507899955ef12628 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear
//Given
f=50 //Hz
I=1.4
//Calculation
//
E=2*%pi*f*I*2*cos(2*%pi*f)
Ev=E/sqrt(2)
//Result
printf("\n (i) Potential difference across the coil is %0.0f cos 100*pai*t",E)
printf("\n (ii) r.m.s value of p.d across the coil is %0.1f V",Ev)
|