Messy math with map() and pow() - Wokwi ESP32, STM32, Arduino Simulator