title: Making Scientific Calculator in visual basic
body: <p><img src="https://i.stack.imgur.com/JZsBq.png" alt="This links to an image of my app&#39;s form"></p>
  
  <hr>
  
  <p>I want to make program in visual basic that can calculate cosine of any angle in degrees such that when I enter the angle in the textbox labeled "angle text box" and hit the "cos" button it well show the result in "result text box".  This code give the cosine in radians.  I need it in degrees</p>
  
  <pre><code>Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
      TextBox2.Text = Math.Cos(TextBox1.Text)
  End Sub
  </code></pre>