The profit of Company A with respect to time (in months) is given by the function f(t) (in lakhs) as follows:
f(t)={t−3(t−2)n+1−1⌊t+1⌋+tif 0≤t<3,if t≥3
for some integer n>0.
The profit of Company B with respect to time (in months) is given by the function g(t) (in lakhs) as follows:
g(t)={t22tmif 0≤t<2,if t≥2
for some integer m>0.
Use the information given above to answer the given subquestions.
NOTE: Enter your answer to the nearest integer.