summaryrefslogtreecommitdiff
path: root/165/CH10/EX10.2/ex10_2.sce
blob: c86fa08357cc2ad56e52e5c2d1cb778a89c09e7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example 10.2
clc;
//Given Data
C1=500*10^-12;
C2=110*10^-12;
f1=1*10^6;
//Distributed Capacitance Cs
Cs=(C1-4*C2)/3;
disp(Cs,'Value of Distributed Capacitance is')
//We know the resonant frequency is 
//given by f1=1/(2*pi*(L(C1+CS))^.5), hence
L=1/(((2*%pi*f1)^2)*(C1+Cs));
printf('\nValue of inductance L is %.12f H',L)