Mafs - eviltoast
  • wischi@programming.dev
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    8 months ago

    By tweaking a few parameters you can turn every base into any other base for exponentials. Just use e^(ln(b)*x)

    PS: The formula here would be e^(ln(2)/3*X) and x is the number of months. So the behavior it’s exponential in nature.

    • Aceticon@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      8 months ago

      By that definition you can turn any linear function a * x + b, “exponential” by making it e^ln(a*x +b) even though it’s actually linear (you can do it to anything, including sin() or even ln() itself, which would make per that definition the inverse of exponential “exponential”).

      Essentially you’re just doing f(f-1(g(x))) and then saying “f(m) is em so if I make m = ln(g(x)) then g(x) is exponential”

      Also the correct formula in your example would be e^(ln(2)*X/3) since the original formula if X denotes months is 2X/3