summaryrefslogtreecommitdiff
path: root/3871/CH10/EX10.14/Ex10_14.sce
blob: abd99aca810182c1853abcef695ea9d65c1c8ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//===========================================================================
//chapter 10 example 14

clc;
clear all;

//variable declaration
P	= 500;		//resistance in arm AB in  Ω
Q	= 500;		//resistance in arm BC in Ω
S	= 500;		//resistance in  arm CD in Ω
R	= 500;		//resistance in arm BD in Ω
Rg	= 100;		//galvanometer in Ω
E	= 10;		//battery voltage in V
Rth	= 500;		//thevenin's equivalent resistanceof bridge  Ω
Ig	= 10^-9;		//galavanometer capable of detecting Ig current in A

//calculations
//Eth	= (E*dR)/(4*R);
x	= E/(4*R);		//thevenin or open -circuit voltage in dR
//Ig	= Eth/(Rth+Rg)
y	= x/(Rth+Rg);	//current through galvanometer 
dR	= (Ig*(Rth+Rg))/x;		//the smallest change in resistance that can be detected in Ω

//result
mprintf("the smallest change in resistance that can be detected = %3.2f m Ω",(dR*10^3));