Plz帮我完成了这个竞技场模拟 [英] Plz help me with this Arena simulation

查看:103
本文介绍了Plz帮我完成了这个竞技场模拟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有一个竞技场模拟硬件,我被困在这个部分:

由于每个司机填充不同数量的燃气,因此净利润不固定,它连续值在10美元到30美元之间。它遵循概率分布,即40%的汽车是10美元,另外40%是25美元。最后20%是30美元
问题是如何在10到30之间建立连续值。

Plz帮助。

解决方案

到30

。对于40%的汽车,其概率分布为10


,另外40%为25

Hello every body I have an arena simulation HW and I got stuck on this part:
"Since each driver fills different amount of gas, therefore the net profit is not fixed, it has continuous values between 10 $ to 30$. it follows a probability distribution that is 10$ for 40% of the cars, the other 40% is 25$. and the last 20% is 30$"
The question is how to make a continuous values between 10 and 30.
Plz help.

解决方案

to 30


. it follows a probability distribution that is 10


for 40% of the cars, the other 40% is 25


这篇关于Plz帮我完成了这个竞技场模拟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