首页 » Python代写 » Python机器学习代写 | CSC236 Assignment 1

Python机器学习代写 | CSC236 Assignment 1

本次美国代写是Python机器学习的数学题

1 Question 1

Proof by induction:
Base Case:
When n = 1 we can not split the coin so the result is zero:

n(n 1)=2 = 1(1 1)=2 = 0 Base case hold (1)

Induction Step: Assume let k 2 N and k >= 1, the relation is true from the
base case n = 1 to n = k, which is: winning exactly k(k 1)=2 dollars.
We want to show that the relation holds when n = k + 1 using Induction
hypothesis. When n = k+1 we can split the coins in two piles, one with a coins
and one with b coins where a + b = k + 1.

Notice that a and b are both less or equal to k and greater than 1, therefore the
splitting of a and b should win k(k 1)=2 dollars base on our assumption. So
the total of winning from splitting n = k + 1 coins can be calculated as follow:

Since the relation still holds for n = k +1, by our IH, you always win a total of
exactly n(n 1)=2 dollars with n coins to start with.


程序辅导定制C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


blank

本网站支持 Alipay WeChatPay PayPal等支付方式

E-mail: vipdue@outlook.com  微信号:vipnxx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

blank