summaryrefslogtreecommitdiff
path: root/165/CH10/EX10.1/ex10_1.sce
blob: b987bd619b5ab341944120bf2900e42cdd7d45c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example 10.1
clc;
//Given Data
C1=600*10^-12;
C2=100*10^-12;
f1=2*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)