Chapter 7 Mathematics and Probability
u011846211
这个作者很懒,什么都没留下…
展开
-
7.0
Topic 7.0 1. Every number can be decomposed into a product of primes. 84=22*31*50*71*110*130*170.,,2. Greatest common divisor gcd(x, y)=2min(j0,k0)*3min(j1,k1)*5min(j2,k2)*…Least common mult翻译 2013-10-04 15:49:56 · 471 阅读 · 0 评论 -
7.2
Topic 7.2 There are three ants on different vertices of a triangle. What is the probability of collision (between any two or all of them) if they start walking on the sides of the triangle? Assume t翻译 2013-10-04 16:53:36 · 464 阅读 · 0 评论 -
7.3
Topic 7.3 Given two lines on a Cartesian plane, determine whether the two lines would intersect.注意:考虑边界条件方法:1) If two lines are the same (same slope and y-intercept), they are considered to inte翻译 2013-10-04 17:09:31 · 586 阅读 · 0 评论 -
7.1
Topic 7.1 You have a basketball hoop and someone says that you can play 1 of 2 games.Game #1: You get one shot to make the hoop.Game #2: You get three shots and you have to make 2 of 3 shots.If翻译 2013-10-04 16:42:26 · 423 阅读 · 0 评论 -
7.4
Topic 7.4 Write methods to implement the multiply, subtract, and divide operations for integers. Use only the add operator.First ask: is this for int? If no, it is not easy to multiply float or翻译 2013-10-06 00:25:44 · 560 阅读 · 0 评论