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 --- 182/CH3/EX3.3/example3_3.sce | 20 ++++++++++++++++++++ 182/CH3/EX3.3/example3_3.txt | 4 ++++ 2 files changed, 24 insertions(+) create mode 100755 182/CH3/EX3.3/example3_3.sce create mode 100755 182/CH3/EX3.3/example3_3.txt (limited to '182/CH3/EX3.3') diff --git a/182/CH3/EX3.3/example3_3.sce b/182/CH3/EX3.3/example3_3.sce new file mode 100755 index 000000000..3a84519b6 --- /dev/null +++ b/182/CH3/EX3.3/example3_3.sce @@ -0,0 +1,20 @@ + +//example 3-3 in page 41 +clc; +//Given Data +A=['a' 'b' 'c']; +m=0; +Rm=99;//coil resistance in ohm +IM=0.1e-3;//FSD(IM)=0.1 mA +Rs=1;//shunt resistance in ohm +//calculation +n=2;//initialisation +while n>0.25, + n=n/2; + Im=IM*n; + Vm=Im*Rm;// Meter voltage in volts + Is=Vm/Rs;//current throught the shunt resistance in ampere + I=Im+Is;//toatal current through the ammeter I=Im+Is in ampere + m=m+1; + printf("(%c) current through the ammeter at %.2f FSD=%.1f mA\n",A(m),n,I*1000); +end diff --git a/182/CH3/EX3.3/example3_3.txt b/182/CH3/EX3.3/example3_3.txt new file mode 100755 index 000000000..6bc6cba20 --- /dev/null +++ b/182/CH3/EX3.3/example3_3.txt @@ -0,0 +1,4 @@ + +3.current through the ammeter at 1 FSD=0.01 A +current through the ammeter at 0.5 FSD=0.005 A +current through the ammeter at 0.25 FSD=0.0025 A \ No newline at end of file -- cgit