Question: VB.Net Write a program that calculates the sine, cosine, and tangent including their error values base upon an input value. In addition create a button
VB.Net Write a program that calculates the sine, cosine, and tangent including their error values base upon an input value. In addition create a button that would save this table as a text.
The basic outline of the program is this:
Class MyMath
Public Shared PI As Double = CompPi()
Public Shared E As Double = CompE()
Private Shared Function CompPi() As Double
...
End Function
Public Shared Function CompE() As Double
...
End
Function Public Shared Function ToRadians(x As Double) As Double
...
End
Function Public Shared Function Sin(x As Double) As Double
...
End Function
Public Shared Function Cos(x As Double) As Double
...
End Function
Public Shared Function Tan(x As Double) As Double
...
End Function
End Class
Sample runs of the program:


In addition, the graph button is optional which opens up a new window that lets you plot the Sine, Cosine, and Tangent.
Sample Run:

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
