Lets say the interval is [-4,4]

I am confused to choose the correct formula in given situations.

Can you help please.

AND

I think the aobve is used for n+1 nodes but I am not sure how to get the nodes. Is the original interval [-4,4] has zero nodes?

Thanks