Hi, im currently trying to work on the following formulae for a 1-d transient Heat transfer problem.

Basically it is a bar with 2 ends where each end has a fixed temperature after t=0 meaning to say that one end is being heated while the other is cooled to a fixed temperature. i want to get a sketch of temp vs time and the solution for dT/dt
my boundary condtions are
T(0,0)=301K=T(L,0)
and when it reaches steady state at an unknown time,
T(0,t)=293
T(L,t)=473
so with L = 5 i tried solving the equation but i kept coming up with the same error.
heatsol =
NDSolve[{3.25D[temp[x, t], t] == -0.0000447D[
temp[x, t], {x, 2}], temp[0, 0] == 301, temp[5, 0] == 301,
temp[5, t] == 473}, temp, {x, 0, 5}, {t, 0, 100}]
NDSolve::deqn: Equation or list of equations expected instead of True in the first argument {3.24776 (temp^(0,1))[x,t]==-0.000044705 (temp^(2,0))[x,t],temp[0,0]==301,temp[5,0]==301,True,temp[0,t]==273}. >>
but if i assigned a random number to the boundary condition where it reaches steady state, temp[5,100] i get the following error saying that my initial condition is redundant
heatsol =
NDSolve[{3.247755102 D[temp[x, t], t] == -0.000044705030299999997 D[
temp[x, t], {x, 2}], temp[5, 0] == 301, temp[5, 100] == 473},
temp, {x, 0, 5}, {t, 0, 100}]
NDSolve::bcedge: Boundary condition temp[5,0]==301 is not specified on a single edge of the boundary of the computational domain. >>




