9.8 * 300 * log((500-x) / (125-x)) + 9.8 * 345 * log((100-x) / (10-x)), x from 0 to 5