blob: 4ac1516631861f6c7a21912e02037b9b340129c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear//
//Variables
VS = 12.0 //Source Voltage (in volts)
VT = 10.0 //Terminal Voltage (in volts)
RL = 10.0 //Load resistance (in ohm)
//Calculation
RS = RL*(VS / VT - 1) //Internal Resistance (in ohm)
//Result
printf("\n The internal resistance of the source is %0.3f ohm.",RS)
|