From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3830/CH7/EX7.8/Ex7_8.sce | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 3830/CH7/EX7.8/Ex7_8.sce (limited to '3830/CH7/EX7.8/Ex7_8.sce') diff --git a/3830/CH7/EX7.8/Ex7_8.sce b/3830/CH7/EX7.8/Ex7_8.sce new file mode 100644 index 000000000..1bdb07e06 --- /dev/null +++ b/3830/CH7/EX7.8/Ex7_8.sce @@ -0,0 +1,30 @@ +// Exa 7.8 + +clc; +clear; + +R = 200; // strain gauge resistance in Ohms +G = 2.5; // Gauge factor +RL = 400; // load resistance in Ohms +V = 24; // input voltage in volts +S = 140; // applied stress in mgf/m^2 +Y = 200; // Modulus of elasticity in GN/m^2 + +// Solution + +V_normal = V*(R/(R+RL)); + +printf('Voltage across strain gauge = %d V \n',V_normal); +e = (S*10^-3)/Y; +// Strain e = dell_L/L +//dell_R/R = G* dell_L/L; +// so, +dell_R = R*G*e; + + +//strain gauge under strained condition +V_strained = (R+dell_R) * V/(R+dell_R+RL); +printf(' Voltage across strain gauge under strained condition = %.4f ohms \n',V_strained); + +dif = V_normal - V_strained; +printf(' Change in output voltage = %.2f mV \n',abs(dif*10^3)); -- cgit