summaryrefslogtreecommitdiff
path: root/2609/CH5/EX5.8/ex_5_8.sce
blob: d9fbdc2268d20f8b5bed069b96b3416eb50a7ba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//Ex 5.8
clc;
clear;
close;
format('v',8);
Ri=10;//kohm
Rf=15;//kohm
Vs=9;//V
//Part (a)
Ra=120;Rb=120;Rc=120;Rd=120;//ohm
Vx=0;Vy=0//V(as Bridge is balanced)
Vout=(Vy-Vx)*Rf/Ri;//V
disp(Vout,"(a) Output Voltage(V)");
//Part (b)
Ra=120;Rb=120;Rc=120;Rd=150;//ohm
Vx=Rb*Vs/(Ra+Rb);//V
Vy=Rc*Vs/(Rc+Rd)//V
Vyx=Vy-Vx;//V
Vout=(Vy-Vx)*Rf/Ri;//V
disp(Vout,"(b) Output Voltage(V)");