Question: Hadamard and Poussin

I have to approx how many prime number there are between 2 to 50 000 by using  int(1/ln(t),t=2..50000);

I need to use (to approximate):

a) rectangle method

b) trapezoid method

c) simpsons method

However, I can not use the fonction like simpson(1/ln(t),t=2..50000); to solve them, I need to go with the definition and I have no idea how.

Can any1 help me?

Please Wait...