Hi guys im a new to computer programming. I am trying to do a question. Resistance is 10k ohms, Voltage is 10V and capacitance is 270nF a. Determine the charging voltage of the capacitor from the time the switch is moved to position 2 (t=0) to the time (t=15T), where T is the time constant of the circuit (T=RC).
b. Select at a time step for your calculations, so that at least 25 iterations are used for the looping statement implemented in your computer program.
c. Use looping such as for and while statement.
d. Use conditions (if statement) wherever is required
e. Using simple input and output statements, program’s input data may be entered from the screen and print out the output data into the screen.
f. Use formatted output data.
Any help would be appreciated! thanks.