Hello, margaritas,Originally Posted bymargaritas

I've attached a diagram to show you what you have to calculate.

1. Your function has a zero at x = 1. So you have to split the integral into:

and

Add these partial values and you'll get 4.

Greetings

EB