Question: How can I graph equation?

u:=(x,t)->Sum(sin(r*Pi*x/20)*(4/(r^2*Pi^2))*sin(r*pi/2)*cos(r*Pi*t/20),r=1...1000);

plot3d(u(x,t),x=0...10,t=0...1);

When I want to draw the graph, it gives a straight line. But this is a wave equation

Please Wait...