# The heat equation

Solve the following PDE:

du/dt = d^2u / dx^2 (note: partial derivatives),

u(x, 0) = sin^2(x),

u(0, t) = 0, u(Pi, t) = 0,

0 < x < Pi

Repeat for the following initial condition:

du/dt (x, 0) = sin^2(x) (note:partial derivatives),

0 < x < Pi

https://brainmass.com/math/numerical-analysis/solving-heat-equation-316594

#### Solution Preview

Hello and thank you for posting your question to Brainmass!

The solution is attached ...

#### Solution Summary

The heat equation is is integrated in this solution.

$2.19