汽油依赖
来源:互联网 发布:淘宝假台湾回流紫砂壶 编辑:程序博客网 时间:2024/06/11 04:51
http://www.glassdoor.com/Interview/business-sense-There-are-two-types-of-cars-A-and-B-The-number-of-people-in-US-who-use-A-and-B-are-the-same-They-driv-QTN_831574.htm
business sense: There are two types of cars A and B. The
number of people in US who use A and B are the same. They drive the same distances each month. Now there are two new technologies, X and Y (of equal cost). If apply X, mpg of A would increase from 50 mpg to 75 mpg; If apply Y, mpg of B would increase from 10 mpg to 11 mpg. The goal is to decrease the dependence on foreign oil, or to decrease the consumption of gasoline. Question: which technology would you apply? Follow up question: after applying the technology of your choice, assume there's money available for research on new technology, which car would you choose to conduct research on?Given:
A.people = B.people //Same num people
A.miles = B.miles //Same miles
A.gallons * A.mpg = B.gallons * B.mpg
A.gallons = B.gallons * B.mpg / A.mpg
total.gallons = A.gallons + B.gallons = B.gallons * B.mpg / A.mpg + B.gallons = B.gallons * (1+ B.mpg / A.mpg) = B.gallons * (1+10/50) = 1.2 * B.gallons
total.gallons = A.gallons * (1 + 50/10) = 6 * A.gallons
X.diff = ((1 + 10/50) * B.gallons - (1 + 10/75) * B.gallons) / ((1 + 10/50) * B.gallons) = 5.5% decrease
Y.diff = ((1+ 50/10) * A.gallons - (1+50/11) * A.gallons) / ((1 + 50/10) * A.gallons) = 7.5% decrease //Y has bigger impact
- 汽油依赖
- 汽油涨价
- 汽油补给
- 听见丨比特币突破1.4万美元 市值突破2400亿美元 汽车2022年有望用啤酒驱动,终结对汽油依赖
- 汽油又涨价了
- 吐槽~92#汽油
- 51nod1288 汽油补给
- 【51Nod1288】汽油补给
- 汽油不应长时间存放
- 汽油焊割切割机1500元
- Gas Station 汽油站问题
- 51nod 1288:汽油补给
- 51Nod-1288-汽油补给
- [贪心] 51Nod1288 汽油补给
- 51Nod-1288-汽油补给
- 如果没有汽油,可以用自行车
- 加油站爆出注水汽油 豪车熄火
- 关于汽油清洁剂,到底该不该加?
- NLP Paper Crawler
- Sum Root to Leaf Numbers
- 安装Android SDK时,点击SDK Manager.exe闪退
- [Codeforces] Round #292 (Div. 2) A、B、C
- Mac Environment Variables
- 汽油依赖
- 见好就收,赌钱问题
- dede5.7 tag 内容页相关列表风格修改
- [python]如何使用virtualenvwrapper切换不同版本的python?
- Android SDK Manager国内无法更新的解决方案
- 伞的问题--Bayesian
- Python 虚拟环境:Virtualenv
- Describe 3 kernel functions and when to use which of them
- Leetcode: 4Sum