How do I store equations?

  • Follow


Hi,
Let's say I enter an equation in SOLVER:
a=sin(b+c-d)

Later, I want to write a different equation such as: 
x=f/y-log(f)

but I don't want to lose the first equation because I would have to
re-write it. how do I store equations for future recall? Can I assign
each one to a variable? If so, how?
Thanks.
Tarcisio
0
Reply tgoes 5/8/2004 7:12:33 PM

"TCG" <tgoes@terra.com.br> wrote in message
news:767c3ff1.0405081112.474b4c69@posting.google.com...
> Hi,
> Let's say I enter an equation in SOLVER:
> a=sin(b+c-d)
>
> Later, I want to write a different equation such as:
> x=f/y-log(f)
>
> but I don't want to lose the first equation because I would have to
> re-write it. how do I store equations for future recall? Can I assign
> each one to a variable? If so, how?
> Thanks.
> Tarcisio
Which calc?
If 48-49 then you can use any variable name and
then store that name in 'EQ'
I use names like 'fsinsum.EQ' and 'flog.EQ'
'EQ' Reserved Variable may also contain a list of names.

Have you lost your manual(s)?
[VPN]


0
Reply Veli 5/8/2004 7:22:34 PM


> Which calc?
> If 48-49 then you can use any variable name and
> then store that name in 'EQ'
> I use names like 'fsinsum.EQ' and 'flog.EQ'
> 'EQ' Reserved Variable may also contain a list of names.
> 
> Have you lost your manual(s)?
> [VPN]
>>>>>>>>>>>>>>>>>>>>
Yes, HP-48GX. Sorry about not mentioning the model. Actually I have a
manual, but I am not finding a lot of info in it. I bought this
calculator back in 1994 and I read the entire manual at that time. But
for the past 4 years I didn't have the need to use the calculator
fully and naturally I forgot much of it. Of course I intend to read it
all again soon. But even so, I am not able to find a lot of
information I need. For example - for this topic of storing equations
- I could not find it on the index. I tried looking under "equation",
"storing" and no luck. And I didn't understand your explanation above
either. I also want to know how to RENAME a variable (or program name)
and I was not able to find that either.
I will try to be more clear about my equation storing question:

Suppose I enter an equation in SOLVER:
y = sin (x-1)/2
Then later I need to solve another equation, also with SOLVER, but I
don't want to lose my first equation. If I don't store somehow my
first equation, it will be overwritten by the second equation and it
will be lost.

How do I store the first equation in a way that I can recall it and
place it back in SOLVER?
So, it's two questions actually:
- How to store
- How to recall it and put it back to SOLVER?
 
And, no... I can't find this in the manual.

Thanks a lot for any help.

Regards,
Tarcisio
0
Reply tgoes 5/10/2004 2:40:40 AM

In article <767c3ff1.0405091840.bd2f0b2@posting.google.com>,
 tgoes@terra.com.br (TCG) wrote:

> > Which calc?
> > If 48-49 then you can use any variable name and
> > then store that name in 'EQ'
> > I use names like 'fsinsum.EQ' and 'flog.EQ'
> > 'EQ' Reserved Variable may also contain a list of names.
> > 
> > Have you lost your manual(s)?
> > [VPN]
> >>>>>>>>>>>>>>>>>>>>
> Yes, HP-48GX. Sorry about not mentioning the model. Actually I have a
> manual, but I am not finding a lot of info in it. I bought this
> calculator back in 1994 and I read the entire manual at that time. But
> for the past 4 years I didn't have the need to use the calculator
> fully and naturally I forgot much of it. Of course I intend to read it
> all again soon. But even so, I am not able to find a lot of
> information I need. For example - for this topic of storing equations
> - I could not find it on the index. I tried looking under "equation",
> "storing" and no luck. And I didn't understand your explanation above
> either. I also want to know how to RENAME a variable (or program name)
> and I was not able to find that either.
> I will try to be more clear about my equation storing question:
> 
> Suppose I enter an equation in SOLVER:
> y = sin (x-1)/2
> Then later I need to solve another equation, also with SOLVER, but I
> don't want to lose my first equation. If I don't store somehow my
> first equation, it will be overwritten by the second equation and it
> will be lost.
> 
> How do I store the first equation in a way that I can recall it and
> place it back in SOLVER?
> So, it's two questions actually:
> - How to store
> - How to recall it and put it back to SOLVER?
>  
> And, no... I can't find this in the manual.

   'EQ' RCL 
will bring the equation to the stack, then
   'yourname' STO 
will store it with the name 'yourname'.

To reverse the process, use 
   'yourname' RCL 'EQ' STO
or, more briefly,
   'yourname' RCL STEQ


> 
> Thanks a lot for any help.
> 
> Regards,
> Tarcisio
0
Reply Virgil 5/10/2004 5:07:29 AM

Hello Tarcisio

