- #1
Ultramilk
- 10
- 0
Homework Statement
Graph T(x,t) = T1e^(lambda*x)sin(wt-lambda*x) in Maple
lambda = -.2
T1 = 10
omega = constant
Homework Equations
Maybe heat equation
ut(x,t) = uxx(x,t)
The Attempt at a Solution
I'm really unsure on how to graph a multiple variable function/equation in Maple. I gave it a couple of tries using plot3d, but I really don't have a clear understanding of how exactly the functions work (I only plot 2d stuff before this).
My only close attempt was when I typed in:
plot3d(T1e^(lambda*x)sin(wt-lambda*x), x=0..10, t=0..10)
where I had define lambda := -.2 and T1 := 10;
It didn't give me any errors, but it gave me an empty plot.
I also looked up procedures in graphing heat equation, but it didn't give me a plot I wanted. Rather I wanted a plot in 3d, while it gave me a plot in 2d as the end result.
I guess my biggest problem right now is how to get Maple to treat omega (w) as a constant. Should I leave it out while trying to plot it? Because when I do I get a curved 2d line on the graph.
I'm unsure if graphing if covered in this forum, but it would be really helpful if a person could direct me in the right direction, maybe drop some advice as to which plot to use (like PDEplot or if plot3d is fine?)
Thanks a lot for the help guys.