MathCastle
Differential EquationsChallengeFirst-Order Equations

First-Order Equations · Challenge problem

A tank's inflow is switched on for one hour and then off: y′+y=g(t)y'+y=g(t) with g(t)=1g(t)=1 for 0≤t<10\le t<1 and g(t)=0g(t)=0 for t≥1t\ge1, and y(0)=0y(0)=0. The solution is continuous. Find y(2)y(2).