From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1859/CH6/EX6.2/exa_6_2.sce | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 1859/CH6/EX6.2/exa_6_2.sce (limited to '1859/CH6/EX6.2') diff --git a/1859/CH6/EX6.2/exa_6_2.sce b/1859/CH6/EX6.2/exa_6_2.sce new file mode 100755 index 000000000..5354224f5 --- /dev/null +++ b/1859/CH6/EX6.2/exa_6_2.sce @@ -0,0 +1,31 @@ +// Exa 6.2 +clc; +clear; +close; +// Given data +V=38.4;// in volt +I=0.4;// in amp +ammeterRange= 1;// in amp +voltmeterRange= 50;// in volt +inst_acc= 1/2;// instrument accurcy in % +R= 100;// resistance in ohm + +R_A= 2.5;// in ohm +R_V= 6000;// in ohm +Rx= sqrt(R_A*R_V);// in ohm +disp(Rx,"Value of unknown resistance in ohm") +disp("Since the unknown resistance is of value smaller than "+string(Rx)+" ohm, the voltmeter should be connected directly across the unknown resistance as it will give more accurate result") +Rm= V/I;// in ohm +Rx= V/(I*(1-V/(I*R_V)));// in ohm +ErrorAmmeter= inst_acc*ammeterRange/R;// Error in ammeter reading in amp +ErrorVoltmeter= inst_acc*voltmeterRange/R;// Error in voltmeter reading in volt +// Percentage error at 0.4 A reading +E1= ErrorAmmeter/0.4*100;//in % +// Percentage error at 38.4 V reading +E2= ErrorVoltmeter/38.4*100;//in % +//Error due to ammeter and voltmeter +E= sqrt(E1^2+E2^2); +//Absolute error due to ammeter and voltmeter +Error_ammeter_voltmeter= E/R*Rx;// in pos and neg +disp(Error_ammeter_voltmeter,"Absolute error due to ammeter and voltmeter in ohm") +disp("So the resistance is specified as "+string(Rx-Error_ammeter_voltmeter)+" to "+string(Rx+Error_ammeter_voltmeter)); -- cgit