FRDB Archives

Freethought & Rationalism Archive

The archives are read only.


Go Back   FRDB Archives > Archives > IIDB ARCHIVE: 200X-2003, PD 2007 > IIDB Secular Community Forums (PRIOR TO JUN-2003)
Welcome, Peter Kirby.
You last visited: Today at 02:40 PM

 
 
Thread Tools Search this Thread
Old 07-03-2003, 04:10 PM   #21
Contributor
 
Join Date: Jul 2001
Location: Deep in the heart of mother-lovin' Texas
Posts: 29,689
Default

lpetrich, wouldn't that yield 11000?
Mageth is offline  
Old 07-03-2003, 04:18 PM   #22
Veteran Member
 
Join Date: Nov 2001
Location: South Africa
Posts: 2,194
Default

nope
Farren is offline  
Old 07-03-2003, 04:24 PM   #23
Contributor
 
Join Date: Jul 2001
Location: Deep in the heart of mother-lovin' Texas
Posts: 29,689
Default

Think Boolean (or, rather, binary), Farren. I know what the factorial operator does.
Mageth is offline  
Old 07-03-2003, 04:30 PM   #24
Veteran Member
 
Join Date: Nov 2001
Location: South Africa
Posts: 2,194
Default

Doh! You're right, of course
Farren is offline  
Old 07-03-2003, 06:06 PM   #25
Senior Member
 
Join Date: Dec 2001
Location: Toronto, Ontario, Canada
Posts: 762
Default

cos(0) = 1 as well.
Kevin Dorner is offline  
Old 07-03-2003, 06:40 PM   #26
Obsessed Contributor
 
Join Date: Sep 2000
Location: Not Mayaned
Posts: 96,752
Default

Quote:
Originally posted by lpetrich
The key to this problem is what operations are permitted. Was that ever explicitly stated? "Mathematical operations" covers a very wide territory.

Here is a solution using Boolean operations and the factorial.

~ means "not" here.

((~0) + (~0) + (~0) + (~0))!

~0 is 1, and the rest quickly follows.
Disagree. It depends on what system you are using what the value of Not 0 is. Thus I do not consider it a valid approach.
Loren Pechtel is offline  
Old 07-03-2003, 06:42 PM   #27
Obsessed Contributor
 
Join Date: Sep 2000
Location: Not Mayaned
Posts: 96,752
Default

Quote:
Originally posted by Kevin Dorner
cos(0) = 1 as well.
Ok, that one I will accept.
Loren Pechtel is offline  
Old 07-03-2003, 06:54 PM   #28
Veteran Member
 
Join Date: Nov 2001
Location: South Africa
Posts: 2,194
Default

Loren

~0 may yield -1 in some languages, but the language is innacurate, not Ipetrichs math.

In pure binary math, the truth table for ~ is

A | ~A
--------
0 | 1
1 | 0

This is invariant and pure math. It is as certain as 1+1=2.

The error you're making is confusing the conventions adopted by certain programming languages with pure maths. To invalidate it as a solution, you would need to invalidate +/-/Cos and just about everything else on the grounds that a system can be concieved where the result is different.

For instance, + is invalid because 255 + 1 yields ERROR if the 255 is stored in a Byte variable (or zero if there is no overflow checking). This has little to do with actual math.

Farren is offline  
Old 07-03-2003, 07:16 PM   #29
Veteran Member
 
Join Date: Nov 2001
Location: South Africa
Posts: 2,194
Default

Chopped out follow up post because I realised that its not that simple. There is a possible difficulty here, sorry, otherwise only natural positive numbers can be used.

On the other hand, since the schema can be chosen, simply stating, "using 8-bit 2's complement Integer form", perform the following operation, the operation provided by ipetrich is valid.

Note: this is providing the context of the calculation, not introducing terms disallowed by the rules. Its the same as saying "that zero is not the letter O"
Farren is offline  
Old 07-03-2003, 07:20 PM   #30
Veteran Member
 
Join Date: Jun 2000
Location: Greensboro, NC, U.S.A.
Posts: 2,597
Default Well...

Quote:
Originally posted by Kevin Dorner
cos(0) = 1 as well.
I thought about that, but is cos a mathematical operator or an operation?
Bill Snedden is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -8. The time now is 07:24 PM.

Top

This custom BB emulates vBulletin® Version 3.8.2
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.