I am developing a mathematical model for the power usage (watts) of a computer device against its percentage of CPU load.
So far I have:
P(x) when x <= 25% = 8.5 + x*0.46
P(x) when 25% > x <= 50% = 20 + x*0.08
P(x) when 50% > x < 75% = 24 + x*0.01
P(x) when x >= 75% = 25 + x*0.03
Where P is power usage and X is processor load
However I am not sure if there is perhaps a better way to write this out? I am pretty new to this so am really not sure and looking for some help!