summaryrefslogtreecommitdiff
path: root/2885/CH3/EX3.14/ex3_14.sce
blob: 29c946624878a64d6f393812416d8c1152b46bdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Find the capacitance of a varactor diode
clear;
clc;
//soltion
//given
C=5;//pf//capcitance of varactor diode at V=4V
V=4;//V
K=C*sqrt(4);

//When bias voltage is increased upto 6 V
Vn=6;//V//new bias voltage
Cn=K/(sqrt(Vn));
printf("Capacitance (At 6 V ) = %.3f pf",Cn);