
Student Support Forum: 'Encountered non-numerical Value, For Heat Eqn' topicStudent Support Forum > General > Archives > "Encountered non-numerical Value, For Heat Eqn"
| Author |
Comment/Response |
jf
|
02/26/12 7:02pm
a) () is for grouping. Function arguments are in square brackets, []. See
http://reference.wolfram.com/mathematica/tutorial/TheFourKindsOfBracketingInMathematica.html
b) For ordinary input, Mathematica function names begin with capital letters.
c) The function "head" or pattern on the left is better with dummy arguments that can stand for any argument. See
http://reference.wolfram.com/mathematica/tutorial/DefiningFunctions.html
u(x,t) = [sin(4x) + cos(2x)] [cos(t) + sin(t)]
brcomes
u[x_,t_] = (Sin[4x] + Cos[2x]) (Cos[t] + Sin[t])
URL: , |
|
| | | |
 | |
|