MATLAB1
An Introduction MATLAB
Introduction
Getting Started: Some Arithmetic
The Golden Ratio
http://en.wikipedia.org/wiki/Golden_ratio
phi = (1 + sqrt(5))/2
phi = 1.6180
format long
phi
phi = 1.618033988749895
φ2 − φ − 1 = 0
p = [1 -1 -1]
r = roots(p)
r = -0.618033988749895 1.618033988749895