find the periodicity of a modular functionIs there an “exists” function for jQuery?How do you find out the caller function in JavaScript?var functionName = function() vs function functionName() How do I find out which DOM element has the focus?Designing function f(f(n)) == -nSet a default parameter value for a JavaScript functionWhere can I find documentation on formatting a date in JavaScript?Easy interview question got harder: given numbers 1..100, find the missing number(s)Is there a standard function to check for null, undefined, or blank variables in JavaScript?Find object by id in an array of JavaScript objects

How does a dynamic QR code work?

Is it a bad idea to plug the other end of ESD strap to wall ground?

Should I tell management that I intend to leave due to bad software development practices?

Forgetting the musical notes while performing in concert

Mathematica command that allows it to read my intentions

How seriously should I take size and weight limits of hand luggage?

In Bayesian inference, why are some terms dropped from the posterior predictive?

What is the most common color to indicate the input-field is disabled?

Why was Sir Cadogan fired?

Finitely generated matrix groups whose eigenvalues are all algebraic

Can compressed videos be decoded back to their uncompresed original format?

Is there a hemisphere-neutral way of specifying a season?

how do we prove that a sum of two periods is still a period?

How to prevent "they're falling in love" trope

Why are UK visa biometrics appointments suspended at USCIS Application Support Centers?

Why do I get negative height?

What exactly is ineptocracy?

What does the same-ish mean?

Does the Idaho Potato Commission associate potato skins with healthy eating?

Is "/bin/[.exe" a legitimate file? [Cygwin, Windows 10]

How can a day be of 24 hours?

Why didn't Boeing produce its own regional jet?

Could neural networks be considered metaheuristics?

Where would I need my direct neural interface to be implanted?



find the periodicity of a modular function


Is there an “exists” function for jQuery?How do you find out the caller function in JavaScript?var functionName = function() vs function functionName() How do I find out which DOM element has the focus?Designing function f(f(n)) == -nSet a default parameter value for a JavaScript functionWhere can I find documentation on formatting a date in JavaScript?Easy interview question got harder: given numbers 1..100, find the missing number(s)Is there a standard function to check for null, undefined, or blank variables in JavaScript?Find object by id in an array of JavaScript objects













0















I created my own version of the fractal (which in fact takes the same principle as the Pythagorean tree).



If you want to know what this gives you can do a little tour here.



 var myCanvas = document.getElementById('cnv');
var ctx = myCanvas.getContext('2d');
myCanvas.style.backgroundColor = "rgba(0, 0, 0, 0.1)";


My draw function like this.



 function draw(x, y, len, angle) 
ctx.beginPath();
ctx.save();
ctx.translate(x, y);
ctx.rotate((angle * Math.sin(len)) );
ctx.moveTo(0, 0);
ctx.lineTo(0, -len);
ctx.stroke();
ctx.strokeStyle = "grey";

if(len < 1)
ctx.restore();
return;

var slider = document.getElementById("myRangeAngle");
slider.oninput = function()
var p = document.getElementById('p');
p.innerHTML = "L'angle : " + slider.value;
ctx.clearRect(0, 0, 1366, 900);
draw(550,578,120,0);

draw(0, -len, len*0.7, - slider.value);
draw(0, -len, len*0.7, slider.value);
ctx.restore();


draw(550,578,200,0);


https://codepen.io/m-metore/pen/Mxvqdq



Here is my problem I have an iterative function, U0 = 200; A + 1 = A * 0.7



or Un = U0 * 0.7 ^ n.



Then I multiply my angle x in (rad) by this formula:



f (x) = x * sin (Un).



My question is is there an integer x for which (fx) gives an integer.



In other words, we must solve x * sin (U0 * 0.7 ^ n) = 2 * PI; (where x and n are integers) and we look for x (which is an integer)
I specify that U0 = 200;



I do not think there is an x such that this equation is true. Do you have any idea of how to prove it?



thank you










