summaryrefslogtreecommitdiff
path: root/49
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /49
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '49')
-rwxr-xr-x49/CH4/EX4.3/ex3.sce47
1 files changed, 24 insertions, 23 deletions
diff --git a/49/CH4/EX4.3/ex3.sce b/49/CH4/EX4.3/ex3.sce
index 1bcb6dabe..df820efdf 100755
--- a/49/CH4/EX4.3/ex3.sce
+++ b/49/CH4/EX4.3/ex3.sce
@@ -1,23 +1,24 @@
-//CHAPTER 4_ Motion and Dimensional Measurement
-//Caption : Strain gage
-// Example 3// Page 176
-disp("Rg=120")
-disp("Sg=2;")
-disp("Rs=120000")
-Rg=120; // given
-Sg=2; // gage factor
-Rs=120000 //('enter the value of shunt resistor=:')
-disp("The input bridge excitation is represented by Eex")
-A=10 //('enter the amplifier gain=:')
-// The shunt resistance has to be very large since we intend to measure only very small change in resistanc
-eo=30*10^-3 //('enter the unbalanced bridge voltage=:')
-dR=Rg/(Rg+Rs);
-r=1;//ratio of resistances of adjacent arms
-Eex=eo*(1+r)^2/(r*dR*A);
-printf('The input excitation voltage is %fd V\n',Eex)
-p1=2 *(1+v) // bridge factor
-Eo=.5 //('enter the voltmeter reading when shunt is removed=:')
-E_axial=Eo*(1+r)^2/(r*Sg*p1*Eex*A);
-printf(' Axial strain is %fd\n ',E_axial)
-E_trans=E_axial*v;
-printf('The transverse strain is -%fd',E_trans)
+//CHAPTER 4_ Motion and Dimensional Measurement
+//Caption : Strain gauge
+// Example 3// Page 176
+disp("Rg=120")
+disp("Sg=2;")
+disp("Rs=120000")
+Rg=120; // given
+Sg=2; // gauge factor
+v=0.3;
+Rs=120000 //('enter the value of shunt resistor=:')
+disp("The input bridge excitation is represented by Eex")
+A=10; //('enter the amplifier gain=:')
+// The shunt resistance has to be very large since we intend to measure only very small change in resistance
+eo=30*10^-3 //('enter the unbalanced bridge voltage=:')
+dR=Rg/(Rg+Rs);
+r=1;//ratio of resistances of adjacent arms
+Eex=eo*(1+r)^2/(r*dR*A);
+printf('The input excitation voltage is %fd V\n',Eex)
+p1=2 *(1+v) // bridge factor
+Eo=.5 //('enter the voltmeter reading when shunt is removed=:')
+E_axial=Eo*(1+r)^2/(r*Sg*p1*Eex*A);
+printf(' Axial strain is %fd\n ',E_axial)
+E_trans=E_axial*v;
+printf('The transverse strain is -%fd',E_trans) \ No newline at end of file