You are on page 1of 3

Start

Read value for R_resistance (Resistance) ,


I_max (maximum current) , f (frequency)

Write Time(ms) , Current(A) , Voltage(V)


according to alignment

Calculate period as T_time from f (frequency)

A
A

Let i = 0
Let V_max = 0

Convert T_time (time) into milliseconds


Calculate exact time for every cycle
Calculate value of current for every cycle Z

Calculate value of voltage for every cycle

Write exact time to 2 decimal


places, exact current and exact
voltage to 4 decimal places
according to alignment required.

Yes No
Voltage > V_max ?

Let V_max = Voltage Value of V_max remains

B
B

Add 1 into value of i

No Yes
i <= 10 ?

Write the value of Maximum voltage


Z
obtained

End

You might also like