| Themes > Science > Mathematics > Recursive Formulas > Recursive Formulas for B / A | ||||||||||||||||||||||||||
Explicit form: Find B/A where B and A are real numbers and B > 0 Recursive form: Convert B and A to scientific notation base 2 (C++ has function "frexp" for this). Note: mantissa is ³ .5 and < 1. Let
a = mantissa of A B / A = yi * 2exp Example: 314.51 / 5.6789 Written in base-2 scientific notation:B = 0.61357421875 * 29 A = 0.7098625 * 23 exp = 9 - 3 = 6
B / A = 0.864356433463227 * 26 = 55.318811741710538 55.318811741710538 (true value) |
||||||||||||||||||||||||||
|
|