Announcements
New Discussions
Best spinnaker halyard line material?
by '81 Hobie 16 Lac Leman. 03/31/24 10:31 AM
Previous Thread
Next Thread
Print Thread
Rate Thread
Hop To
Page 3 of 4 1 2 3 4
Re: Answers to the question [Re: ncik] #128401
01/15/08 07:43 AM
01/15/08 07:43 AM
Joined: Jun 2001
Posts: 9,582
North-West Europe
Wouter Offline
Carpal Tunnel
Wouter  Offline
Carpal Tunnel

Joined: Jun 2001
Posts: 9,582
North-West Europe
The number 9 can not be factored in either 2's or 5's and it is not a prime number, it does however remain in the leftover series when calculating 100! and therefor your statement "-reduce all the numbers down to there prime numbers" is incorrect. Also problematic is factorizing a number like 10 to 5's; the result is 2*5 and 2 is most definately not a prime number either.

2*5 = 10 where neither 2 or 5 is a factor of 10. This is a direct counter example to your statement :"only multiplying by 10 or a factor of 10 will produce a trailing zero". The problem here is your use of the word "only"; if you had left that one out then the statement would have been truthful.


Again, like others, you have discribed a method of calculating the number of trailing zero's without proving that this method is actually producing the correct number of trailing zero's. As such you have ONLY proven the minimal amount of trailing zero's to be 24.

This is a small but very important difference in mathematics.

An example; I can show that 20 can be divided by 2 but this doesn't show that it can ONLY be devided by 2.

Interesting stuff right ? It actually factors in with alot of discussions of boat design we have on these forums. There too people "proof" stuff using simple but not "logically thorough" means, making their believes sometimes unfouded or even wrong.

One example of course being that shorter hulls are always slower and as such the F16's can never be as fast as F18's. They could "proof" this by showing that the shorter (and lighter) P16 is significantly slower then the Prindle 18 while the general layout of both designs is almost identical. This statement is in itself truthful but its extrapolation to the conclusion that therefor the smaller (and lighter) F16's must be significant slower then the very similarly designed F18's is simply wrong.

Or Bill Roberts favourite gem ; That where monohull top speeds are determined by Max Speed = 1.54 *sqrt(hull length), multihull top speeds are determined by Max Speed = 4.5 * sqrt(hull length)

You can proof the existance and validity of the first relation but not of the second even though one can show that both produce relative accurate max speeds for a range of boats (but not for the whole range of possible designs).

Showing that some results/statements are correct does not equate to proving that only they are correct or that they are always correct.

Interestingly enough the reverse is however true. A single counter example is enough to completely devalidate any given statement and as such equates as being a fully enclosed (counter) proof.

Wouter

Last edited by Wouter; 01/15/08 08:09 AM.
--Advertisement--
Re: Answers to the question [Re: Wouter] #128402
01/15/08 09:07 AM
01/15/08 09:07 AM
Joined: Feb 2004
Posts: 3,528
Looking for a Job, I got credi...
scooby_simon Offline
Hull Flying, Snow Sliding....
scooby_simon  Offline
Hull Flying, Snow Sliding....
Carpal Tunnel

Joined: Feb 2004
Posts: 3,528
Looking for a Job, I got credi...
Quote


With respect to :

Quote

I also operate in the real world now, where time is money, and Simple is usually best.



There are things in the real world like designing airplanes, rockets, medicine and nuclear or chemical reactors were getting things absolutely right is paramount and trumps any "time is money" or "simple is best" considerations.


We are talking on an internet forum, not designing airplanes, rockets, medicine and nuclear or chemical reactors.

I'll stick with "simple is best".


F16 - GBR 553 - SOLD

I also talk sport here
Re: Answers to the question [Re: Wouter] #128403
01/15/08 09:07 AM
01/15/08 09:07 AM
Joined: Jul 2007
Posts: 976
France
pepin Offline
old hand
pepin  Offline
old hand

Joined: Jul 2007
Posts: 976
France
Pff, lots of noise about nothing. For 100! just use your computer:

Code
  
