What is the function for a 'fractal sine wave'?












1












$begingroup$


Maybe I abused the word fractal here. I was wondering what's the function ( if not functions ) for this wave:



'fractal' sine wave



My attempt was this function, It looks the same, but It's not.
The second sine wave is following the envelope of the first, somewhat following the 90-degree angle of the first sine wave.



$y=frac{sin(200*x)}{10}+sin(x)$



wave



wave1










share|cite|improve this question











$endgroup$












  • $begingroup$
    PS: Sorry the axis weren't proportional.
    $endgroup$
    – Muhamed Krlić
    Oct 17 '15 at 13:28






  • 2




    $begingroup$
    That doesn't even look like a function -- it goes backwards near the middle of your plot.
    $endgroup$
    – Henning Makholm
    Oct 17 '15 at 13:29


















1












$begingroup$


Maybe I abused the word fractal here. I was wondering what's the function ( if not functions ) for this wave:



'fractal' sine wave



My attempt was this function, It looks the same, but It's not.
The second sine wave is following the envelope of the first, somewhat following the 90-degree angle of the first sine wave.



$y=frac{sin(200*x)}{10}+sin(x)$



wave



wave1










share|cite|improve this question











$endgroup$












  • $begingroup$
    PS: Sorry the axis weren't proportional.
    $endgroup$
    – Muhamed Krlić
    Oct 17 '15 at 13:28






  • 2




    $begingroup$
    That doesn't even look like a function -- it goes backwards near the middle of your plot.
    $endgroup$
    – Henning Makholm
    Oct 17 '15 at 13:29
















1












1








1


1



$begingroup$


Maybe I abused the word fractal here. I was wondering what's the function ( if not functions ) for this wave:



'fractal' sine wave



My attempt was this function, It looks the same, but It's not.
The second sine wave is following the envelope of the first, somewhat following the 90-degree angle of the first sine wave.



$y=frac{sin(200*x)}{10}+sin(x)$



wave



wave1










share|cite|improve this question











$endgroup$




Maybe I abused the word fractal here. I was wondering what's the function ( if not functions ) for this wave:



'fractal' sine wave



My attempt was this function, It looks the same, but It's not.
The second sine wave is following the envelope of the first, somewhat following the 90-degree angle of the first sine wave.



$y=frac{sin(200*x)}{10}+sin(x)$



wave



wave1







functions approximation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Oct 23 '15 at 20:42









Zach466920

6,23111142




6,23111142










asked Oct 17 '15 at 13:25









Muhamed KrlićMuhamed Krlić

14817




14817












  • $begingroup$
    PS: Sorry the axis weren't proportional.
    $endgroup$
    – Muhamed Krlić
    Oct 17 '15 at 13:28






  • 2




    $begingroup$
    That doesn't even look like a function -- it goes backwards near the middle of your plot.
    $endgroup$
    – Henning Makholm
    Oct 17 '15 at 13:29




















  • $begingroup$
    PS: Sorry the axis weren't proportional.
    $endgroup$
    – Muhamed Krlić
    Oct 17 '15 at 13:28






  • 2




    $begingroup$
    That doesn't even look like a function -- it goes backwards near the middle of your plot.
    $endgroup$
    – Henning Makholm
    Oct 17 '15 at 13:29


















$begingroup$
PS: Sorry the axis weren't proportional.
$endgroup$
– Muhamed Krlić
Oct 17 '15 at 13:28




$begingroup$
PS: Sorry the axis weren't proportional.
$endgroup$
– Muhamed Krlić
Oct 17 '15 at 13:28




2




2




$begingroup$
That doesn't even look like a function -- it goes backwards near the middle of your plot.
$endgroup$
– Henning Makholm
Oct 17 '15 at 13:29






$begingroup$
That doesn't even look like a function -- it goes backwards near the middle of your plot.
$endgroup$
– Henning Makholm
Oct 17 '15 at 13:29












3 Answers
3






active

oldest

votes


















3












$begingroup$

Probably not what you had in mind, but this is what you get with the parametric equation below:



$$x=t-frac{cos(t)}{sqrt{1+cos^2(t)}}0.15sin(12t)\
y=sin(t)+frac1{sqrt{1+cos^2(t)}}0.15sin(12t)$$



