Problem 60805. Battery Charge Rate Calculation
In a Battery Management System (BMS), the charge rate (
) of a battery can be calculated using the formula:
where:
is the charge added to the battery (in ampere-hours, Ah)
- t is the time taken to charge the battery (in hours)
is the charge rate (in amperes, A)
Write a function to calculate the charge rate of a battery given the amount of charge added and the time taken.
Solution Stats
Problem Comments
-
3 Comments
Dyuman Joshi
on 5 Oct 2025
As already commented, Test suite doesn't correspond to problem description.
Alaa
on 17 Nov 2025 at 11:08
Problem description is different from the test suite solutions
Daniel
6 hours and 11 minutes ago
This is for people in the future. The problem description and result are broken. The solution that would label it correctly requires the *100 to not be present, despite the description requiring it.
Solution Comments
Show commentsProblem Recent Solvers91
Suggested Problems
-
Battery Charge Rate Calculation
91 Solvers
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!