Pure Programmer
Blue Matrix


Cluster Map

Project: Expressions

Write a program that computes and prints the values for [[Golden Ratio]], [[√2]], [[cos]] [[π]]/4, [[log]]₂ 13 and [[Natural_logarithm|ln]] [[E_(mathematical_constant)|𝑒]]

Output
$ perl Expressions.pl 𝜑: 1.61803398874989 √2: 1.4142135623731 cos(π/4): 0.707106781186548 log₂ 13: 3.70043971814109 ln ℯ: 1

Solution