Error operation in integration

Thanks for identifying the error,

can we implement the boundary condition of time variable.

like f= 20+30*t; in Neumann BC or Dirichlet BC, and that would change regularly with time increment.