golden_ratio (constant) -> (1+sqrt(5))/2

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 554
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

golden_ratio (constant) -> (1+sqrt(5))/2

Message par compsystems » mer. déc. 25, 2019 7:37 pm

Hi
In Maxima %phi interprets the constant as a golden ratio, having this value is important in the field of didactic mathematics, where several geometric configurations that have this ratio are shown.

Xcas: (possibly new math constant in a future version.)
golden_ratio [enter] (1+sqrt(5))/2
evalf(golden_ratio ) [enter] 1.61803398875

https://en.wikipedia.org/wiki/Golden_ratio

parisse
Messages : 5731
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: golden_ratio (constant) -> (1+sqrt(5))/2

Message par parisse » jeu. déc. 26, 2019 11:30 am

Why are you asking for a new command? Why about typing golden_ratio:=(1+sqrt(5))/2 ?

Répondre