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)