{{htmlmetatags>metatag-robots=() metatag-title=(EXP | ugBASIC User Manual) metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum) metatag-description=(Manual page for EXP) metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png) metatag-og:title=(EXP | ugBASIC User Manual) metatag-og:description=(Manual page for EXP) }} ====== ugBASIC User Manual ====== ===== EXP ===== ===== SYNTAX ===== = EXP(number) ==== PURPOSE ==== The ''EXP'' command is a mathematical function that calculates the natural exponential of a number. In other words, it raises Napier's number (e = 2.71828) to the specified power. The ''EXP'' function has numerous applications in mathematics, science, and engineering. It is used to describe phenomena that grow at a rate proportional to the amount present, such as population growth or radioactive decay. The natural exponential is closely related to trigonometric functions and can be used to calculate them. Many differential equations have solutions that involve the natural exponential, and it appears in many probability distributions, such as the exponential distribution and the normal distribution. Noe that ''EXP'' function is defined only for ''FLOAT'' numbers. ==== EXAMPLE ==== x = EXP(21) ==== AVAILABLE ON ==== ==== ANY PROBLEM? ==== If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON EXP|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY ===== [[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]