Electric Power Consumed on an AC Circuit
Enter the voltage effective value, frequency and resistance value to find the power value of the circuit with resistance R. Draw a graph of the changes in power over a period of time.
Calculation |
|
|
|
|
P : power consumption | I : effective value of current |
|
| |
V : effective value of voltage |
|
|
| |
I0 = N • sin ω • t V0 = M • sin ω | • t P0 = l0 • V0 | R | I | |
P0 : change in amount of power with time |
|
|
| |
I0 : change in amount of current with time |
|
|
| |
V0: change in amount of voltage with time |
|
|
| |
N: maximum value of current | M: maximum value of voltage | V |
| |
ω : angular velocity (2 π S) | t : time | S : frequency |
|
|
FLOWCHART
PROGRAMME LIST(REAL MODE)
Title : AC POWER
Start
Data entry
Calculation of power
Calculation of range
Display of power
Display of graph
Enter data (resistance, voltage and frequency).
Power calculated. W = angular velocity M = maximum voltage N = maximum current
I = effective value of current Z = power
Range for graph calculated.
Xmax, Xscl, Ymax, Yscl
Power displayed. (value of Z)
Function: Y = N M (sin (W X))2
Rad
Print "Input RESISTANCE
Input R
Print "Input VOLTAGE
Input V
Print "Input FREQUENCY
Input F
R |
| T |
|
|
V | D |
|
| |
F | π | S |
|
|
2 | S | W | ||
D | √ | 2 | M | |
M/T | N |
| ||
N/√ | 2 | I |
| |
D I |
| Z |
| |
1/S |
| Xmax | ||
Xmax/10 | Xscl | |||
N M | Ymax | |||
Ymax/10 | Yscl | |||
Print "WATT= | ||||
Print Z |
| |||
Wait |
|
| ||
0 | Xmin |
|
End
0 Ymin |
Draw N M (sin (W X))2 |
End |
PARAMETERS
Name of parameter | Content | Name of parameter | Content |
S | frequency | Xscl | scale of |
I | effective value of current | Ymax | maximum value of |
T | resistance value | Yscl | scale of |
D | effective value of voltage | V | input of voltage |
W | angular velocity | R | input of resistance value |
N | maximum value of current | F | input of frequency |
M | maximum value of voltage | Z | value of power |
Xmax | maximum value of |
|
|
10