What will be the command to find the current through a 1H inductor (no initial current) whose voltage changes by v=t2?

What will be the command to find the current through a 1H inductor (no initial current) whose voltage changes by v=t2? Correct Answer int(t2)

We can only integrate our voltage equation to get the current as a function of time. The syntax for int(t2) is the correct syntax for the int() command. The rest is wrong since the int() command does not take string arguments.

Related Questions

In the circuit show below, The initial current through the inductor is zero. When the switch (shown in green) is closed, then the current through the inductor
What will be the relation between the current through a pure inductor and the voltage across the inductor?