summaryrefslogtreecommitdiff
path: root/1316/CH2/EX2.4/example2_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1316/CH2/EX2.4/example2_4.sce')
-rw-r--r--1316/CH2/EX2.4/example2_4.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1316/CH2/EX2.4/example2_4.sce b/1316/CH2/EX2.4/example2_4.sce
new file mode 100644
index 000000000..f1b08d7a8
--- /dev/null
+++ b/1316/CH2/EX2.4/example2_4.sce
@@ -0,0 +1,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)
+
+