510746
85
Zoom out
Zoom in
Previous page
1/114
Next page
Programming
77
Programming Example
The following programming example, and all examples in this chapter, were written with
Chain or Algebraic set as the operating mode. Since a program executes the keys exactly as
if you were manually pressing them, the current operating mode affects how the program
executes. If you normally operate in RPN, verify your operating mode is set to either Chain or
Algebraic before proceeding so you can follow along with the examples below.
For more information about setting the operating mode, refer to the section titled, The Mode
Menu: Setting Preferences in Chapter 1, Basic Features.
The volume of a sphere is represented by the equation, . We will create a program that
can calculate the volume of a sphere without having to retype all the keys each time you wish
to calculate the volume of a given sphere. Verify your FIX setting is set for three digits to the
right of the decimal point. For more information on the FIX setting, refer to the section titled,
The Mode Menu: Setting Preferences in Chapter 1, Basic Features.
Table 13-2
Keys Display Description
:E
Enters program mode. The first program is
selected.
I
Starts editing program 0. Note the
counter shows your current position in the
program.
:h3*
4/3*
:sI
I=
We have entered a program that takes
the currently displayed number, raises it to
the 3rd power, and multiplies it by 4/3 of
PI.
:(HOLD)
The STOP instruction tells the calculator
that the program is ending. Note that to
enter that special instruction, you need to
press and hold the shift key, then press the
L key (STOP) before releasing both
keys.
4
3
---
πr
3
85


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for HP 30b at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of HP 30b in the language / languages: English as an attachment in your email.

The manual is 2,43 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info