MATH 156 LAB 10Topic 1: Integration by parts.with(student):Maple has a command that performs integration by parts. It is intparts(f, u), where NiMlInVH is our choice for integration in the formula NiMtJSRpbnRHNiQqJiUidUciIiItJSVkaWZmRzYkJSJ2RyUieEdGKEYt=uv-NiMtJSRpbnRHNiQqJi0lJWRpZmZHNiQlInVHJSJ4RyIiIiUidkdGLEYr. Here NiMlImZH is an integral (not a function) previously defined. Maple does not automatically decide which should be NiMlInVH and which should be NiMlInZH'. You have to decide which function to choose. Example:E1:=Int(exp(2*x)*(2*x+3), x);E2:=intparts(E1, 2*x+3);value(E2);Perform the integration by parts in the integral NiMtJSRpbnRHNiQqJiUieEciIzUtJSNsbkc2I0YnIiIiRic=. Verify your answer by asking Maple to integrate directly.Many times we are forced to integrate by parts repeatedly. We do this one step at a time. Example: Calculate the integralNiMtJSRpbnRHNiQqJi0lJGV4cEc2IyomIiIjIiIiJSJ4R0YsRiwtJSRjb3NHNiMqJiIiJEYsRi1GLEYsRi0=. Lint:=Int(exp(2*x)*cos(3*x), x);Mint:=intparts(Lint, exp(2*x));We define the new integral to be Nint:Nint:=Int(2/3*exp(2*x)*sin(3*x), x);Oint:=intparts(Nint, exp(2*x));Here we see that we got back the integral we started with with coefficient 4/9 in front. The result is Lint:=1/3*exp(2*x)*sin(3*x)-Oint;Lint:=(1+4/9)^(-1)*(1/3*exp(2*x)*sin(3*x)+2/9*exp(2*x)*cos(3*x));We can check the answer by redefining the integral and integrating directly:lint:=Int(exp(2*x)*cos(3*x), x);value(lint);Perform two integrations by parts to compute the integral NiMtJSRpbnRHNiQqJiwoKiQlInhHIiIjIiIiKiYiIiZGK0YpRitGKyIiKkYrRispJSJlRyomRipGK0YpRitGK0Yp. Check your answer with direct integration with Maple.Evaluate the integral NiMtJSRpbnRHNiQqJiUieEciIiItJSNsbkc2IywmRidGKC0lJXNxcnRHNiMsJkYoRigqJEYnIiIjRihGKEYoRic=. If you try to compute the integral directly you will see that Maple gets stuck and does not know what to do. You will need two integrations by parts and the second is tricky. Ask Maple to simplify the second integrand and to use NiMvJSJ1RyUieEc=. This shows that sometimes we need to help Maple in its work. Do not always rely on Maple! Compute the integral NiMtJSRpbnRHNiQqJiUieEciIiQtJSdhcmN0YW5HNiNGJyIiIkYn. Verify your answer directly. Use partial fraction decomposition for the integral you get.