Post new question
Question
Reply
 
Honor Student
Posts: 2
Member Since: ‎03-05-2017
Message 1 of 5 (548 Views)

how does one use the template for a function with a piecewise domain?

Product Name: HP Prime

There is a template in the HP Prime that is made for functions that have a domain to be specified.  The template is the one that consists of a box upper left and another box lower right separated by a vertical bar.   Could someone who knows give an example of the syntax to use in entering the function (upper left) and the domain (lower right)? 

 

thanks.

 

4219saomiguel

Reply
0 Kudos
Teacher
Posts: 101
Member Since: ‎05-30-2013
Message 2 of 5 (526 Views)

Re: how does one use the template for a function with a piecewise domain?

Hello,

Here is an example

 

template.png

Cyrille

I am an HP Employee
Grad Student
Posts: 200
Member Since: ‎09-23-2016
Message 3 of 5 (475 Views)

Re: how does one use the template for a function with a piecewise domain?


4219saomiguel wrote:

There is a template in the HP Prime that is made for functions that have a domain to be specified.  The template is the one that consists of a box upper left and another box lower right separated by a vertical bar.   Could someone who knows give an example of the syntax to use in entering the function (upper left) and the domain (lower right)? 

 

thanks.

 

4219saomiguel


That is not true.

The template is the 5th one in the first row and not the third one, and Cyrille gave an example.

Honor Student
Posts: 2
Member Since: ‎03-05-2017
Message 4 of 5 (460 Views)

Re: how does one use the template for a function with a piecewise domain?

OK.  The answer that Cyrille gave now makes sense to me.  I was thinking that the template 3rd from left on the top row was the one that delt with specifying a limited range of the variable in a function.  I would still like to know what that template is used for, though.  Would appreciate clarification on that point.  The user manual for the hp prime doesn't say much about that particular tool.

 

Obrigado,

 

4219saomiguel

Grad Student
Posts: 200
Member Since: ‎09-23-2016
Message 5 of 5 (404 Views)

Re: how does one use the template for a function with a piecewise domain?

I agree with you that the Help is unclear on this point, and I did not understand it a long time myself.

Nevertheles it can be found in the catalog:

Choose: Toolbox – Catlg – and the command finds itself just below ztrans, indicated by a vertical bar.

Its official name is Where function, and it is a substitution command.

Probably the example given in the Help will be clear.

 

It resembles very much the subst command, but there are some slight differences.

Here is some more information:

http://www.hpmuseum.org/forum/thread-2421.html

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation