summaryrefslogtreecommitdiff
path: root/3871/CH1/EX1.1
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH1/EX1.1')
-rw-r--r--3871/CH1/EX1.1/Ex1_1.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3871/CH1/EX1.1/Ex1_1.sce b/3871/CH1/EX1.1/Ex1_1.sce
new file mode 100644
index 000000000..6810547df
--- /dev/null
+++ b/3871/CH1/EX1.1/Ex1_1.sce
@@ -0,0 +1,19 @@
+//===========================================================================
+//chapter 1 example 1
+
+clc;
+clear all;
+
+//variable declaration
+d =2.4; //magnitude of output response in mm
+R = 6; //magnitude of input in Ω
+
+//calculations
+S = d/(R); //static sensitivity in mm/Ω
+D = R/(d); //deflection factor in Ω/mm
+
+//result
+mprintf("static sensitivity = %3.2f mm/Ω",S);
+mprintf("\n deflection factor = %3.2f Ω/mm",D);
+
+//==========================================================================