Get everyone opinion .
What would be the best way to design this math requirement.
I basically have to produce and array of values from 10.00, 10.01, 10.02 ,.......... 15.00 for for some type of array which will be X values. Then after I have produce the array from 10.00 nano meter to 15.00 . I have to use those X array values to produce Y array values from an equation. I am going to make up an equation below. I ultimately want to be able to any range using any number in, and the logic just out put range into an array, so i can use the x values to produce and array of Y values. Review below. I can use list, dictionary, struct etc... but will will be the best way to produce range of values using any two set of numbers
Find Y values from a of range 10.00 to 15.00 nano meters.
Y = X + 3
Example: Y is my output.
X | Y
-----------------
10.00 | 10.03
10.01 | 10.04
10.02 | 10.05
10.03 | 10.06
15.00 | 15.03