blob: bea2e202f132ee3518052feac5d548c8ffd4bdfd (
plain)
1
2
3
4
5
6
7
8
|
//Example 1_11 page no:14
clc
V=100;//supply voltage
R1=1;//resistance in kilo_ohm
R2=5;//resistance in kilo_ohm
R3=4;//resistance in kilo_ohm
v=V*(R2+R3)/(R1+R2+R3);
disp(v,"Voltage across A and B (in volts)")
|