Post Reply 
Function view [Eval], & [Simplify]
11-03-2018, 10:49 PM (This post was last modified: 11-12-2018 09:40 PM by compsystems.)
Post: #1
Function view [Eval], & [Simplify]
Hello, Users and Developer group of the hp-prime calculator


Topic: Operations (+, -, *, /, o) with functions on CAS VIEW and HOME VIEW (NUMERICAL)

it is required to define the same mathematical object twice =( to show the graphic part and symbolic operation


CAS VIEW
PHP Code:
assume(X,symbolic) [EnterErrorBad Argument 

F1
(X):=2*-[enterok
F2
(X):=X² 1
F3(X):=F1(F2(X)) [enterok 
simplify
(F3(X))  [enter] -1  =( // X^2+2*X-2

// X  → X_
assumeX_ symbolic)

F1(X_):=2*X_ -3
F2
(X_):=X_² 1
F3(X_):=F1(F2(X_)) [enter] => 2*(X_^2+1)-// Composition of functions
F4(X_):=F2(F1(X_)) [enter] => (2*X_-3)^2+1
F5
(X_):=(F1+F2)(X_) [enter] => X_^2+2*X_-// Combination of functions
F6(X_):=(F1-F2)(X_) [enter] => -X_^2+2*X_-4
F7
(X_):=(F1*F2)(X_) [enter] => (X_^2+1)*(2*X_-3)
F8(X_):=(F1/F2)(X_) [enter] => (2*X_-3)/(X_^2+1)
F9(X_):=F1(X_+1) [enter] => 2*(X_+1)-// Horizontal translation of 1 units to the left
F0(X_):=F1(X_)-[enter] => 2*X_-// Vertical translation of -5 units down

F10(X_):=F1(X_-1) [enter] => 2*(X_+1)-// Horizontal translation of 1 units to the right
F11(X_):=F1(X_)+[enter] => 2*(X_+1)-// Vertical translation of +5 units to the up

F12(X_):= -F1(X_) [enter] => -2*X_+// Reflection (with respect to the x axis)
F13(X_):= F1(-X_) [enter] => -2*X_-// Reflection (with respect to the y axis)
F14(X_):= -F1(-X_) [enter] => 2*X_+// Reflection (regarding the origin): 

FUNCTION VIEW
PHP Code:
// restart(X) // numerical mode

F1(X)=2*-3
F2
(X)=X² 1
F3(X)=F1(F2(X)) [Eval] 2*(X^2+1)-3
F4
(X)=F2(F1(X)) [Eval] (2*X-3)^2+1
F5
(X)=(F1+F2)(X) [Eval] does not respond
F6
(X)=(F1-F2)(X) [Eval] does not respond
F7
(X)=(F1*F2)(X) [Eval] does not respond
F8
(X)=(F1/F2)(X) [Eval] does not respond
F9
(X)=F1(X+1) [enter2*(X+1)-
F0
(X)=F1(X)-[enter2*-3-


Thanks


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Function view [Eval], & [Simplify] - compsystems - 11-03-2018 10:49 PM
RE: Function view [Eval] - JMB - 11-04-2018, 11:04 AM
RE: Function view [Eval] - compsystems - 11-04-2018, 12:41 PM
RE: Function view [Eval] - compsystems - 11-11-2018, 01:46 PM



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