
×InformationLearn how to upgrade to Windows 11

×InformationLearn how to upgrade to Windows 11
 HP Community
 >
 Other Products
 >
 Calculators
 >
 Integer parameter
 Mark Topic as New
 Mark Topic as Read
 Float this Topic for Current User
 Bookmark
 Subscribe
 Mute
 Printer Friendly Page
Create an account on the HP Community to personalize your profile and ask a question
Solved!
Integer parameter
11122017 01:31 PM
Can you help me please??
I have a big problem, I don' t know how to enter a integer parameter on hp prime calculator!
I enter N (as natural) put it doesn't work
Solved! Go to Solution.
Accepted Solutions
11152017 12:25 PM
Okay, now I understand what you meant.
In this case we need the assume command:
assume(k, integer)
See the User Guide information about the assume command, which gives this example.
A method to get to know what the second argument , so in this case "integer", should be is to enter
type(7)
where 7 in an arbitrary integer. The result is DOM_INT, which means we could also have used:
assume(k, DOM_INT)
Now we get:
Note that the screen shows TYPE(7), but I entered type(7), so lowercase.
This is a wrong display.
type and TYPE are not the same commands.
type is meant for use in CAS and TYPE for use in Home View.
We now have created a variable k with certain properties.
Do not forget to delete it when you do not need these properties anymore.
You can do this in the Memory Manager (key B)
Choose CAS Vars.
11132017 09:35 AM  edited 11132017 09:36 AM
It is unclear to me what you are trying to do.
Maybe you could give a simple example?
When you want to write an equation which contains parameters this can most easily be done in CAS view, so press the CAS key.
We can not use A.....Z because these are special variables which are always replaced by their content, which in this case is always a real number.
But we can use their minor case forms, so a, b.....t, u, z or we can define any variable we like, for example MYvar.
So we could write:
a*x+b
And if we like we can store integers into a and b.
We could also store real numbers or complex numbers into them though.
11152017 03:42 AM
Thanks for your answer but It wasn't what I Asked.
I'll try to give you a simple example.
If I Do a Definite integral of cos(kx) dx, the calculator show the result (1/Ķ)sin(kx).
I need the app o button that evaluate the expression for K natural, not for a specific number, but for the all natural number.
The result should be zero.
On others calculators I used @n1 but it doesn't works.
Sorry for my grammar 😞
11152017 12:25 PM
Okay, now I understand what you meant.
In this case we need the assume command:
assume(k, integer)
See the User Guide information about the assume command, which gives this example.
A method to get to know what the second argument , so in this case "integer", should be is to enter
type(7)
where 7 in an arbitrary integer. The result is DOM_INT, which means we could also have used:
assume(k, DOM_INT)
Now we get:
Note that the screen shows TYPE(7), but I entered type(7), so lowercase.
This is a wrong display.
type and TYPE are not the same commands.
type is meant for use in CAS and TYPE for use in Home View.
We now have created a variable k with certain properties.
Do not forget to delete it when you do not need these properties anymore.
You can do this in the Memory Manager (key B)
Choose CAS Vars.

EnglishOpen Menu
Didn't find what you were looking for? Ask the community