Created
September 17, 2014 01:50
-
-
Save svolpe43/019ae7538b9b5ba358d6 to your computer and use it in GitHub Desktop.
VB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step = .001 | |
A = 500; | |
B = 1000; | |
Range = A - B | |
arrayLength = Range / Step | |
Dim array(arrayLength) As Integer | |
For index As integer = 0 to arrayLength | |
array(index) = sin(A + (step * index)); | |
Next | |
// | |
array | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment