summaryrefslogtreecommitdiff
path: root/1316/CH2/EX2.3/example2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1316/CH2/EX2.3/example2_3.sce')
-rw-r--r--1316/CH2/EX2.3/example2_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1316/CH2/EX2.3/example2_3.sce b/1316/CH2/EX2.3/example2_3.sce
new file mode 100644
index 000000000..edf7d6df7
--- /dev/null
+++ b/1316/CH2/EX2.3/example2_3.sce
@@ -0,0 +1,17 @@
+//Chapter 2
+//Example 2.3
+//Page 60
+
+clear;
+clc;
+
+R1 = 1000;
+R2 = 842;
+R3 = 500;
+
+printf("Because bridge is nulled we find R4 using equation:\n R1R4=R3R2 \n")
+//Calculation of R4
+R4=R3*R2/R1;
+printf("%.0f ohm",R4)
+
+