How would I write an acceptance-rejection algorithm for this problem
See attached image.
Edit:
Someone has commented that the bounty is too low, I can't afford more so hopefully, this is less work:
Please see the second attached image for what I've done already. I'm basically just unsure if I have the value of c correct. So if anyone could correct that value (or reassure me that my workings are correct) I will give the bounty—no need for an in-depth explanation of the algorithm or how to find the acceptance rate.
53
Answer
Answers can only be viewed under the following conditions:
- The questioner was satisfied with and accepted the answer, or
- The answer was evaluated as being 100% correct by the judge.
3.5K
-
Hi Mathe, thank you so much for your answer - I accepted it. However, h(x)=kx is exactly what my professor wrote which makes no sense to me either - could there be any other explanation for this which would make sense to you??
-
It is a typo.
The answer is accepted.
Join Matchmaticians Affiliate Marketing
Program to earn up to a 50% commission on every question that your affiliated users ask or answer.
- answered
- 1108 views
- $10.00
This bounty is low for the level of the question and the required work to answer the question.
Hi @Daniel90 please look at the update I have written if you're still interested in helping. Thank you :-)