• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
HP Recommended
hp prime graphing calculator

I am trying to solve and hopefully graph functions as in u(t), rect(t), tri(t). I found them in the catalog menu but it does not seem to be working, i get errors when i hit enter.

 

like 2RECT((t-2)/3)

 

2 REPLIES 2
HP Recommended

Here's a useful hint, press the HELP button wherever you are in the system (even a cursor positioned in an editline over a command will work) and it will take you to a page for that item. I think you will discover "RECT" is not what you are thinking it is...

 

Perhaps someone more familar with linear systems will be familar with your terminology, but its been too long for me. 🙂

 

 

TW

Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.
HP Recommended

RECT is not a function but a command which can be used in programs.

 

Like you can find in the User Guide or built- in Help:

 

 

Syntax: RECT([G, x1, y1, x2, y2, edgecolor, fillcolor])

Draws a rectangle on G between points x1,y1 and x2,y2 using edgecolor for the perimeter and fillcolor for the inside.

So this means that it draws a rectangle on the screen.

G can be left out, as can edgecolor and fillcolor.

x1 and y1 are the coordinates of the top left corner of the rectangle, and  x2 and y2 the coordinates of the bottom right corner.

 

The command can be accessed via the menu in the Program Editor.

 

When you are writing a program you find yourself in the Program Editor and there is a menu button named Cmds.

Press it, next press Drawing, next Cartesian, next Rect.

 

In order to see something this command has always to be followed by the command Freeze,  accessable via Cmds - Drawing - Freeze.

 

This is also the reason why you do not see anything when you use the command outside of a program: it is not followed by Freeze, so the image immediately disappears.

 

There are easier ways to draw a rectangle though, namely in the Geometry app.

 

When you want to plot linear functions, you can do this in the Function app or Advanced Graphing app, they can also give you intersections.

 

When you want to get the exact intersections  you have to go to CAS view, so press the CAS key, and use the Solve command.

 

http://h10032.www1.hp.com/ctg/Manual/c05332710

 

 

Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.