blob: 4baca1a5eeae11bfdb23172832a70f482475a6f3 (
plain)
1
2
3
4
5
6
7
8
9
|
//EXAMPLE 5-68 PG NO-348
V1=3;
V2=0.75;
R1=1;
R2=0.75;
V=V1+V2;
R=R1+R2;
disp('ii) Voltage (V) is = '+string (V) +' V ');
disp('ii)Resistance (R) is = '+string (R) +' ohms ');
|