summaryrefslogtreecommitdiff
path: root/3769/CH13/EX13.16/Ex13_16.sce
blob: 6d00a616dde224245a26b9597bbc5f9f8cda50c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
L=1                          //H
Xl=3142.0                     //ohm

//Calculation
//
f=Xl/(2*%pi*L)
C=1/(2.0*%pi*f*Xl)

//Result
printf("\n (i) Value of frequency is %0.0f  ohm",f)
printf("\n (ii) Capacity of a condenser is %0.2f  micro F",C*10**6)