(12C) and (41C) Rounding
|
09-26-2019, 12:56 PM
Post: #1
|
|||
|
|||
(12C) and (41C) Rounding
Introduction
The following program rounds positive numbers to the desired decimal amount of places. For example, √3 rounded to 3 places is 1.732. e^2 rounded to 2 places is 7.39. Set up your stack like this: Y: number X: number of decimal places HP 12C Program: Rounding Step; Code; Key Code: 01; 1; 1 HP 41C Program: Rounding Code: 01 LBL^T ROUND Round √3 rounded to 3 places Y: 3, sqrt (√3) X: 3 Result: 1.732 Round e^2 rounded to 2 places. is 7.39. Y: 2, e^x (e^2) X: 2 Result: 7.39 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)