Response to the following problem:
Write a program to generate the sinusoidal expression for the current of a resistor, inductor, or capacitor given the value of R, L, or C and the applied voltage in sinusoidal form.
Make sure you use enough details to support your answer.