Problem 60803. Battery Charge Efficiency Calculation

In a Battery Management System (BMS), the efficiency of battery charging can be estimated using the formula:
where:
  • is the energy stored in the battery during charging (in watt-hours, Wh)
  • ​ is the total energy supplied to the battery (in watt-hours, Wh)
  • Efficiency is expressed as a percentage (%)
Write a function to calculate the charging efficiency of a battery given the stored energy and input energy.

Solution Stats

93.15% Correct | 6.85% Incorrect
Last Solution submitted on Sep 29, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers64

Suggested Problems

More from this Author20

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!