The state variables and control variable in the OC problem (21)-(23) can be approximated as follows: