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
golden_ratio (constant) -> (1+sqrt(5))/2
Modérateur : xcasadmin
-
- Messages : 562
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: golden_ratio (constant) -> (1+sqrt(5))/2
Why are you asking for a new command? Why about typing golden_ratio:=(1+sqrt(5))/2 ?