Using SLOPE function in Function APP with CAS defined function
12-10-2014, 11:49 AM
Post: #8
 parisse Senior Member Posts: 1,322 Joined: Dec 2013
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.
 « Next Oldest | Next Newest »

 Messages In This Thread Using SLOPE function in Function APP with CAS defined function - cdecastro - 12-08-2014, 06:43 PM RE: Using SLOPE function in Function APP with CAS defined function - mpowell@rogershsa.com - 12-09-2014, 03:58 AM RE: Using SLOPE function in Function APP with CAS defined function - DrD - 12-09-2014, 02:26 PM RE: Using SLOPE function in Function APP with CAS defined function - cdecastro - 12-09-2014, 02:46 PM RE: Using SLOPE function in Function APP with CAS defined function - Han - 12-09-2014, 03:01 PM RE: Using SLOPE function in Function APP with CAS defined function - parisse - 12-10-2014 11:49 AM RE: Using SLOPE function in Function APP with CAS defined function - Han - 12-09-2014, 02:52 PM RE: Using SLOPE function in Function APP with CAS defined function - DrD - 12-09-2014, 04:26 PM

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