Page 1 sur 1

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

Publié : mer. déc. 25, 2019 7:37 pm
par compsystems
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

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

Publié : jeu. déc. 26, 2019 11:30 am
par parisse
Why are you asking for a new command? Why about typing golden_ratio:=(1+sqrt(5))/2 ?