numeric
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| numeric [2025/02/27 21:30] – carl | numeric [2026/03/14 21:01] (current) – carl | ||
|---|---|---|---|
| Line 42: | Line 42: | ||
| ==== Java ==== | ==== Java ==== | ||
| Main: [[java: | Main: [[java: | ||
| + | |||
| + | |||
| + | |||
| + | ===== Numeric Observations ===== | ||
| + | |||
| + | When dividing two quantities, the quotient and the remainder have different units. | ||
| + | |||
| + | The units may be different too. Consider calculating the quotient and remainder of 10 meters in 3 seconds. | ||
| + | |||
| + | A = 10 meters | ||
| + | |||
| + | B = 3 seconds | ||
| + | |||
| + | Q = floor(A / B) | ||
| + | |||
| + | R = A % B | ||
| + | |||
| + | This maintains the identity A = Q * B + R. Thus: | ||
| + | |||
| + | Q = 3 meters/ | ||
| + | |||
| + | R = 1 meter | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Taylor Series ===== | ||
| + | The Taylor Series for the exponential function diverges quickly if less than 100 terms are used. These terms tend to have enormous numerators and denominators. | ||
numeric.1740691829.txt.gz · Last modified: by carl