pepin@bombast:~ % python
Python 2.3.5 (#1, Aug 19 2006, 21:31:42) 
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

>>> result = 1
>>> for i in range(1,101):
...     result *= i
... 
>>> 
>>> result
93326215443944152681699238856266700490715968264381621468592963895217599993229915
608941463976156518286253697920827223758251185210916864000000000000000000000000L
>>> 

Re: Answers to the question [Re: pepin] #128404
01/15/08 10:33 AM
01/15/08 10:33 AM
Joined: Jun 2001
Posts: 9,582
North-West Europe
Wouter Offline
Carpal Tunnel
Wouter  Offline
Carpal Tunnel

Joined: Jun 2001
Posts: 9,582
North-West Europe
Quote

For 100! just use your computer:




It is not that simple, is it ?

Most computers can not store integer numbers larger then

(2^64 -1) = (18446744073709551616-1) = 18446744073709551615

as they are limited by 64 bits processors and memory slots.

The number 100! is substantially large then that.

So nearly all numerical software switches to floating point number presentation which shortens the number part of the storage space to at least 56 bit as the exponential needs to be stored as well.

This limit the total integer part of the floating point number to :

(2^56 -1) = (72057594037927936-1) = 72057594037927935

Which in turn only allowes floating point numbers to be accurate only to their 17th digit.

This is much much much smaller then the number 100! you give (about 8 times more digits) :

110! = 93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518
286253697920827223758251185210916864000000000000000000000000


So the comment "just use your computer" is misleading at best.

You have to have access to a supercomputer (very large computer bus sizes) or special analytical mathematical software packages to even be able to produce the above number in all its digits.

I dare say that the vast majority of the people out there don not have access to either or even understand the need for either in this situation.

Wouter

Last edited by Wouter; 01/15/08 10:35 AM.

Wouter Hijink
Formula 16 NED 243 (one-off; homebuild)
The Netherlands
Re: Answers to the question [Re: Wouter] #128405
01/15/08 11:05 AM
01/15/08 11:05 AM
Joined: May 2006
Posts: 954
Mumbles Y.C Wales U.K
Mark P Offline
old hand
Mark P  Offline
old hand

Joined: May 2006
Posts: 954
Mumbles Y.C Wales U.K
I'm not a mathematician but one of the best figures must be
[Linked Image]

Attached Files
130508-Goodfigure2.jpg (121 downloads)
Last edited by MarkP; 01/15/08 11:11 AM.

MP*MULTIHULLS
Re: Answers to the question [Re: Mark P] #128406
01/15/08 11:07 AM
01/15/08 11:07 AM
Joined: Jan 2005
Posts: 6,049
Sebring, Florida.
Timbo Offline
Carpal Tunnel
Timbo  Offline
Carpal Tunnel

Joined: Jan 2005
Posts: 6,049
Sebring, Florida.
Isn't that the formula: B4I4Q RU/18? <img src="http://www.catsailor.com/forums/images/graemlins/grin.gif" alt="" />


Blade F16
#777
Re: Answers to the question [Re: Timbo] #128407
01/15/08 11:27 AM
01/15/08 11:27 AM
Joined: May 2006
Posts: 954
Mumbles Y.C Wales U.K
Mark P Offline
old hand
Mark P  Offline
old hand

Joined: May 2006
Posts: 954
Mumbles Y.C Wales U.K
Quote
Isn't that the formula: B4I4Q RU/18? <img src="http://www.catsailor.com/forums/images/graemlins/grin.gif" alt="" />

Most definitely and I wouldn't mind seeing her 'box rule' going back to a nautical theme <img src="http://www.catsailor.com/forums/images/graemlins/grin.gif" alt="" />


MP*MULTIHULLS
Re: Answers to the question [Re: Mark P] #128408
01/15/08 02:33 PM
01/15/08 02:33 PM
Joined: Nov 2002
Posts: 612
Cape Town, South Africa
Steve_Kwiksilver Offline
addict
Steve_Kwiksilver  Offline
addict

Joined: Nov 2002
Posts: 612
Cape Town, South Africa
42. Ask Douglas.

Re: Answers to the question [Re: Steve_Kwiksilver] #128409
01/15/08 03:01 PM
01/15/08 03:01 PM
Joined: Nov 2002
Posts: 612
Cape Town, South Africa
Steve_Kwiksilver Offline
addict
Steve_Kwiksilver  Offline
addict

Joined: Nov 2002
Posts: 612
Cape Town, South Africa
Umm, is this a TEST ?

Re: Answers to the question [Re: Wouter] #128410
01/15/08 04:38 PM
01/15/08 04:38 PM
Joined: Nov 2003
Posts: 130
CA
Glenn_Brown Offline
member
Glenn_Brown  Offline
member

Joined: Nov 2003
Posts: 130
CA
There are 24 factors of 5 in 100!: one for each multiple of 5 in [1,100] and one more for each multiple of 5*5.

There are >50 factors of 2 in 100!: one for each multiple of 2, one for each multiple of 2*2, one for each multiple of 2*2*2, etc.

So, there are 24 factors of 10 in 100! since 10=2*5.

So there are 24 zeros on the end of 100!, since each zero on the end implies a factor of 10.

--Glenn

P.S.: I got it wrong in my head when I implied it was 21.
P.P.S.: Anyone want the shortcut answer to "N balls in M bins?"

Re: Answers to the question [Re: Steve_Kwiksilver] #128411
01/15/08 04:46 PM
01/15/08 04:46 PM
Joined: Nov 2003
Posts: 130
CA
Glenn_Brown Offline
member
Glenn_Brown  Offline
member

Joined: Nov 2003
Posts: 130
CA
Quote
Umm, is this a TEST ?


No, this is fun!

--Glenn

Re: Answers to the question [Re: Glenn_Brown] #128412
01/15/08 04:50 PM
01/15/08 04:50 PM
Joined: Feb 2004
Posts: 3,528
Looking for a Job, I got credi...
scooby_simon Offline
Hull Flying, Snow Sliding....
scooby_simon  Offline
Hull Flying, Snow Sliding....
Carpal Tunnel

Joined: Feb 2004
Posts: 3,528
Looking for a Job, I got credi...
Quote
P.P.S.: Anyone want the shortcut answer to "N balls in M bins?"


Haa Haa, now I did do that one at school before I went to Uni.

But I've forgotten how, I'll let someone else discuss it with Wouter!


F16 - GBR 553 - SOLD

I also talk sport here
Re: Answers to the question [Re: scooby_simon] #128413
01/16/08 03:08 AM
01/16/08 03:08 AM
Joined: Jun 2001
Posts: 9,582
North-West Europe
Wouter Offline
Carpal Tunnel
Wouter  Offline
Carpal Tunnel

Joined: Jun 2001
Posts: 9,582
North-West Europe

Quote

I'll let someone else discuss it with Wouter!



Wouter, really got something else to do this time. Besides the one thing I hated about probability theory was the balls and containers examples. For some reason that never set right with me. But I'm sure the formula n!/(k!*(n-k)!) is to found used somewhere in that problem.

Wouter


Wouter Hijink
Formula 16 NED 243 (one-off; homebuild)
The Netherlands
Re: Answers to the question [Re: Glenn_Brown] #128414
01/16/08 05:45 AM
01/16/08 05:45 AM
Joined: May 2006
Posts: 954
Mumbles Y.C Wales U.K
Mark P Offline
old hand
Mark P  Offline
old hand

Joined: May 2006
Posts: 954
Mumbles Y.C Wales U.K
Quote
Quote
Umm, is this a TEST ?


No, this is fun!

--Glenn

If this is fun then I'm happy being sad (I prefer playing with words rather than figures) <img src="http://www.catsailor.com/forums/images/graemlins/grin.gif" alt="" />


MP*MULTIHULLS
Re: Answers to the question [Re: Mark P] #128415
01/16/08 06:37 AM
01/16/08 06:37 AM
Joined: Jul 2007
Posts: 976
France
pepin Offline
old hand
pepin  Offline
old hand

Joined: Jul 2007
Posts: 976
France
Quote
Quote

For 100! just use your computer:



Most computers can not store integer numbers larger then

(2^64 -1) = (18446744073709551616-1) = 18446744073709551615

as they are limited by 64 bits processors and memory slots.

[snip...]


The Python interpreter I used automatically switch to big integer when it becomes too big to fit in a 64 bit int. That's why I picked it, and that why that result is correct.

Re: Answers to the question [Re: pepin] #128416
01/16/08 07:41 AM
01/16/08 07:41 AM
Joined: Feb 2006
Posts: 207
couldn't resist it
Codblow Offline
enthusiast
Codblow  Offline
enthusiast

Joined: Feb 2006
Posts: 207
couldn't resist it
3.1415926535897932384626433832795028841971693993751058209749

445923078164062862089986280348253421170679821480865132823066

470938446095505822317253594081284811174502841027019385211055

596446229489549303819644288109756659334461284756482337867831

652712019091456485669234603486104543266482133936072602491412

737245870066063155881748815209209628292540917153643678925903

600113305305488204665213841469519415116094330572703657595919

530921861173819326117931051185480744623799627495673518857527

248912279381830119491298336733624406566430860213949463952247

371907021798609437027705392171762931767523846748184676694051

320005681271452635608277857713427577896091736371787214684409

012249534301465495853710507922796892589235420199561121290219

608640344181598136297747713099605187072113499999983729780499

510597317328160963185950244594553469083026425223082533446850

352619311881710100031378387528865875332083814206171776691473

035982534904287554687311595628638823537875937519577818577805

32171226806613001927876611195909216420198938


GOOGLE !!!!!

don't think this kinda "fun " will get folks flocking to join your class (this forum is the worlds window to F16 after all ) , perhaps you're trying to attrack a niche market

good luck whatever .

Re: Answers to the question [Re: Wouter] #128417
01/16/08 07:51 AM
01/16/08 07:51 AM
Joined: Nov 2003
Posts: 130
CA
Glenn_Brown Offline
member
Glenn_Brown  Offline
member

Joined: Nov 2003
Posts: 130
CA
Well, with Wouter punting, and no other expressed interest, I'll tell the answer to "how many ways are there to put N balls in M bins" to kill this thread:

--

Any set of balls in bins is uniquely represented by a string like "o|ooo|o|||o" where 'o' represents a ball and '|' represents a wall between bins. There are M-1 walls between bins and N balls, so these strings can be generated by starting with N+M-1 walls and choosing N to be balls.

So the answer is "N+M-1 choose N."

--

I first encountered this problem in a graduate level Information Theory course at Caltech, where it stumped a lot of people. It also stumped my research group at Columbia for a couple weeks before I noticed we were working on the same problem. It looks easy because "buckets" are used as sources of "balls" in basic probability problems, but the usual approaches to solving combinatorial problems problem fail on this one.

The problem looks easy, but is very hard, yet the answer is *obvious* basic combinatorics once you look at the problem the right way. That's why it's my favorite combinatorics problem.

--Glenn

Re: Answers to the question [Re: Glenn_Brown] #128418
01/16/08 08:47 AM
01/16/08 08:47 AM
Joined: Sep 2005
Posts: 1,187
38.912, -95.37
_flatlander_ Offline
old hand
_flatlander_  Offline
old hand

Joined: Sep 2005
Posts: 1,187
38.912, -95.37
OK, you guys answer this one, dead lock, my next boat is F16.

How does a nail, laying flat on the roadway, when driven over by ME, end up sticking straight through the tread of my tire, causing it to go flat? <img src="http://www.catsailor.com/forums/images/graemlins/crazy.gif" alt="" />


John H16, H14
Re: Answers to the question [Re: _flatlander_] #128419
01/16/08 10:30 AM
01/16/08 10:30 AM
Joined: Jul 2001
Posts: 953
Western Australia
Stewart Offline OP
old hand
Stewart  Offline OP
old hand

Joined: Jul 2001
Posts: 953
Western Australia
the front tire runs over the nail. with the load running over the head and causing the head to flick the point up. a milli-second later the upright but falling nail is in just the correct position to get the back wheel.. after one revolution the back tie is nicely "nailed"..

Re: Answers to the question [Re: pepin] #128420
01/16/08 12:03 PM
01/16/08 12:03 PM
Joined: Jun 2001
Posts: 9,582
North-West Europe
Wouter Offline
Carpal Tunnel
Wouter  Offline
Carpal Tunnel

Joined: Jun 2001
Posts: 9,582
North-West Europe

That means that python switched to a whole different suit of algoritms and stores the result no longer as a number but as a string, as a word processor does with text.

Basically, it stops using the numerical unit in the microprocessor and handles calculations by (its own) software algorithms. = SLOOOOOOOOW, although with todays microprocessors, everything goes fast.

Certainly makes Python a very interesting piece of software.

Wouter

Last edited by Wouter; 01/16/08 12:05 PM.

Wouter Hijink
Formula 16 NED 243 (one-off; homebuild)
The Netherlands
Page 3 of 4 1 2 3 4

Moderated by  Damon Linkous, phill, Rolf_Nilsen 

Search

Who's Online Now
0 registered members (), 741 guests, and 84 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Darryl, zorro, CraigJ, PaulEddo2, AUS180
8150 Registered Users
Top Posters(30 Days)
Forum Statistics
Forums26
Topics22,405
Posts267,056
Members8,150
Most Online2,167
Dec 19th, 2022
Powered by UBB.threads™ PHP Forum Software 7.7.1