Solving Heat Flow Problem: Initial Boundary Value Problem

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
hydralisks
Messages
19
Reaction score
0

Homework Statement



Find a formal solution to the given initial boundary value problem.

du/dt=5(d^2u/dx^2) 0<x<1 t>0
u(0,t)=u(1,t)=0 t>0
u(x,0)=(1-x)(x^2) 0<x<1

Homework Equations



1) u(x,t) = a0/2 + sum[an*e^(-b(n pi/L)^2*t) * cos(n pi x/L)

2) Fourier series equation

The Attempt at a Solution



(1-x)(x^2) = a0/2 + sum(an * cos(n pi x) with cn = an

I calculate a0=1/6

an = 2* integral[(1-x)(x^2)(cos n pi x)dx] from 0 to 1


I'm wondering if this is write so far? And if so, how do I proceed from here? Do I just plug everything back into the general u(x,t) equation?

Thanks!
 
Physics news on Phys.org
You might not want to use the cosine series. Since one of your BC's is u(0,t) = 0. You will never satisfy that condition when cos(0) = 1. Try using the sine series instead.