## Using SHAZAM as a Calculator- Arithmetic
- Calculating a Sample Mean and Variance
- Calculating a Mean and Variance for 2 Different Samples
- Calculating the Mean Absolute Deviation
- Calculating Factorials and Combinations
[SHAZAM Guide home] ## ArithmeticThe
Results can be saved for use in subsequent calculations. This is illustrated in the next example.
## Calculating a Sample Mean and VarianceThe next commands calculate the mean, variance and standard deviation for a sample of 6 observations. Note that the calculation for the sample variance uses a divisor of 5.
## Calculating a Mean and Variance for 2 Different SamplesConsider 2 samples of observations. The first sample has 6 observations and the second sample has 9 observations. The commands below show how to calculate a mean and variance for each sample.
## Calculating the Mean Absolute Deviation
The SHAZAM output follows.
The mean absolute deviation is listed as the
## Calculating Factorials and CombinationsA result from calculus is that for an integer n: (n) =
(n where (n) is the gamma function.
With the
Now consider the problem of calculating the number of combinations of k objects chosen from n. The formula, known as the "binomial coefficient", is:
An example is shown with the next SHAZAM commands.
The SHAZAM output follows.
The result shows that the total number of combinations of 3 objects chosen from 6 is 20.
[SHAZAM Guide home] |