Study on fluid pressure on solid walls, including differential equations, surface pressure, and hydrostatic machines