Explanation:
Given
Function is
where,

Comparing the given function with the standard slope-intercept form of the equation

Here, before plugging into the laptop, the percentage of battery is

The slope of the given function is
i.e. in one hour it charges 18% of battery.