Please solve properly with complete solution.
Now let's put everything together to find out when a salmon farm should treat their fish. If we assume that the sea louse population is mainly driven by sea lice reproducing within the farm, then a model for the sea louse population before and after treatment is:
[ p(t) = egin{cases} P e^{a(t-T)} & ext{if } t < T \ Q e^{-d(t-T)} & ext{if } t geq T end{cases} ]
where ( p(t) ) is the number of motile lice per fish at time ( t ) in days, ( T ) is the time of treatment, and ( P, Q, a, d > 0 ) are constant parameters.
(a) Find the value of ( Q ) such that ( p(t) ) is continuous for all ( t ).
(b) On the Sargeaunt Pass farm, the parameter ( a ) was measured to have the value ( a = 0.048 ) and the parameter ( d ) was measured to have the value ( d = 0.057 ). Juvenile wild salmon begin migrating past the farm on March 1. If the sea louse population on January 1st is 0.5 motile lice per fish, what is the latest date treatment should occur to ensure that the sea lice population on the farm is less than 3 motile lice per fish by the time of wild salmon migration? (Assume it is not a leap year and assume ( p(t) ) is a continuous function.)