blob: ba31bedc8fbbe18b53e6718c79ab94dd4dac90fb (
plain)
1
2
3
4
5
6
7
|
// Example 1.2: terminal voltage
clc, clear
v=4.7; // in volts
r=15; // in ohm
i=20*10^-3; // in ampere
Vz=(v+(i*r)); // terminal voltage in volts
disp(Vz,"terminal voltage in volts(v)");
|