Post Reply 
HP50 - Another Plot of a Function
11-04-2020, 07:45 PM (This post was last modified: 11-04-2020 07:46 PM by DavidM.)
Post: #2
RE: HP50 - Another Plot of a Function
One possible method would be to make use of a CASE statement in a program for the various ranges.

I know you prefer algebraic mode, but I'm not sure how to use CASE that way. The following RPN/RPL program was created using algebraics, so perhaps it will at least give you an idea how to set this up:
Code:
\<<
   CASE
      'X<0' THEN 'SIN(X)' END
      'X\<=2' THEN 'SQ(SIN(X))' END
      'COS(X)'
   END
\>>

The resulting plot of this program looks like this when using default settings:

[Image: attachment.php?aid=8843]


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


Messages In This Thread
RE: HP50 - Another Plot of a Function - DavidM - 11-04-2020 07:45 PM



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