Holy shit. 
I made original graph in wolframalpha 4 years ago.
Tried to reproduce it recently, but did not recall precise combination of 
functions.
So, just googled "wolfram fibonacci 0.22" without braces and so, I'm here.

Thank you. XD

вівторок, 10 червня 2014 р. 09:30:30 UTC+3 користувач Андрей Ширшов написав:
>
> Hi!
> Thank you very much for your answer!
> As for Fibonacci function this task proved more difficult than expected. 
> Wolfram Aplha used so called quasi-sine Fibonacci function.
> More information about this function you can get on 
> http://www.student.oulu.fi/~taneliha/Phi6/1/The_%F4golden%F6_hyperbolic_models_of_Universe.pdf
>  
> (page 165).
> Also there is there is very similar state on Russian: 
> http://www.trinitas.ru/rus/doc/0232/004a/02320034.htm
> The task solution is the following:
> gold_ratio = (1+sqrt(5))/2
> sFb(x) = (gold_ratio^(x) - (gold_ratio^(-x))*cos(pi*x))/sqrt(5)
> r(alpha) = 1 + cos(sFb(tan((abs(alpha+pi/2))^0.22)))
> polar_plot(r(alpha), (alpha, -1.5*pi, 0.5*pi))
> The result plot is in attachment.
> Thanks,
> Andrei.
>
> понедельник, 9 июня 2014 г., 0:07:41 UTC+4 пользователь Nils Bruin написал:
>>
>> On Sunday, June 8, 2014 9:40:42 AM UTC-7, Андрей Ширшов wrote:
>>>
>>> TypeError: unable to convert x (=floor(tan(abs(1/2*pi + 
>>> alpha)^0.220000000000000))) to an integer
>>>
>>
>> The problem is that "fibonacci" isn't a symbolic function, so when you 
>> give it an argument, it wants to evaluate it to an integer immediately. The 
>> polar-plot thing never comes in:
>>
>>  sage: fibonacci(floor(tan((abs(alpha+pi/2)^0.22))))
>> TypeError: unable to convert x (=floor(tan(abs(1/2*pi + 
>> alpha)^0.220000000000000))) to an integer
>>
>> Plot functions also accept python-callables as arguments (as long as they 
>> have a way of getting their data points, they're happy), so the following 
>> does work:
>>
>> sage: polar_plot(lambda 
>> alpha:(1+cos(fibonacci(floor(tan((abs(alpha+pi/2)^0.22)))))), (alpha, 
>> -pi/2, pi/2))
>>
>> Alternatively, you could use the closed formula for the fibonacci 
>> sequence as a symbolic expression and work with that:
>>
>> sage: fib(n)=(((1+sqrt(5))/2)^n-((1-sqrt(5))/2)^n)/sqrt(5)
>> sage: polar_plot((1+cos(fib(floor(tan((abs(alpha+pi/2)^0.22)))))), 
>> (alpha, -pi/2, pi/2))
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to