summaryrefslogtreecommitdiff
path: root/3554/CH13/EX13.2/Ex13_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3554/CH13/EX13.2/Ex13_2.sce')
-rw-r--r--3554/CH13/EX13.2/Ex13_2.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3554/CH13/EX13.2/Ex13_2.sce b/3554/CH13/EX13.2/Ex13_2.sce
new file mode 100644
index 000000000..64174d9e4
--- /dev/null
+++ b/3554/CH13/EX13.2/Ex13_2.sce
@@ -0,0 +1,22 @@
+// Exa 13.2
+
+clc;
+clear;
+
+// Given data
+Ra=5; // (R1+R2) in k Ohms
+Rb=5;// (R3+R4) in k Ohms
+Vt=5; // Applied voltage (V)
+Shaft=5; // Shaft distance in inches
+
+// Solution
+
+disp(" As given, wiper moves 0.5 inch towards A from the centre, it will have moved 3 inches from B");
+Wiper=3; // Wiper movement from B in inches
+Wiper1=2.5;//Wiper movement from A in inches
+R2=Wiper/Shaft * R; // in k Ohms
+R4=Wiper1/Shaft * R; // in k Ohms
+//Ve=VR2-VR4
+Vc=(R2/(Ra)) *Vt - (R4/(Rb)) * Vt;
+
+printf(' The new value of Vc= %.1f V \n',Vc); \ No newline at end of file