summaryrefslogtreecommitdiff
path: root/2444/CH7/EX7.14/ex7_14.sce
blob: c2497e16dfb6d52b99d639223d528ce818d8a681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Exa 7.14
clc;
clear;
close;
format('v',4)
// Given data
f = 15;// in kHz
f = f * 10^3;// in Hz
R = 200;// in k ohm
R = R * 10^3;// in ohm
C = 1/(2*%pi*f*R);// in F
C= C*10^12;// in pF
disp(C,"The value of C in pF is");
R4 = R;// in ohm
R4= R4*10^-3;// in k ohm
disp(R4,"The value of R4 in k ohm is");
R3 = R4*2;// in k ohm
disp(R3,"The value of R3 in k ohm is");