Need a win/loose algoritm writting in javascript
- or -
Post a project like this2208
$$$
- Posted:
- Proposals: 3
- Remote
- #1931319
- Awarded
Description
Experience Level: Expert
im stuck finding a solution for a math problem on my side.
sample scenario_
lets say i earn 10.000 per month (in)
80% of this goes in prices with different value (8000 to pay out [around] per month)
lets say 100 times prices for 10, 20 times for 50, 2 times for 500 and so one...
people can get tickets to get chance to win any of the prices for free.
so there is no extra INcome!
the amount of tickets is not defined, it can be any quantity.
so its possible that in one day 100 tickets get played in another day 10.000
so when somebody open a ticket
the chance that somebody win one of the prices must depend on the allowed out value including balanced out to 30 days.
so the goal is that MORE OR LESS the winnings will cashout in about 30 days +- a few days maximum
if you have any idea how to create a formula that can provide me what i need, feel free to bid on this job.
best wishes
dan
sample scenario_
lets say i earn 10.000 per month (in)
80% of this goes in prices with different value (8000 to pay out [around] per month)
lets say 100 times prices for 10, 20 times for 50, 2 times for 500 and so one...
people can get tickets to get chance to win any of the prices for free.
so there is no extra INcome!
the amount of tickets is not defined, it can be any quantity.
so its possible that in one day 100 tickets get played in another day 10.000
so when somebody open a ticket
the chance that somebody win one of the prices must depend on the allowed out value including balanced out to 30 days.
so the goal is that MORE OR LESS the winnings will cashout in about 30 days +- a few days maximum
if you have any idea how to create a formula that can provide me what i need, feel free to bid on this job.
best wishes
dan
Daniel L.
100% (11)Projects Completed
12
Freelancers worked with
11
Projects awarded
28%
Last project
11 Feb 2021
Romania
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies