Updated formula description, removed math.h import, and removed float specifiers to avoid precision loss.