B
Brad Brening
Hello;
I am working in VB.NET and am trying to come up with an equation. I think
my math skills have degraded due to lack of use!
Here is my problem.
I have, say Z amount of credits to assign a user. Lets say Z = 500 credits.
I want to assign those credits over a span of, say, 10 days.
I would like the number of daily credits assigned to represent a sine
function, where the first day Joe would get a large number of credits, fewer
the second day, even fewer the third until on the 10th day the credit amount
is zero. I could represent this as X = Y(2), however that is too linear for
what I am looking to accomplish.
What I have tried to do is create 1/4 of a circle. The circumference of
this segment is Z, or 500 in this case. This is as far as I get. Knowing
X - say day 2, how can I determine my credit amount to assign?
Hopefully this makes sense, I have been beating my head off my desk for some
time over this and I may have shaken something loose!
Brad
I am working in VB.NET and am trying to come up with an equation. I think
my math skills have degraded due to lack of use!
Here is my problem.
I have, say Z amount of credits to assign a user. Lets say Z = 500 credits.
I want to assign those credits over a span of, say, 10 days.
I would like the number of daily credits assigned to represent a sine
function, where the first day Joe would get a large number of credits, fewer
the second day, even fewer the third until on the 10th day the credit amount
is zero. I could represent this as X = Y(2), however that is too linear for
what I am looking to accomplish.
What I have tried to do is create 1/4 of a circle. The circumference of
this segment is Z, or 500 in this case. This is as far as I get. Knowing
X - say day 2, how can I determine my credit amount to assign?
Hopefully this makes sense, I have been beating my head off my desk for some
time over this and I may have shaken something loose!
Brad