From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 49/CH4/EX4.3/ex3.sce | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) (limited to '49/CH4') 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 -- cgit