COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### displaying number as an exponential?

• Follow

sorry for the double post but I accidently hit enter and my message
posting ;) )

so I was wondering if there is an easy way to take a number that
appears like: 935837 on the HP 48gx and quickly convert it to
9.35837E5 ?  I have been doing some calculations for a course that
involves large numbers and I am getting tired of counting decimal
places with my pencil...  I realize that you can permanently set
the calc to scientific in the modes menu but I don't want to have
to switch back and forth...

Thanks!

----------------------------------------------
Posted with NewsLeecher v1.0 Final
* Binary Usenet Leeching Made Easy
* http://www.newsleecher.com/?usenet
----------------------------------------------

 0
Reply dontmailme (1) 11/1/2004 7:58:55 AM

In article <31mhd.66562\$9b.50418@edtnps84>, dontmailme@fake.com (dRiAn)
wrote:

> sorry for the double post but I accidently hit enter and my message
> posting ;) )
>
> so I was wondering if there is an easy way to take a number that
> appears like: 935837 on the HP 48gx and quickly convert it to
> 9.35837E5 ?  I have been doing some calculations for a course that
> involves large numbers and I am getting tired of counting decimal
> places with my pencil...  I realize that you can permanently set
> the calc to scientific in the modes menu but I don't want to have
> to switch back and forth...
>
> Thanks!

Make a miniprogram to display it in scientific format.

Something like

\<< RCLF OVER 11 SCI 1. DISP 1. FREEZE STOF  \>>

The RCLF and STOF are to guarantee that your regular display mode is not
changed by the program.

You can set the 11 to any value between 0 and 11, inclusive, to display
that many decimal places in scientific notation.
 0

Hello fellow user

> appears like: 935837 on the HP 48gx and quickly convert it to
> 9.35837E5 ?  I have been doing some calculations for a course that
> involves large numbers and I am getting tired of counting decimal
> places with my pencil...  I realize that you can permanently set
> the calc to scientific in the modes menu but I don't want to have
> to switch back and forth...

A quick - non permanent way of getting the displayed notation
the way you want it is to assign to a key a program like the
following. Overall,

\<< 5 ENG \->STR STD \>>
11.0
ASN

which everytime you have a number on the stack and you press
the USER key A it converts the level one number to engineering
notation with 5+1 significant digits (of course you could use
scientific instead of engineering). It wraps it up into a
string format so that the sequential execution of standard
notation (assuming that this was the default mode) leaves it
untouched.

!Demeter!
 0

Hello guys

-i guess this is where i get in :-)
-combine the 2 here presented solutions, and you will have the masterpiece
:-)

manjo

 0

3 Replies
398 Views

Similiar Articles:

7/24/2012 12:41:56 AM