I learned that we use free-wheeling
diode to prevent inductive(voltage) spike.The given problem has been explained with proper correction in the question. Please read carefully. If you face any doubt, please comment.



I learned that we use free-wheeling diode to prevent inductive(voltage) spike. Why inductive spike(voltage spike) happens...