blob: 5d6f26075e252251090b29467d96c19548912381 (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 8_11
clc();
clear;
//To calculate the capacitance
v=10^6 //units in Hz
L=1 //units in henry
C=1/(4*%pi^2*v^2*L)
C=C*10^12 //units in PF
printf("Capacitance C=%.3f PF",C)
|