enter image description here






share|cite|improve this answer









$endgroup$













  • $begingroup$
    I think this is what I was looking for.
    $endgroup$
    – Muhamed Krlić
    Oct 17 '15 at 13:46










  • $begingroup$
    Which was gotten by computing the upwards unit normal vector, scaling by $0.15sin(12t)$ (because the small waves go through 12 periods while the main sine wave goes through 1 in the original graphic, and eyeballing the figure $0.15$), then adding it to the original parametrization.
    $endgroup$
    – whacka
    Oct 17 '15 at 13:48








  • 1




    $begingroup$
    @whacka: obviously :) If you feel in a good shape, you can derive the equation with an added third generation wave :)
    $endgroup$
    – Yves Daoust
    Oct 17 '15 at 13:49





















2












$begingroup$

If you are actually looking for a fractal sine wave, you probably mean this function from Weierstrauss:



$$f(x)=sum_{n=0}^{infty}left(frac 23right)^ncos(9^npi x)$$



The main fame of this function is that it is continuous everywhere but differentiable nowhere.



Here are the first four partial sums of that series, for $n=0,1,2,3$. The graph you show is similar to the second one, which has the equation



$$f1(x)=cos(pi x)+frac 23cos(9pi x)$$



enter image description hereenter image description hereenter image description hereenter image description here






share|cite|improve this answer









