Post Reply 
Using SLOPE function in Function APP with CAS defined function
12-10-2014, 11:49 AM
Post: #8
RE: Using SLOPE function in Function APP with CAS defined function
(12-09-2014 03:01 PM)Han Wrote:  Edit: The command f:=g+h; is the same as f(x):=g(x)+h(x). If you had wanted to create \( f(x) = x^2 + 3t+1 \) so that the \( t \) is a constant with respect to \( x \), then type: f(x):=g(x)+h(t); as the right hand side is an expression in terms of x and t, and the := operator creates a function with only x as the variable as specified by the (x) after f.
Unfortunately, it's a little more tricky, f:=g+h is not equivalent to f(x):=g(x)+h(x). The reason is that when you write f(x):=g(x)+h(x), the right handside is not eval-ed, g and h are not replaced by their value, if g or h is modified, f will reflect the modification.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Using SLOPE function in Function APP with CAS defined function - parisse - 12-10-2014 11:49 AM



User(s) browsing this thread: 3 Guest(s)