summaryrefslogtreecommitdiff
path: root/1316/CH2/EX2.4/example2_4.sce
blob: f1b08d7a856cf9337027abc7f6b6c8a4bb219917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Chapter 2
//Example 2.4
//Page 60

clear;
clc;

R1 = 120;
R2 = 120;
R3 = 120;
R4 = 121;
V=10;
printf("Assuming detector impedance to be very high , we find the offset as \n")
//Calculation of Delta Vd
Del_Vd = V*(((R3*R2)-(R1*R4))/((R1+R3)*(R2+R4)))
printf("Delta Vd = %f V",Del_Vd)