(a) Take u=4−t and dv=et/2dt, so du=−dt and v=2et/2:
∫(4−t)et/2dt=2(4−t)et/2−∫2et/2(−1)dt=2(4−t)et/2+4et/2+C=(12−2t)et/2+C
Check: dtd[(12−2t)et/2]=−2et/2+(6−t)et/2=(4−t)et/2.
P(T)=[(12−2t)et/2]0T=(12−2T)eT/2−12
(b) f is continuous, so by the First Fundamental Theorem of Calculus,
P′(T)=f(T)=(4−T)eT/2
Since eT/2>0, P′(T)>0 for 0<T<4 and P′(T)<0 for 4<T<8. By the first derivative test, P has its maximum at T=4: the well should be closed after 4 years. Up to then each year adds profit; after that each year adds a loss.
(c)
P(4)=(12−8)e2−12=4e2−12≈17.56
The greatest cumulative net profit is 4e2−12≈ ₹ 17.56 crore.
(d)
P(5)=2e5/2−12≈24.36−12=12.36>0,P(6)=0⋅e3−12=−12<0
After 5 years the well is still ahead overall (though by less than at T=4), but after 6 years the losses since year 4 have wiped out all the earlier profit and the company is ₹ 12 crore down overall. The proposal should be rejected.
On [4,8], P′(T)=f(T)<0 except at T=4, so P is strictly decreasing there and can take the value 0 at most once. P is continuous with P(5)>0>P(6), so it does take the value 0, at exactly one time T between 5 and 6 years. This is the break-even time.
(e) The third year is 2≤t≤3:
∫23f(t)dt=P(3)−P(2)=(6e3/2−12)−(8e−12)=6e3/2−8e≈26.89−21.75=5.14
The well earns about ₹ 5.14 crore during its third year.