in the trapezoidal rule
is it ok to use a number of segments that is not integer ?
i ask this because in an exam i had , i was asked to use a step of h=0.4
and the interval was from x=1 to x=2
and you know that ," h " is the step ," n " is the number of segments , "a" and "b" are the limits...