Post Reply 
solution of equations with constraints HP 50g
01-22-2024, 01:55 AM
Post: #1
solution of equations with constraints HP 50g
Greetings. I have a question. On the ti 89 calculator you could do, for example, 'solve(x^2 - 1 = 0)|x>0' to obtain the positive solution of an equation. Is it possible to do this with the hp48g or hp50g? How would it be done in agebraic mode and in rpn mode? I greatly appreciate your collaborations.
Find all posts by this user
Quote this message in a reply
01-22-2024, 11:43 AM
Post: #2
RE: solution of equations with constraints HP 50g
Supply a guess x> 0 and ignore any negative x results.
Find all posts by this user
Quote this message in a reply
01-22-2024, 12:01 PM
Post: #3
RE: solution of equations with constraints HP 50g
(01-22-2024 11:43 AM)Namir Wrote:  Supply a guess x> 0 and ignore any negative x results.

Thanks for your answer. What you say is valid for a numerical solution, I am really interested in including the restriction, even with functions like SOLVEX in 50g, so an initial assumption would not work.
Find all posts by this user
Quote this message in a reply
01-22-2024, 12:32 PM
Post: #4
RE: solution of equations with constraints HP 50g
You could use ASSUME (and UNASSUME).

Example with ASSUME:
'X>0'
ASSUME
MSGBOX: Replacing strict with large inequality
'X>0' is replaced by 'X>=0'
'X^3-3=0'
SOLVEVX
'X=\v/3'

'X'
UNASSUME
SOLVEVX
{ 'X=-\v/3' 'X=\v/3' }

That was done with the HP50G in RPN-mode.

HTH
Roman
Find all posts by this user
Quote this message in a reply
01-22-2024, 01:18 PM
Post: #5
RE: solution of equations with constraints HP 50g
(01-22-2024 12:32 PM)roem76 Wrote:  You could use ASSUME (and UNASSUME).

Example with ASSUME:
'X>0'
ASSUME
MSGBOX: Replacing strict with large inequality
'X>0' is replaced by 'X>=0'
'X^3-3=0'
SOLVEVX
'X=\v/3'

'X'
UNASSUME
SOLVEVX
{ 'X=-\v/3' 'X=\v/3' }

That was done with the HP50G in RPN-mode.

HTH
Roman

thanks, it worked perfect.
Find all posts by this user
Quote this message in a reply
Post Reply 




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