Phonon density of states of a 1-d linear chain

The phonon density of states of a 1-d linear chain is,

The form below generates a table of where the first column is the angular frequency ω in rad/s and the second column is the density of states D(ω) in units of s/(rad m).

D(ω) 

ω [1012 rad/s]

Mass: m =

[kg]

Spring constant: C =

[N/m]

Lattice constant: a =

[m]

Number of points: N =

The density of states can be used to calculate the temperature dependence of thermodynamic quantities.