User:Kinglag/sandbox
Math Tex
[edit]Some Stuff about bases to practice TeX
[edit]
- b, is the base
- m, is the place magnitude
- n, is the multiplier its range is
Examples
[edit]- In base 10, one thousand two hundred thirty four and 5 tenths:
- In base 2, one sixtyfour one eight and one twoth
Coding Your Own Random Base Adder (Object Oriented, Integers Only)
[edit]- Classes that will be needed:
- A number class (Number) that represents your random base number, whose members are:
- A simple class that won't need accessors it will contain an integer datatype whose range is equal to or greater than the desired base. (Integer)
- A data structure in the form of a double linked list. (ArrayList)
- A boolean that is the sign.
- Operators can be contained in the number class or in a separate operator class that uses two number parameters and static methods.
Stated another way: Number has a ArrayList of type Integer and boolean.
Each Integer in the ArrayList is the n in the above formula. Each Integer's index in the ArrayList is its magnitude.
To add two numbers start at the lowest magnitude (0) and add them. Compare the sum to the base and if the sum is greater than the base set carry to 1. Then add the next greatest magnitude and the previous magnitude's carry, repeat until the highest magnitude is reached. If there is a carry add one to the next greatest magnitude of number of the sum.
Example:
- ??8, carry the 1
- 1 from 19 + 2 from 29 + carry
- 48
Example 1
[edit]From Field Mathematics for Electromagnetics, Photonics and Material Science by Dr. Bernard Maxum. Equation: 5.3-10:
Example 2
[edit]
Example 3
[edit]
Example 4
[edit]- 2x^2 - 5x - 12 / x^2 + 3x - 10 * x^2 + 4x + 3 / x^2 - 3x + 2
Statistics
[edit]Vocabulary
[edit]- data: raw observations of a particular question.
- statistics: collecting, simplfying, describing, and infering data.
- population: a whole group.
- sample: a part of a whole group.
- parameter: a description of data based on a population.
- statistic: a description of data based on a sample.
- ranked: data grouped in ascending or descending order.
- resistant measure: A measure of data that is not influenced by extreme data values.
Formula
[edit]Range
[edit]H: High data value
L: Low data value
R: Range
Arithmetic Average (Mean, Average)
[edit]- Population
x: data value
i: index of a data value
N: the count of data values of a population.
- Sample
μ: Arithmetic average of a population. n: the Count of data vaules of a sample. : Arithmetic average of a sample.
Note: there is no numeric difference in these formulas.
Median
[edit]: Median
N: the count of data values of a population.
n: the Count of data vaules of a sample.
If i is not a whole number average the two nearest values.
Note: there is no numeric difference in these formulas.
Standard Deviation and Variance
[edit]- Population
: Population variance : Population deviation : sample variance : sample deviation
Table
[edit]Practice of wikicode tables. Help:Table#Other_table_syntax
Multiplication Table
[edit]1 | 2 | 3 |
2 | 4 | 6 |
3 | 6 | 9 |
Coordinate Table
[edit]0,0 | 1,0 | 2,0 |
0,1 | 1,1 | 2,1 |
0,2 | 1,2 | 2,2 |