f(x) = = between x=4 and x = 7 using the "midpoint rule" with two rectangles of equal width.

EXPLANATION
Since we have the function f(x)= 1/x
[tex]\int _a^bf\left(x\right)dx\:\approx \Delta \:x\left(f\left(\frac{x_0+x_1}{2}\right)+f\left(\frac{x_1+x_2}{2}\right)+f\left(\frac{x_2+x_3}{2}\right)+...+f\left(\frac{x_{n-1}+x_n}{2}\right)\right)[/tex][tex]\mathrm{where}\:\Delta \:x\:=\:\frac{b-a}{n}[/tex]Given a=4, b=7, n=2
[tex]Δx=\frac{7-4}{2}=\frac{3}{2}[/tex]Divide the interval, 4<=x<=7 into 2 subintervals:
[tex]x_0=4,\:x_1=\frac{11}{2},\:x_2=7[/tex][tex]=\frac{3}{2}\left(f\left(\frac{x_0+x_1}{2}\right)+f\left(\frac{x_1+x_2}{2}\right)\right)[/tex]Calculate the subintervals:
[tex]f\left(\frac{x_0+x_1}{2}\right)=f\left(\frac{4+\frac{11}{2}}{2}\right)[/tex][tex]=f\left(\frac{19}{4}\right)[/tex][tex]=\frac{1}{\frac{19}{4}}[/tex][tex]=\frac{4}{19}[/tex][tex]f\left(\frac{x_1+x_2}{2}\right)=f\left(\frac{\frac{11}{2}+7}{2}\right)[/tex][tex]=\frac{4}{25}[/tex][tex]=\frac{3}{2}\left(\frac{4}{19}+\frac{4}{25}\right)[/tex]Applying the distributive property and adding fractions:
[tex]=\frac{264}{475}[/tex]In conclusion, the solution is 264/475