Result
Based on the given parameters and initial conditions, we solve the differential equations and assume that the initial conditions for all equations except equations (1) and (2) are 0. The solutions to the differential equations are as follows:
Light Conditions
\( \mathrm{RFP}=1.35 \times 10^{-4}-1.8080 \times 10^{-8} \mathrm{e}^{-0.346 \mathrm{t}}+1.3710 \times 10^{-4} \mathrm{e}^{-6 \times 10^{-3} \mathrm{t}} \)
\( \mathrm{GFP}=4.8170 \times 10^{-1}-1.4991 \times 10^{-7} \mathrm{e}^{-0.346 \mathrm{t}}-0.4817 \mathrm{e}^{-6 \times 10^{-3} \mathrm{t}} \)
Based on the function curves and by taking the derivative of the differential equations and setting the derivative to approach zero within an acceptable error range, we can determine the feasible time for the system. It is found that the synthesis rates of red fluorescent protein (RFP) and green fluorescent protein (GFP) reach their maximum values at T=1000 min (no significant growth trend). Therefore, we will consider T=1000 min as the duration of the light condition cycle and use the synthesis rates of RFP and GFP at this time as the initial conditions for the differential equations under the no-light condition.
Dark Conditions
We substituted the synthesis rates of red fluorescent protein (RFP) and green fluorescent protein (GFP) under light conditions as initial conditions into the differential equation. Then, we solved the synthesis rate equations for both proteins under no light conditions and obtained the following results.
\( \begin{array}{c}\mathrm{RFP}=1.35 \times 10^{-4}-2.2814 \times 10^{-6} \mathrm{e}^{-0.346 \mathrm{t}}+2.6119 \times 10^{-4} \mathrm{e}^{-6 \times 10^{-3} \mathrm{t}} \\-2.7211 \times 10^{-4} \mathrm{e}^{-3 \times 10^{-3} \mathrm{t}}\end{array} \)
\( \text { GFP }=-4.8170 \times 10^{-1}+5.4231 \times 10^{-5} \mathrm{e}^{-0.346 \mathrm{t}}+1.1140 \times 10^{-3} \mathrm{e}^{-6 \times 10^{-3} \mathrm{t}} \)
Due to the complexity of the function's expression in low-light conditions, it is not possible to obtain an analytical solution for finding the zero points. Therefore, we adopt an image recognition approach to directly extract the solutions from images. By dividing the x and y axes equally based on coordinate proportions and pixels and using color recognition with OpenCV to identify curves, we obtained the intersections of the RFP and GFP curves with the coordinate axes under low-light conditions. Based on the specific meaning of the curves, these intersection points reflect the time at which the synthesis rates of RFP and GFP drop to zero.
Furthermore, we concatenate the curves of green fluorescent protein (GFP) and red fluorescent protein (RFP) under both light and dark conditions and conduct multiple experiments continuously. This allows us to determine the appropriate pulse frequency of light that enables the continuous alternate synthesis of red and green fluorescent proteins.
From the image results, it is evident that selecting T=25 minutes can effectively achieve the goal of reducing the synthesis rates of red fluorescent protein (RFP) and green fluorescent protein (GFP) to zero. This, in turn, initiates the next synthesis cycle.