The info you are seeking is already in the
HP48 user's guide, but I guess you do not
know enough basic stuff so that you can identify
it, that is, you need to start at the beginning!
The way you store information already present on
the first line of the stack in variables is
simply by typing the name of the variable within 
the algebraic placeholders '' and pressing the
STO key. For example, if line 1 holds the number
3.45 and you want it stored in name Temp (case
sensitive) then you would type 'Temp' in entry mode,
would press ENTER to place it on the stack, so that
line 2 now would hold the 3.45 and line 1 the name 
'Temp' and you would finally press STO. The soft menus
on the bottom of the screen would show a new entry (you
may have to press the NEXT key to see it) showing in
small font the first four characters of the variable.
Pressing the menu key underneath the variable executes it
or places it on the stack. What you just did (if you did it)
can be done in any subdirectory of the MAIN (root) directory
of the calc. There is a reserved variable called 'EQ' that
can be in every subdirectory (can be overwritten too) and the
solver application uses. From that point on I think that you 
should be able to make sense of what VPN posted earlier.
Good luck!


!Demeter!
0
Reply dkalf 5/10/2004 7:12:29 AM

.. Actually I have a
> manual


Hi Tarcisio,


Please go here and download the "HP 48G Series User's Guide" (second in the
list):

http://www.hpcalc.org/search.php?query=user%27s+guide


Please go and download the "HP48 FAQ" in whatever format you desire, at:

http://www.hpcalc.org/search.php?query=FAQ



If you want to learn how to program your 48, download the following, "User
RPL Tutorial in HTML 1.0" (third from the bottom)

http://www.hpcalc.org/search.php?query=kalinowski


Most of your questions will be answered in these books.  PLEASE read them
thoroughly.  However, (most) are in English, and if that is not your native
tongue, come back here where you need clarification.  But I think with a
good 8 hours of reading and playing, you will feel pretty confident with the
basics.


Regards,


Bill


0
Reply William 5/10/2004 2:56:22 PM

dkalf@intranet.gr (Demeter) wrote in message news:<5bff2c2e.0405092312.ab5ff41@posting.google.com>...
> Hello Tarcisio
> 
> The info you are seeking is already in the
> HP48 user's guide, but I guess you do not
> know enough basic stuff so that you can identify
> it, that is, you need to start at the beginning!
> The way you store information already present on
> the first line of the stack in variables is
> simply by typing the name of the variable within 
> the algebraic placeholders '' and....
....
> !Demeter!
>>>>>>>>>>
Hi Demeter,

Thank you for your post. You are indeed right. I am going to re-read
the manual before I ask any further questions. However, my problem was
not to STORE the variable, but to retrieve it. I struggled a bit more
and realized that the info I was looking for was "TO PRESS CHOOSE" on
"SOLVE" in order to get the right variable there.
Thank you so much for your explanation. Well, back to the manual ,
now.

Regards,

Tarcisio
0
Reply tgoes 5/10/2004 4:45:17 PM

tgoes@terra.com.br (TCG) wrote in message news:<767c3ff1.0405100845.184f19b5@posting.google.com>...
> dkalf@intranet.gr (Demeter) wrote in message news:<5bff2c2e.0405092312.ab5ff41@posting.google.com>...
> > Hello Tarcisio
> > 
> > The info you are seeking is already in the
> > HP48 user's guide, but I guess you do not
> > know enough basic stuff so that you can identify
> > it, that is, you need to start at the beginning!
> > The way you store information already present on
> > the first line of the stack in variables is
> > simply by typing the name of the variable within 
> > the algebraic placeholders '' and....
>  ...
> > !Demeter!
> >>>>>>>>>>
> Hi Demeter,
> 
> Thank you for your post. You are indeed right. I am going to re-read
> the manual before I ask any further questions. However, my problem was
> not to STORE the variable, but to retrieve it. I struggled a bit more
> and realized that the info I was looking for was "TO PRESS CHOOSE" on
> "SOLVE" in order to get the right variable there.
> Thank you so much for your explanation. Well, back to the manual ,
> now.
> 
> Regards,
> 
> Tarcisio

And please don't hesitate to ask questions here (after doing a search
if possible).  Even if it is in the manual, it's nice to have an
alternative source.  The people in this NG seem to know more than
whoever wrote the manuals.

Now, a related question:  Was the 'DEFINE' command present in the 48
series?

Another related question:  Can I use the 'SOLVE' command on a function
that been 'DEFINE'd?  I'm asking because I can differentiate it and
integrate it.  I was wondering if I could do optimization using those
commands as well.

Curiosity killed the scientist, her husband, and her kids...

--CS
0
Reply Craigs1015 5/11/2004 3:59:18 AM

"Speed" <Craigs1015@aol.com> wrote in message
news:55447677.0405101959.5a463695@posting.google.com...
X
> Now, a related question:  Was the 'DEFINE' command present in the 48
> series?
Take a look at this:
http://www.hpcalc.org/details.php?id=5265

> Another related question:  Can I use the 'SOLVE' command on a function
> that been 'DEFINE'd?  I'm asking because I can differentiate it and
> integrate it.  I was wondering if I could do optimization using those
> commands as well.

Yes, but I prefer every function as Algebraic or Equation
rather than a program because then you can manipulate them
using the symbolic manipulation commands
BUT
In case I want them to be "fixed" and used to extend the language
then I have a structure like this:

<< -> a << a ...... a >> DROP >>

<< -> a b << a b ...... a b >> DROP2 >>

So that even LASTARG works like it should.
[VPN]


0
Reply Veli 5/11/2004 6:30:57 AM

8 Replies
573 Views

(page loaded in 0.152 seconds)

Similiar Articles:













7/23/2012 4:51:01 AM


Reply: