// takes the cossine of the number in the selected angle units (rads/degrees) private void cosineButton_Click(object sender, EventArgs e) { functions.Cosine(); display.Text = functions.Entry; }