$endgroup$





















    1












    $begingroup$

    Perhaps you are looking for functions of the form



    $y=asin(bx)+csin(dx)$



    with $a,b,c,d$ positive constants.



    For example: Try $a=1,b=1,c=.3,d=12$ to start with -- and play around with it till it matches your purpose.






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      Sorry, I mistyped my formula. This is what I already tried.
      $endgroup$
      – Muhamed Krlić
      Oct 17 '15 at 13:42











    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    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%2f1484403%2fwhat-is-the-function-for-a-fractal-sine-wave%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3












    $begingroup$

    Probably not what you had in mind, but this is what you get with the parametric equation below:



    $$x=t-frac{cos(t)}{sqrt{1+cos^2(t)}}0.15sin(12t)\
    y=sin(t)+frac1{sqrt{1+cos^2(t)}}0.15sin(12t)$$



    enter image description here






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      I think this is what I was looking for.
      $endgroup$
      – Muhamed Krlić
      Oct 17 '15 at 13:46










    • $begingroup$
      Which was gotten by computing the upwards unit normal vector, scaling by $0.15sin(12t)$ (because the small waves go through 12 periods while the main sine wave goes through 1 in the original graphic, and eyeballing the figure $0.15$), then adding it to the original parametrization.
      $endgroup$
      – whacka
      Oct 17 '15 at 13:48








    • 1




      $begingroup$
      @whacka: obviously :) If you feel in a good shape, you can derive the equation with an added third generation wave :)
      $endgroup$
      – Yves Daoust
      Oct 17 '15 at 13:49


















    3












    $begingroup$

    Probably not what you had in mind, but this is what you get with the parametric equation below:



    $$x=t-frac{cos(t)}{sqrt{1+cos^2(t)}}0.15sin(12t)\
    y=sin(t)+frac1{sqrt{1+cos^2(t)}}0.15sin(12t)$$



    enter image description here






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      I think this is what I was looking for.
      $endgroup$
      – Muhamed Krlić
      Oct 17 '15 at 13:46










    • $begingroup$
      Which was gotten by computing the upwards unit normal vector, scaling by $0.15sin(12t)$ (because the small waves go through 12 periods while the main sine wave goes through 1 in the original graphic, and eyeballing the figure $0.15$), then adding it to the original parametrization.
      $endgroup$
      – whacka
      Oct 17 '15 at 13:48








    • 1




      $begingroup$
      @whacka: obviously :) If you feel in a good shape, you can derive the equation with an added third generation wave :)
      $endgroup$
      – Yves Daoust
      Oct 17 '15 at 13:49
















    3












    3








    3





    $begingroup$

    Probably not what you had in mind, but this is what you get with the parametric equation below:



    $$x=t-frac{cos(t)}{sqrt{1+cos^2(t)}}0.15sin(12t)\
    y=sin(t)+frac1{sqrt{1+cos^2(t)}}0.15sin(12t)$$



    enter image description here






    share|cite|improve this answer









    $endgroup$



    Probably not what you had in mind, but this is what you get with the parametric equation below:



    $$x=t-frac{cos(t)}{sqrt{1+cos^2(t)}}0.15sin(12t)\
    y=sin(t)+frac1{sqrt{1+cos^2(t)}}0.15sin(12t)$$



    enter image description here







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Oct 17 '15 at 13:42









    Yves DaoustYves Daoust

    129k675227




    129k675227












    • $begingroup$
      I think this is what I was looking for.
      $endgroup$
      – Muhamed Krlić
      Oct 17 '15 at 13:46










    • $begingroup$
      Which was gotten by computing the upwards unit normal vector, scaling by $0.15sin(12t)$ (because the small waves go through 12 periods while the main sine wave goes through 1 in the original graphic, and eyeballing the figure $0.15$), then adding it to the original parametrization.
      $endgroup$
      – whacka
      Oct 17 '15 at 13:48








    • 1




      $begingroup$
      @whacka: obviously :) If you feel in a good shape, you can derive the equation with an added third generation wave :)
      $endgroup$
      – Yves Daoust
      Oct 17 '15 at 13:49




















    • $begingroup$
      I think this is what I was looking for.
      $endgroup$
      – Muhamed Krlić
      Oct 17 '15 at 13:46










    • $begingroup$
      Which was gotten by computing the upwards unit normal vector, scaling by $0.15sin(12t)$ (because the small waves go through 12 periods while the main sine wave goes through 1 in the original graphic, and eyeballing the figure $0.15$), then adding it to the original parametrization.
      $endgroup$
      – whacka
      Oct 17 '15 at 13:48








    • 1




      $begingroup$
      @whacka: obviously :) If you feel in a good shape, you can derive the equation with an added third generation wave :)
      $endgroup$
      – Yves Daoust
      Oct 17 '15 at 13:49


















    $begingroup$
    I think this is what I was looking for.
    $endgroup$
    – Muhamed Krlić
    Oct 17 '15 at 13:46




    $begingroup$
    I think this is what I was looking for.
    $endgroup$
    – Muhamed Krlić
    Oct 17 '15 at 13:46












    $begingroup$
    Which was gotten by computing the upwards unit normal vector, scaling by $0.15sin(12t)$ (because the small waves go through 12 periods while the main sine wave goes through 1 in the original graphic, and eyeballing the figure $0.15$), then adding it to the original parametrization.
    $endgroup$
    – whacka
    Oct 17 '15 at 13:48






    $begingroup$
    Which was gotten by computing the upwards unit normal vector, scaling by $0.15sin(12t)$ (because the small waves go through 12 periods while the main sine wave goes through 1 in the original graphic, and eyeballing the figure $0.15$), then adding it to the original parametrization.
    $endgroup$
    – whacka
    Oct 17 '15 at 13:48






    1




    1




    $begingroup$
    @whacka: obviously :) If you feel in a good shape, you can derive the equation with an added third generation wave :)
    $endgroup$
    – Yves Daoust
    Oct 17 '15 at 13:49






    $begingroup$
    @whacka: obviously :) If you feel in a good shape, you can derive the equation with an added third generation wave :)
    $endgroup$
    – Yves Daoust
    Oct 17 '15 at 13:49













    2












    $begingroup$

    If you are actually looking for a fractal sine wave, you probably mean this function from Weierstrauss:



    $$f(x)=sum_{n=0}^{infty}left(frac 23right)^ncos(9^npi x)$$



    The main fame of this function is that it is continuous everywhere but differentiable nowhere.



    Here are the first four partial sums of that series, for $n=0,1,2,3$. The graph you show is similar to the second one, which has the equation



    $$f1(x)=cos(pi x)+frac 23cos(9pi x)$$



    enter image description hereenter image description hereenter image description hereenter image description here






    share|cite|improve this answer









    $endgroup$


















      2












      $begingroup$

      If you are actually looking for a fractal sine wave, you probably mean this function from Weierstrauss:



      $$f(x)=sum_{n=0}^{infty}left(frac 23right)^ncos(9^npi x)$$



      The main fame of this function is that it is continuous everywhere but differentiable nowhere.



      Here are the first four partial sums of that series, for $n=0,1,2,3$. The graph you show is similar to the second one, which has the equation



      $$f1(x)=cos(pi x)+frac 23cos(9pi x)$$



      enter image description hereenter image description hereenter image description hereenter image description here






      share|cite|improve this answer









      $endgroup$
















        2












        2








        2





        $begingroup$

        If you are actually looking for a fractal sine wave, you probably mean this function from Weierstrauss:



        $$f(x)=sum_{n=0}^{infty}left(frac 23right)^ncos(9^npi x)$$



        The main fame of this function is that it is continuous everywhere but differentiable nowhere.



        Here are the first four partial sums of that series, for $n=0,1,2,3$. The graph you show is similar to the second one, which has the equation



        $$f1(x)=cos(pi x)+frac 23cos(9pi x)$$



        enter image description hereenter image description hereenter image description hereenter image description here






        share|cite|improve this answer









        $endgroup$



        If you are actually looking for a fractal sine wave, you probably mean this function from Weierstrauss:



        $$f(x)=sum_{n=0}^{infty}left(frac 23right)^ncos(9^npi x)$$



        The main fame of this function is that it is continuous everywhere but differentiable nowhere.



        Here are the first four partial sums of that series, for $n=0,1,2,3$. The graph you show is similar to the second one, which has the equation



        $$f1(x)=cos(pi x)+frac 23cos(9pi x)$$



        enter image description hereenter image description hereenter image description hereenter image description here







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Oct 17 '15 at 13:42









        Rory DaultonRory Daulton

        29.5k63355




        29.5k63355























            1












            $begingroup$

            Perhaps you are looking for functions of the form



            $y=asin(bx)+csin(dx)$



            with $a,b,c,d$ positive constants.



            For example: Try $a=1,b=1,c=.3,d=12$ to start with -- and play around with it till it matches your purpose.






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Sorry, I mistyped my formula. This is what I already tried.
              $endgroup$
              – Muhamed Krlić
              Oct 17 '15 at 13:42
















            1












            $begingroup$

            Perhaps you are looking for functions of the form



            $y=asin(bx)+csin(dx)$



            with $a,b,c,d$ positive constants.



            For example: Try $a=1,b=1,c=.3,d=12$ to start with -- and play around with it till it matches your purpose.






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Sorry, I mistyped my formula. This is what I already tried.
              $endgroup$
              – Muhamed Krlić
              Oct 17 '15 at 13:42














            1












            1








            1





            $begingroup$

            Perhaps you are looking for functions of the form



            $y=asin(bx)+csin(dx)$



            with $a,b,c,d$ positive constants.



            For example: Try $a=1,b=1,c=.3,d=12$ to start with -- and play around with it till it matches your purpose.






            share|cite|improve this answer









            $endgroup$



            Perhaps you are looking for functions of the form



            $y=asin(bx)+csin(dx)$



            with $a,b,c,d$ positive constants.



            For example: Try $a=1,b=1,c=.3,d=12$ to start with -- and play around with it till it matches your purpose.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Oct 17 '15 at 13:34









            OnceUponACrinoidOnceUponACrinoid

            73136




            73136












            • $begingroup$
              Sorry, I mistyped my formula. This is what I already tried.
              $endgroup$
              – Muhamed Krlić
              Oct 17 '15 at 13:42


















            • $begingroup$
              Sorry, I mistyped my formula. This is what I already tried.
              $endgroup$
              – Muhamed Krlić
              Oct 17 '15 at 13:42
















            $begingroup$
            Sorry, I mistyped my formula. This is what I already tried.
            $endgroup$
            – Muhamed Krlić
            Oct 17 '15 at 13:42




            $begingroup$
            Sorry, I mistyped my formula. This is what I already tried.
            $endgroup$
            – Muhamed Krlić
            Oct 17 '15 at 13:42


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1484403%2fwhat-is-the-function-for-a-fractal-sine-wave%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

            SQL update select statement

            'app-layout' is not a known element: how to share Component with different Modules