Non Linear Formula: Generate Formula From Logic

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I am trying to simulate a slider on a webpage that behaves non-linearly as shown in the illustration below.



I want to generate a mathematical formula that can represent these states and also give all values in between. I thought this looked like something I can achieve with a log formula, but I could not produce a formula that works.



enter image description here







share|cite|improve this question























    up vote
    1
    down vote

    favorite












    I am trying to simulate a slider on a webpage that behaves non-linearly as shown in the illustration below.



    I want to generate a mathematical formula that can represent these states and also give all values in between. I thought this looked like something I can achieve with a log formula, but I could not produce a formula that works.



    enter image description here







    share|cite|improve this question





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I am trying to simulate a slider on a webpage that behaves non-linearly as shown in the illustration below.



      I want to generate a mathematical formula that can represent these states and also give all values in between. I thought this looked like something I can achieve with a log formula, but I could not produce a formula that works.



      enter image description here







      share|cite|improve this question











      I am trying to simulate a slider on a webpage that behaves non-linearly as shown in the illustration below.



      I want to generate a mathematical formula that can represent these states and also give all values in between. I thought this looked like something I can achieve with a log formula, but I could not produce a formula that works.



      enter image description here









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked Jul 15 at 9:59









      James Okpe George

      1455




      1455




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          You can achieve this with an exponential function.



          First define $x$ as a percentage on the slider.



          $f(x)=100times (sqrt[50]10)^x$



          If we evaluate $sqrt[50]10$, we get:



          $f(x)=100times 1.047129^x$



          When $x=50$, $f(50)=1000$. When $x=0$, $f(0)=100$.






          share|cite|improve this answer





















            Your Answer




            StackExchange.ifUsing("editor", function ()
            return StackExchange.using("mathjaxEditing", function ()
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            );
            );
            , "mathjax-editing");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "69"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2852348%2fnon-linear-formula-generate-formula-from-logic%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            You can achieve this with an exponential function.



            First define $x$ as a percentage on the slider.



            $f(x)=100times (sqrt[50]10)^x$



            If we evaluate $sqrt[50]10$, we get:



            $f(x)=100times 1.047129^x$



            When $x=50$, $f(50)=1000$. When $x=0$, $f(0)=100$.






            share|cite|improve this answer

























              up vote
              1
              down vote



              accepted










              You can achieve this with an exponential function.



              First define $x$ as a percentage on the slider.



              $f(x)=100times (sqrt[50]10)^x$



              If we evaluate $sqrt[50]10$, we get:



              $f(x)=100times 1.047129^x$



              When $x=50$, $f(50)=1000$. When $x=0$, $f(0)=100$.






              share|cite|improve this answer























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                You can achieve this with an exponential function.



                First define $x$ as a percentage on the slider.



                $f(x)=100times (sqrt[50]10)^x$



                If we evaluate $sqrt[50]10$, we get:



                $f(x)=100times 1.047129^x$



                When $x=50$, $f(50)=1000$. When $x=0$, $f(0)=100$.






                share|cite|improve this answer













                You can achieve this with an exponential function.



                First define $x$ as a percentage on the slider.



                $f(x)=100times (sqrt[50]10)^x$



                If we evaluate $sqrt[50]10$, we get:



                $f(x)=100times 1.047129^x$



                When $x=50$, $f(50)=1000$. When $x=0$, $f(0)=100$.







                share|cite|improve this answer













                share|cite|improve this answer



                share|cite|improve this answer











                answered Jul 26 at 19:48









                Peter Y.

                387




                387






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2852348%2fnon-linear-formula-generate-formula-from-logic%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What is the equation of a 3D cone with generalised tilt?

                    Color the edges and diagonals of a regular polygon

                    Relationship between determinant of matrix and determinant of adjoint?