Battery Discharge Time Estimation - MATLAB Cody - MATLAB Central

Problem 60801. Battery Discharge Time Estimation

Difficulty:Rate
In a Battery Management System (BMS), the estimated discharge time (T) of a battery can be calculated as:
​​
where:
  • ​ is the current charge in ampere-hours (Ah)
  • I is the constant discharge current in amperes (A)
  • T is the estimated time before the battery is fully discharged (in hours)
Write a function to estimate the remaining discharge time of a battery given its remaining charge and discharge current.

Solution Stats

81.25% Correct | 18.75% Incorrect
Last Solution submitted on Mar 14, 2025

Solution Comments

Show comments

Group

Project Euler II Image
Project Euler II
  • 12 Problems
  • 51 Finishers

Problem Recent Solvers13

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page