Modeling height and sine/cosine functions