$\frac{dB}{dx}+2B=50$
$B(1) = 50$
I tried separating the variables but that didn't work, and without separating the variable I'm not sure what to do.
$\frac{dB}{dx}+2B=50$
$B(1) = 50$
I tried separating the variables but that didn't work, and without separating the variable I'm not sure what to do.
separating the variable works:
$$ \frac {dB}{dx} = 50 - 2B \\ \int \frac{dB}{25 - B} = \int 2dx + C, C\in\Bbb R \\ -\log |25 - B| = 2x + C, C\in\Bbb R $$ yields the general solution: $$ B = 25 + K\exp (-2x), K\in\Bbb R $$ and with the initial condition: $$ B = 25 (1+ \exp (2(1-x))) $$