diff options
Diffstat (limited to '1430/CH1/EX1.6/exa1_6.sce')
-rw-r--r-- | 1430/CH1/EX1.6/exa1_6.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1430/CH1/EX1.6/exa1_6.sce b/1430/CH1/EX1.6/exa1_6.sce new file mode 100644 index 000000000..49bb7e8e2 --- /dev/null +++ b/1430/CH1/EX1.6/exa1_6.sce @@ -0,0 +1,11 @@ +// Example 1.6
+// A Strain Gauge
+function[delta_R]=Change_in_Resistance(R,delta_l,l) // R= Unstrained Resistance,delta_l= Change in length,l= Original Length
+ delta_R=2*R*(delta_l/l)
+endfunction
+// Exercise 1.10 to demonstrate example 1.6
+L=100;
+delta_L=0.1;
+Radius=0.002;
+delta_R=Change_in_Resistance(Radius,delta_L,L);
+disp(delta_R,"Change in Resistance(in Ohms)=")
|