summaryrefslogtreecommitdiff
path: root/1223/CH14/EX14.11/Ex14_11.sce
blob: 54353ea7036769837ea9ec582001b4bc3862ca53 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear;
clc;
//Example 14.11
Rs=100;
R4=100000;
R3=100000;
V1=15;
V2=-15;
Vy=Rs*V1/(Rs+R4);
Vy=Vy*1000;//mV
printf('\nVoltage Vy =%.2fmV\n',Vy)