EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #994 background imageLoading...
Page #994 background image
952
Appendix A: System Routines — Statistics
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_randnorm
Declaration:
void
push_randnorm
(EStackIndex
mean_idx
, EStackIndex
std_idx
)
Category(ies):
Statistics
Description:
Pushes onto the estack a random float given a specified normal
distribution.
Inputs:
mean_idx
Indexes the input mean.
std_idx
Indexes the input standard deviation.
Outputs:
None
Assumptions:
None
Side Effects:
May expand expression stack, cause heap compression, or throw an error.
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
Example:
This example pushes a list of 10 random numbers using
randnorm (3.0, 1.0).
EStackIndex mean_idx, std_idx;
short i;
push_Float( 3.0 );
mean_idx = top_estack;
push_Float( 1.0 );
std_idx = top_estack;
push_quantum( END_TAG );
for (i = 0; i <= 9; i++)
push_randnorm( mean_idx, std_idx );
push_quantum( LIST_TAG );

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals