summaryrefslogtreecommitdiff
path: root/929/CH3/EX3.21.a/Example3_21_a.sce
blob: 4ec6c5ea18e26a8c5082d75512d8a23674f30521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//Example 3.21(a)

clear;

clc;

//From the result of Example 3.8 :

RA=10*10^3;

RB=18*10^3;

f0=1*10^3;

Q=5;

C=10*10^(-9);

C1=C;

C2=C;

R=15915.494;

K=2.8;

SR=(Q-(1/2));

SC=((2*Q)-(1/2));

SK=(3*Q)-1;

SRA=1-(2*Q);

printf("Sensitivities for Example 3.8 :");

printf("\nSR=%.2f percent",SR);

printf("\nSC=%.2f percent",SC);

printf("\nSRA=%.2f percent",SRA);

printf("\nSK=%.2f percent",SK);