> h:= diff(g(x), x, x);
defines h(x) to be the second derivative of g(x). Also note that the solve command can be used with inequalities.
An accuracy of four decimal places means that your result, rounded to four decimal places, does not change when you increase the number of subintervals further.