You are given a 1KW-220V rated Electrical machine. The machine can operate even if the voltage level fluctuates up to a certain level. Its accepted range is from 180V to 275V. If the voltage applied does not fall under this range, then the device will not be able to operate properly. a. First, determine the machine resistance for P=1KW, V=220V using the formula (R=V2 / P) where, P= Power; V= Voltage; R= Resistance. b. Ask the user to input a voltage. c. Now, keep increasing that voltage by 5 volts in each step until it reaches the highest acceptable range. Determine the power consumption for that voltage level using P= V2 / R . Determine the current flowing through your device using I=P/V. Store the voltage current and power in three different arrays using pointers. Your arrays should be dynamically allocated. d. Print the Voltage , Current and Power in a tabular format using pointers
You are given a 1KW-220V rated Electrical machine. The machine can operate
even if the voltage level fluctuates up to a certain level. Its accepted range is
from 180V to 275V. If the voltage applied does not fall under this range, then the
device will not be able to operate properly.
a. First, determine the machine resistance for P=1KW, V=220V using the
formula (R=V2
/ P) where, P= Power; V= Voltage; R= Resistance.
b. Ask the user to input a voltage.
c. Now, keep increasing that voltage by 5 volts in each step until it reaches
the highest acceptable range. Determine the power consumption for that
voltage level using P= V2
/ R . Determine the current flowing through your
device using I=P/V. Store the voltage current and power in three different
arrays using pointers. Your arrays should be dynamically allocated.
d. Print the Voltage , Current and Power in a tabular format using pointers
Step by step
Solved in 3 steps with 1 images