share|improve this question
























  • This is more appropriate for Mathematics. But if both U0 and n are known, you can compute the sine and you are left with x * s = k * 2 pi. Further x = k * 2 pi / s. If we substitute 2 * pi / s = c, we want to find k, such that k * c is an integer. The easiest way to do is to try a few k (you probably don't want large k anyway).

    – Nico Schertler
    Mar 22 at 3:04















0















I created my own version of the fractal (which in fact takes the same principle as the Pythagorean tree).



If you want to know what this gives you can do a little tour here.



 var myCanvas = document.getElementById('cnv');
var ctx = myCanvas.getContext('2d');
myCanvas.style.backgroundColor = "rgba(0, 0, 0, 0.1)";


My draw function like this.



 function draw(x, y, len, angle) 
ctx.beginPath();
ctx.save();
ctx.translate(x, y);
ctx.rotate((angle * Math.sin(len)) );
ctx.moveTo(0, 0);
ctx.lineTo(0, -len);
ctx.stroke();
ctx.strokeStyle = "grey";

if(len < 1)
ctx.restore();
return;

var slider = document.getElementById("myRangeAngle");
slider.oninput = function()
var p = document.getElementById('p');
p.innerHTML = "L'angle : " + slider.value;
ctx.clearRect(0, 0, 1366, 900);
draw(550,578,120,0);

draw(0, -len, len*0.7, - slider.value);
draw(0, -len, len*0.7, slider.value);
ctx.restore();


draw(550,578,200,0);


https://codepen.io/m-metore/pen/Mxvqdq



Here is my problem I have an iterative function, U0 = 200; A + 1 = A * 0.7



or Un = U0 * 0.7 ^ n.



Then I multiply my angle x in (rad) by this formula:



f (x) = x * sin (Un).



My question is is there an integer x for which (fx) gives an integer.



In other words, we must solve x * sin (U0 * 0.7 ^ n) = 2 * PI; (where x and n are integers) and we look for x (which is an integer)
I specify that U0 = 200;



I do not think there is an x such that this equation is true. Do you have any idea of how to prove it?



thank you










share|improve this question
























  • This is more appropriate for Mathematics. But if both U0 and n are known, you can compute the sine and you are left with x * s = k * 2 pi. Further x = k * 2 pi / s. If we substitute 2 * pi / s = c, we want to find k, such that k * c is an integer. The easiest way to do is to try a few k (you probably don't want large k anyway).

    – Nico Schertler
    Mar 22 at 3:04













0












0








0


1






I created my own version of the fractal (which in fact takes the same principle as the Pythagorean tree).



If you want to know what this gives you can do a little tour here.



 var myCanvas = document.getElementById('cnv');
var ctx = myCanvas.getContext('2d');
myCanvas.style.backgroundColor = "rgba(0, 0, 0, 0.1)";


My draw function like this.



 function draw(x, y, len, angle) 
ctx.beginPath();
ctx.save();
ctx.translate(x, y);
ctx.rotate((angle * Math.sin(len)) );
ctx.moveTo(0, 0);
ctx.lineTo(0, -len);
ctx.stroke();
ctx.strokeStyle = "grey";

if(len < 1)
ctx.restore();
return;

var slider = document.getElementById("myRangeAngle");
slider.oninput = function()
var p = document.getElementById('p');
p.innerHTML = "L'angle : " + slider.value;
ctx.clearRect(0, 0, 1366, 900);
draw(550,578,120,0);

draw(0, -len, len*0.7, - slider.value);
draw(0, -len, len*0.7, slider.value);
ctx.restore();


draw(550,578,200,0);


https://codepen.io/m-metore/pen/Mxvqdq



Here is my problem I have an iterative function, U0 = 200; A + 1 = A * 0.7



or Un = U0 * 0.7 ^ n.



Then I multiply my angle x in (rad) by this formula:



f (x) = x * sin (Un).



My question is is there an integer x for which (fx) gives an integer.



In other words, we must solve x * sin (U0 * 0.7 ^ n) = 2 * PI; (where x and n are integers) and we look for x (which is an integer)
I specify that U0 = 200;



I do not think there is an x such that this equation is true. Do you have any idea of how to prove it?



thank you










share|improve this question
















I created my own version of the fractal (which in fact takes the same principle as the Pythagorean tree).



If you want to know what this gives you can do a little tour here.



 var myCanvas = document.getElementById('cnv');
var ctx = myCanvas.getContext('2d');
myCanvas.style.backgroundColor = "rgba(0, 0, 0, 0.1)";


My draw function like this.



 function draw(x, y, len, angle) 
ctx.beginPath();
ctx.save();
ctx.translate(x, y);
ctx.rotate((angle * Math.sin(len)) );
ctx.moveTo(0, 0);
ctx.lineTo(0, -len);
ctx.stroke();
ctx.strokeStyle = "grey";

if(len < 1)
ctx.restore();
return;

var slider = document.getElementById("myRangeAngle");
slider.oninput = function()
var p = document.getElementById('p');
p.innerHTML = "L'angle : " + slider.value;
ctx.clearRect(0, 0, 1366, 900);
draw(550,578,120,0);

draw(0, -len, len*0.7, - slider.value);
draw(0, -len, len*0.7, slider.value);
ctx.restore();


draw(550,578,200,0);


https://codepen.io/m-metore/pen/Mxvqdq



Here is my problem I have an iterative function, U0 = 200; A + 1 = A * 0.7



or Un = U0 * 0.7 ^ n.



Then I multiply my angle x in (rad) by this formula:



f (x) = x * sin (Un).



My question is is there an integer x for which (fx) gives an integer.



In other words, we must solve x * sin (U0 * 0.7 ^ n) = 2 * PI; (where x and n are integers) and we look for x (which is an integer)
I specify that U0 = 200;



I do not think there is an x such that this equation is true. Do you have any idea of how to prove it?



thank you







javascript math






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 21 at 22:31









ahmet

14212




14212










asked Mar 21 at 20:30









meteor meteormeteor meteor

11




11












  • This is more appropriate for Mathematics. But if both U0 and n are known, you can compute the sine and you are left with x * s = k * 2 pi. Further x = k * 2 pi / s. If we substitute 2 * pi / s = c, we want to find k, such that k * c is an integer. The easiest way to do is to try a few k (you probably don't want large k anyway).

    – Nico Schertler
    Mar 22 at 3:04

















  • This is more appropriate for Mathematics. But if both U0 and n are known, you can compute the sine and you are left with x * s = k * 2 pi. Further x = k * 2 pi / s. If we substitute 2 * pi / s = c, we want to find k, such that k * c is an integer. The easiest way to do is to try a few k (you probably don't want large k anyway).

    – Nico Schertler
    Mar 22 at 3:04
















This is more appropriate for Mathematics. But if both U0 and n are known, you can compute the sine and you are left with x * s = k * 2 pi. Further x = k * 2 pi / s. If we substitute 2 * pi / s = c, we want to find k, such that k * c is an integer. The easiest way to do is to try a few k (you probably don't want large k anyway).

– Nico Schertler
Mar 22 at 3:04





This is more appropriate for Mathematics. But if both U0 and n are known, you can compute the sine and you are left with x * s = k * 2 pi. Further x = k * 2 pi / s. If we substitute 2 * pi / s = c, we want to find k, such that k * c is an integer. The easiest way to do is to try a few k (you probably don't want large k anyway).

– Nico Schertler
Mar 22 at 3:04












1 Answer
1






active

oldest

votes


















0














according to the Lindemann-Weierstrass theorem sin (200 * O.7 ^ n) is a transcendent number https://planetmath.org/proofoflindemannweierstrasstheoremandthateandpiaretranscendental
so I have to show that arcsin (2 * PI / x) is an irrational number.




The best way to do this is to try some k (anyway, you do not want big
k).




in fact I want to demonstrate for all numbers k that's why.
Thank you for your help !






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    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
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55288798%2ffind-the-periodicity-of-a-modular-function%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    according to the Lindemann-Weierstrass theorem sin (200 * O.7 ^ n) is a transcendent number https://planetmath.org/proofoflindemannweierstrasstheoremandthateandpiaretranscendental
    so I have to show that arcsin (2 * PI / x) is an irrational number.




    The best way to do this is to try some k (anyway, you do not want big
    k).




    in fact I want to demonstrate for all numbers k that's why.
    Thank you for your help !






    share|improve this answer



























      0














      according to the Lindemann-Weierstrass theorem sin (200 * O.7 ^ n) is a transcendent number https://planetmath.org/proofoflindemannweierstrasstheoremandthateandpiaretranscendental
      so I have to show that arcsin (2 * PI / x) is an irrational number.




      The best way to do this is to try some k (anyway, you do not want big
      k).




      in fact I want to demonstrate for all numbers k that's why.
      Thank you for your help !






      share|improve this answer

























        0












        0








        0







        according to the Lindemann-Weierstrass theorem sin (200 * O.7 ^ n) is a transcendent number https://planetmath.org/proofoflindemannweierstrasstheoremandthateandpiaretranscendental
        so I have to show that arcsin (2 * PI / x) is an irrational number.




        The best way to do this is to try some k (anyway, you do not want big
        k).




        in fact I want to demonstrate for all numbers k that's why.
        Thank you for your help !






        share|improve this answer













        according to the Lindemann-Weierstrass theorem sin (200 * O.7 ^ n) is a transcendent number https://planetmath.org/proofoflindemannweierstrasstheoremandthateandpiaretranscendental
        so I have to show that arcsin (2 * PI / x) is an irrational number.




        The best way to do this is to try some k (anyway, you do not want big
        k).




        in fact I want to demonstrate for all numbers k that's why.
        Thank you for your help !







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 22 at 5:21









        meteor meteormeteor meteor

        11




        11





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • 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.

            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%2fstackoverflow.com%2fquestions%2f55288798%2ffind-the-periodicity-of-a-modular-function%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

            Obelisk of Theodosius Contents History Description Notes Bibliography Further reading External links Navigation menuAge of spirituality : late antique and early Christian art, third to seventh centuryOver 60 picturesObelisks of the World41°00′21.24″N 28°58′31.43″E / 41.0059000°N 28.9753972°E / 41.0059000; 28.97539727724550-7235741376235741376

            밀양 대씨 역사 각주 함께 보기 둘러보기 메뉴밀양 대씨

            1973년 목차 사건 문화 탄생 사망 노벨상 달력 둘러보기 메뉴