i need help to make a program in C++ using Microsoft visual studio.net 2003.
here is the question text
"The program is used to calculate the total impedance of an electrical circuit, which consists of a resistor, an inductor and a capacitor for a given frequency. Also the program should solve for voltages and current through the circuit with AC source.
First the program should ask the user to input the necessary data.
Then the program calculates both the reactive and inductive reactance and the total impedance of the circuit.
The program should inform the user if the voltage will lead or lag the current.
Also the program should check if the given frequency is the reasonance frequency.
Finally, the program displays the results."
it looks tough, huh!
Can any one write such program code, and post it on this topic, please!!.
by the way, the circuit is in series.
by the way it should be as a win32 project , and console application format, the code should be written in c++ file(.cpp)
i really would aprechiate the help
This post has been edited by kha77: 27 September 2006 - 10:33 PM