summaryrefslogtreecommitdiff
path: root/3554/CH13/EX13.5/Ex13_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3554/CH13/EX13.5/Ex13_5.sce')
-rw-r--r--3554/CH13/EX13.5/Ex13_5.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3554/CH13/EX13.5/Ex13_5.sce b/3554/CH13/EX13.5/Ex13_5.sce
new file mode 100644
index 000000000..9f2b4bfa7
--- /dev/null
+++ b/3554/CH13/EX13.5/Ex13_5.sce
@@ -0,0 +1,25 @@
+// Exa 13.5
+
+clc;
+clear all;
+
+// Given data
+
+Input=6.3; // V
+Output=5.2; // V
+Range= 9.5; // inches
+
+// Solution
+
+// 0.5 inches core displacement produces 5.2 V
+// Therefore, a 0.45 inch movement produces voltage as
+V1=0.45*5.2/0.5;
+// Similarly - 0.30 inches core movement produces voltage as
+V2=-0.30*-5.2/(-0.5); // V
+// Also -0.25 inch core movement produces voltage as
+V3=-0.25*-5.2/(-0.5); // V
+
+printf('The core movement of 0.45 inch produces voltage of %.2f V and\n movement of -0.30 inch produces voltage of %.2f V \n' ,V1,V2);
+printf(' The core movement of -0.25 inch from the centre produces voltage of %.1f V \n',V3);
+
+