- Thread starter
- #1

#### madflame991

##### New member

- Feb 7, 2012

- 3

Hi!

I need to find out how to solve this type of heat equations:

$$\large \frac{du}{dt} - \frac{d^2u}{dx^2} = \sin \pi x$$

$$\large u|_{t=0} = \sin 2\pi x $$

$$\large \large u|_{x=0} = u|_{x=1} = 0$$

I know what the solution to this but I can't solve it myself.

The problem is that all over the net I stumble upon heat equations of only this form:

$$ \large \frac{du}{dt} = k \frac{d^2u}{dx^2}$$

And I can't figure out what am I supposed to do with $\sin \pi x$

Thx!

I need to find out how to solve this type of heat equations:

$$\large \frac{du}{dt} - \frac{d^2u}{dx^2} = \sin \pi x$$

$$\large u|_{t=0} = \sin 2\pi x $$

$$\large \large u|_{x=0} = u|_{x=1} = 0$$

I know what the solution to this but I can't solve it myself.

The problem is that all over the net I stumble upon heat equations of only this form:

$$ \large \frac{du}{dt} = k \frac{d^2u}{dx^2}$$

And I can't figure out what am I supposed to do with $\sin \pi x$

Thx!

Last edited by a moderator: