[zxspectrum] Re: Listato Frattali

  • From: Armando Pavese <pavarmando@xxxxxxxxx>
  • To: zxspectrum@xxxxxxxxxxxxx
  • Date: Thu, 15 Feb 2018 13:12:13 +0100

Grazie per aiuto

mi spiace che dubiti di cosa ti dico.

Io invece credo cosa mi dici tu

Ho segnato h al posto di xx perche' xx non viene accettata.


Armando

2018-02-15 10:37 GMT+01:00 Enrico Maria Giordano <
e.m.giordano@xxxxxxxxxxxxxxx>:



Il 15/02/2018 10:23, Enrico Maria Giordano ha scritto:

Prova con LN.


LN
The inverse of an exponential function is a logarithmic function: the
logarithm (to base a) of a number x is the power to which you have to raise
a to get the number x, and it is written logax. Thus by definition
alogax=x; and it is also true that log (ax)=x.
You may well already know how to use base 10 logarithms for doing
multiplications; these are called common logarithms. The ZX Spectrum has a
function LN which calculates logarithms to the base e; these are called
natural logarithms. To calculate logarithms to any other base, you must
divide the natural logarithm by the natural logarithm of the base:

        logax = LN x/ LN a


EMG

--
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg


Other related posts: