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/CH7/EX7.4/7_4.txt | 2 ++ 182/CH7/EX7.4/example7_4.sce | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100755 182/CH7/EX7.4/7_4.txt create mode 100755 182/CH7/EX7.4/example7_4.sce (limited to '182/CH7/EX7.4') diff --git a/182/CH7/EX7.4/7_4.txt b/182/CH7/EX7.4/7_4.txt new file mode 100755 index 000000000..90db497b1 --- /dev/null +++ b/182/CH7/EX7.4/7_4.txt @@ -0,0 +1,2 @@ + +4.Measurement range is from 500 ohm to 4000 ohm \ No newline at end of file diff --git a/182/CH7/EX7.4/example7_4.sce b/182/CH7/EX7.4/example7_4.sce new file mode 100755 index 000000000..c9dbb4478 --- /dev/null +++ b/182/CH7/EX7.4/example7_4.sce @@ -0,0 +1,16 @@ +// to calculate the value of Resistance R +// example 7-4 in page 169 +clc; +// data given +P=3.5e+3; Q=7e+3; S=5.51e+3; // resistance values of the wheatstone bridge arms in ohm +//calculation +R=S*P/Q;// equation for balancng condition +printf("R=%f K-ohm\n",R/1000); +S=[1e+3 8e+3];// adjusting s from 1 t0 8 K-ohm +for n=1:2 + R=S(n)*P/Q; + printf("when S=%d K-ohm,\n",S(n)/1000); + printf("R=%d ohm\n",R); +end +//result +//Measurement range is from 500 ohm to 4000 ohm \ No newline at end of file -- cgit