Introduction
Stopping a moving vehicle wastes a lot of energy as heat in traditional brakes. Regenerative braking energy recovery solves this by capturing some of that energy and putting it back to use.
Imagine riding a bicycle downhill and using a dynamo light that turns the bike's motion into electricity to power a lamp. Instead of wasting the bike's motion, the energy lights up the lamp. Similarly, regenerative braking captures a vehicle's motion energy to reuse it.
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ Vehicle │─────▶│ Motor as │─────▶│ Energy Storage│
│ Kinetic │ │ Generator │ │ (Battery) │
│ Energy │ │ │ │ │
└───────────────┘ └───────────────┘ └───────────────┘
▲ │
│ ▼
┌───────────────┐ ┌───────────────┐
│ Traditional │ │ Control │
│ Brakes (Heat) │ │ System │
└───────────────┘ └───────────────┘energy_before = 100 energy_lost = 30 energy_recovered = energy_before - energy_lost print(energy_recovered)What will be the output?
energy_before = 120 energy_recovered = 90 percentage = energy_recovered / energy_before * 100 print(percentage)However, the output is incorrect. What is the likely error?
Pass the test and this pattern moves unknown