| Topic: |
Science > Physics |
| User: |
"John Schoenfeld" |
| Date: |
06 Jan 2004 05:54:34 PM |
| Object: |
Some Functions |
Look at these functions I independantly derived the other day in 5-10 minutes.
Schoenfelds Functions
---------------------
r = radix of number system
Number of digits in x
NUMDIG(x) = floor(logr(x)) + 1
Shift x right about the decimal point
SHIFTRIGHT(x, places) = x / r^places
Shift x left about decimal point
SHIFTLEFT(x, places) = x * r^places
First digit in x
FIRSTDIG(x) = floor ( SHIFTRIGHT(x, NUMDIG(x) - 1) )
Last digit in x
LASTDIG(x) = x - r * floor ( x / r )
Gets the n'th digit of x (0 based indexing)
DIGIT(x, n) = LASTDIGIT(floor(SHIFTRIGHT(x, NUMDIGIT(x) - n - 1)))
NEXTNUM(x) = x + 1
PREVNUM(x) = x - 1
NEXTDIG(x) = LASTDIG(NEXTNUM(x))
PREVDIG(x) = LASTDIG(PREVNUM(x))
Feedback is welcome (positive or negative).
JS
.
|
|
| User: "Michael Varney" |
|
| Title: Re: Some Functions |
06 Jan 2004 05:58:47 PM |
|
|
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401061554.49fea494@posting.google.com...
Look at these functions I independantly derived the other day in 5-10
minutes.
Schoenfelds Functions
Hello crackpot.
.
|
|
|
| User: "John Schoenfeld" |
|
| Title: Re: Some Functions |
07 Jan 2004 12:20:44 AM |
|
|
"Michael Varney" <varney@colorado_no_spam.edu> wrote in message news:<_YHKb.56$j25.111998@news.uswest.net>...
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401061554.49fea494@posting.google.com...
Look at these functions I independantly derived the other day in 5-10
minutes.
Schoenfelds Functions
Hello crackpot.
Figured out the difference between -acceleration and deceleration yet?
Keep running.
.
|
|
|
| User: "Michael Varney" |
|
| Title: Re: Some Functions |
07 Jan 2004 07:33:16 AM |
|
|
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401062220.708b0f11@posting.google.com...
"Michael Varney" <varney@colorado_no_spam.edu> wrote in message
news:<_YHKb.56$j25.111998@news.uswest.net>...
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401061554.49fea494@posting.google.com...
Look at these functions I independantly derived the other day in 5-10
minutes.
Schoenfelds Functions
Hello crackpot.
Figured out the difference between -acceleration and deceleration yet?
Have you, dolt?
.
|
|
|
| User: "John Schoenfeld" |
|
| Title: Re: Some Functions |
07 Jan 2004 06:04:04 PM |
|
|
"Michael Varney" <varney@colorado_no_spam.edu> wrote in message news:<zUTKb.2$TJ5.10982@news.uswest.net>...
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401062220.708b0f11@posting.google.com...
"Michael Varney" <varney@colorado_no_spam.edu> wrote in message
news:<_YHKb.56$j25.111998@news.uswest.net>...
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401061554.49fea494@posting.google.com...
Look at these functions I independantly derived the other day in 5-10
minutes.
Schoenfelds Functions
Hello crackpot.
Figured out the difference between -acceleration and deceleration yet?
Have you, dolt?
Sure, if v . a <= 0, then the body is decelerating.
where:
v = velocity vector
a = acceleration vector
.. = dot product operator
A body is decelerating when the magnitude of its velocity is decreasing with time.
Do you understand now, genious?
JS
.
|
|
|
| User: "Michael Varney" |
|
| Title: Re: Some Functions |
07 Jan 2004 06:08:44 PM |
|
|
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401071604.5a6d4c3f@posting.google.com...
"Michael Varney" <varney@colorado_no_spam.edu> wrote in message
news:<zUTKb.2$TJ5.10982@news.uswest.net>...
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401062220.708b0f11@posting.google.com...
"Michael Varney" <varney@colorado_no_spam.edu> wrote in message
news:<_YHKb.56$j25.111998@news.uswest.net>...
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401061554.49fea494@posting.google.com...
Look at these functions I independantly derived the other day in
5-10
minutes.
Schoenfelds Functions
Hello crackpot.
Figured out the difference between -acceleration and deceleration yet?
Have you, dolt?
Sure
Doubtful.
Do you understand now, genious?
I understand that you are an illiterate crank.
.
|
|
|
| User: "John Schoenfeld" |
|
| Title: Re: Some Functions |
08 Jan 2004 01:51:48 AM |
|
|
"Michael Varney" <varney@colorado_no_spam.edu> wrote in message news:<jc1Lb.88$TJ5.111300@news.uswest.net>...
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401071604.5a6d4c3f@posting.google.com...
"Michael Varney" <varney@colorado_no_spam.edu> wrote in message
news:<zUTKb.2$TJ5.10982@news.uswest.net>...
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401062220.708b0f11@posting.google.com...
"Michael Varney" <varney@colorado_no_spam.edu> wrote in message
news:<_YHKb.56$j25.111998@news.uswest.net>...
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401061554.49fea494@posting.google.com...
Look at these functions I independantly derived the other day in
5-10
minutes.
Schoenfelds Functions
Hello crackpot.
Figured out the difference between -acceleration and deceleration yet?
Have you, dolt?
Sure
Doubtful.
Do you understand now, genious?
I understand that you are an illiterate crank.
v . a < 0 is deceleration.
.
|
|
|
|
|
|
|
| User: "N:dlzc D:aol T:com \dlzc\ N: dlzc1 D:cox" |
|
| Title: Re: Some Functions |
07 Jan 2004 08:04:45 AM |
|
|
Dear John Schoenfeld:
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401062220.708b0f11@posting.google.com...
"Michael Varney" <varney@colorado_no_spam.edu> wrote in message
news:<_YHKb.56$j25.111998@news.uswest.net>...
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401061554.49fea494@posting.google.com...
Look at these functions I independantly derived the other day in 5-10
minutes.
Schoenfelds Functions
Hello crackpot.
Figured out the difference between -acceleration and deceleration yet?
Deceleration is an acceleration that reduces net velocity. So it has a
sign that is opposite that of the velocity vector. Not sure if it can have
any component transverse to the velocity vector, and still be adjudged
"deceleration".
David A. Smith
.
|
|
|
|
|
|
| User: "Double-A" |
|
| Title: Re: Some Functions |
06 Jan 2004 09:27:09 PM |
|
|
(John Schoenfeld) wrote in message news:<a98beaaa.0401061554.49fea494@posting.google.com>...
Look at these functions I independantly derived the other day in 5-10 minutes.
Schoenfelds Functions
---------------------
r = radix of number system
Number of digits in x
NUMDIG(x) = floor(logr(x)) + 1
Shift x right about the decimal point
SHIFTRIGHT(x, places) = x / r^places
Shift x left about decimal point
SHIFTLEFT(x, places) = x * r^places
First digit in x
FIRSTDIG(x) = floor ( SHIFTRIGHT(x, NUMDIG(x) - 1) )
Last digit in x
LASTDIG(x) = x - r * floor ( x / r )
Gets the n'th digit of x (0 based indexing)
DIGIT(x, n) = LASTDIGIT(floor(SHIFTRIGHT(x, NUMDIGIT(x) - n - 1)))
NEXTNUM(x) = x + 1
PREVNUM(x) = x - 1
NEXTDIG(x) = LASTDIG(NEXTNUM(x))
PREVDIG(x) = LASTDIG(PREVNUM(x))
Feedback is welcome (positive or negative).
JS
These look like the kind of formulations that programmers come up with
routinely as part of a day's work.
So, what's the big deal?
Double-A
.
|
|
|
| User: "John Schoenfeld" |
|
| Title: Re: Some Functions |
07 Jan 2004 12:13:10 AM |
|
|
(Double-A) wrote in message news:<79094630.0401061927.e511a8f@posting.google.com>...
j.schoenfeld@programmer.net (John Schoenfeld) wrote in message news:<a98beaaa.0401061554.49fea494@posting.google.com>...
Look at these functions I independantly derived the other day in 5-10 minutes.
Schoenfelds Functions
---------------------
r = radix of number system
Number of digits in x
NUMDIG(x) = floor(logr(x)) + 1
Shift x right about the decimal point
SHIFTRIGHT(x, places) = x / r^places
Shift x left about decimal point
SHIFTLEFT(x, places) = x * r^places
First digit in x
FIRSTDIG(x) = floor ( SHIFTRIGHT(x, NUMDIG(x) - 1) )
Last digit in x
LASTDIG(x) = x - r * floor ( x / r )
Gets the n'th digit of x (0 based indexing)
DIGIT(x, n) = LASTDIGIT(floor(SHIFTRIGHT(x, NUMDIGIT(x) - n - 1)))
NEXTNUM(x) = x + 1
PREVNUM(x) = x - 1
NEXTDIG(x) = LASTDIG(NEXTNUM(x))
PREVDIG(x) = LASTDIG(PREVNUM(x))
Feedback is welcome (positive or negative).
JS
These look like the kind of formulations that programmers come up with
routinely as part of a day's work.
So, what's the big deal?
Double-A
Yeah right. No such functions have ever been defined except perhaps
the NUMDIGIT() function.
Give credit where credit is due, alas the Schoenfeld Functions.
JS
.
|
|
|
|
| User: "Daniel W. Johnson" |
|
| Title: Re: Some Functions |
06 Jan 2004 11:18:15 PM |
|
|
Double-A <double-a@hush.com> wrote:
So, what's the big deal?
Maybe he plans to patent them.
--
Daniel W. Johnson
panoptes@iquest.net
http://members.iquest.net/~panoptes/
039 53 36 N / 086 11 55 W
.
|
|
|
| User: "John Schoenfeld" |
|
| Title: Re: Some Functions |
07 Jan 2004 06:26:22 AM |
|
|
(Daniel W. Johnson) wrote in message news:<1g75zft.1lyay463zt2f4N%>...
Double-A <double-a@hush.com> wrote:
So, what's the big deal?
Maybe he plans to patent them.
I'll patent x+y in terms of muls when I get it.. I'll crack RSA while
i'm at it too (get some dosh and maybe put up a website boasting how
an idiot can solve these fundamental problems, hahaha.. dolt).
JS
.
|
|
|
|
|
|
| User: "N:dlzc D:aol T:com \dlzc\ N: dlzc1 D:cox" |
|
| Title: Re: Some Functions |
06 Jan 2004 07:15:49 PM |
|
|
Dear John Schoenfeld:
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401061554.49fea494@posting.google.com...
Look at these functions I independantly derived the other day in 5-10
minutes.
Schoenfelds Functions
---------------------
r = radix of number system
Number of digits in x
NUMDIG(x) = floor(logr(x)) + 1
Doesn't work for *any* real x. 2.3 has 2 digits
Shift x right about the decimal point
SHIFTRIGHT(x, places) = x / r^places
Shift x left about decimal point
SHIFTLEFT(x, places) = x * r^places
First digit in x
FIRSTDIG(x) = floor ( SHIFTRIGHT(x, NUMDIG(x) - 1) )
Doesn't work for .3, or 9.99999999999...
Last digit in x
LASTDIG(x) = x - r * floor ( x / r )
Doesn't work for all real x. Returns 2 for x = 2.3
You've only defined integer math, which is something I did in assembly
language on the Z80.
Do Sqrt now.
David A. Smith
.
|
|
|
| User: "John Schoenfeld" |
|
| Title: Re: Some Functions |
07 Jan 2004 12:18:09 AM |
|
|
"N:dlzc D:aol T:com \(dlzc\)" <N: dlzc1 D:cox T:net@nospam.com> wrote in message news:<c5JKb.46999$gN.24596@fed1read05>...
Dear John Schoenfeld:
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401061554.49fea494@posting.google.com...
Look at these functions I independantly derived the other day in 5-10
minutes.
Schoenfelds Functions
---------------------
r = radix of number system
Number of digits in x
NUMDIG(x) = floor(logr(x)) + 1
Doesn't work for *any* real x. 2.3 has 2 digits
The Schoenfeld Functions apply to integers only.
Shift x right about the decimal point
SHIFTRIGHT(x, places) = x / r^places
Shift x left about decimal point
SHIFTLEFT(x, places) = x * r^places
First digit in x
FIRSTDIG(x) = floor ( SHIFTRIGHT(x, NUMDIG(x) - 1) )
Doesn't work for .3, or 9.99999999999...
well, 9.9_ = 1 which is an int, so it does work (so you are wrong).
And 0.3 is not an integer so ofcourse it won't work.
Last digit in x
LASTDIG(x) = x - r * floor ( x / r )
Doesn't work for all real x. Returns 2 for x = 2.3
You've only defined integer math, which is something I did in assembly
language on the Z80.
Sure you did.
Do Sqrt now.
Not interested.
David A. Smith
JS
.
|
|
|
| User: "John Schoenfeld" |
|
| Title: Re: Some Functions |
07 Jan 2004 06:23:03 AM |
|
|
9.9_ = 1 which is an int, so it does work (so you are wrong).
Typo:
9.9_ = 10
here is the proof.
x = 9.9_
x-9 = 0.9_
10(x-9) = 9.9_
10(x-9) = 9 + (x-9)
10x-90 = 9 + x - 9
10x-81 = 9 + x
9x-81 = 9
9x = 90
x = 90/9
= 10
JS
.
|
|
|
| User: "N:dlzc D:aol T:com \dlzc\ N: dlzc1 D:cox" |
|
| Title: Re: Some Functions |
07 Jan 2004 08:01:43 AM |
|
|
Dear John Schoenfeld:
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401070423.3a9d8327@posting.google.com...
9.9_ = 1 which is an int, so it does work (so you are wrong).
Typo:
9.9_ = 10
So you were wrong too. How nice.
David A. Smith
.
|
|
|
|
|
| User: "N:dlzc D:aol T:com \dlzc\ N: dlzc1 D:cox" |
|
| Title: Re: Some Functions |
07 Jan 2004 08:07:50 AM |
|
|
Dear John Schoenfeld:
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401062218.24e9eec1@posting.google.com...
"N:dlzc D:aol T:com \(dlzc\)" <N: dlzc1 D:cox T:net@nospam.com> wrote in
message news:<c5JKb.46999$gN.24596@fed1read05>...
Dear John Schoenfeld:
"John Schoenfeld" <j.schoenfeld@programmer.net> wrote in message
news:a98beaaa.0401061554.49fea494@posting.google.com...
Look at these functions I independantly derived the other day in 5-10
minutes.
Schoenfelds Functions
---------------------
r = radix of number system
Number of digits in x
NUMDIG(x) = floor(logr(x)) + 1
Doesn't work for *any* real x. 2.3 has 2 digits
The Schoenfeld Functions apply to integers only.
Shift x right about the decimal point
SHIFTRIGHT(x, places) = x / r^places
Shift x left about decimal point
SHIFTLEFT(x, places) = x * r^places
First digit in x
FIRSTDIG(x) = floor ( SHIFTRIGHT(x, NUMDIG(x) - 1) )
Doesn't work for .3, or 9.99999999999...
well, 9.9_ = 1 which is an int, so it does work (so you are wrong).
And 0.3 is not an integer so ofcourse it won't work.
This was not stated in your initial post.
Last digit in x
LASTDIG(x) = x - r * floor ( x / r )
Doesn't work for all real x. Returns 2 for x = 2.3
You've only defined integer math, which is something I did in assembly
language on the Z80.
Sure you did.
Your great inventions are moot in Lisp. Since all numbers are strings of
characters... even "reals" are handled by these equivalnet functions in
Lisp.
Do Sqrt now.
Not interested.
Newton provided the method...
David A. Smith
.
|
|
|
|
|
|

|
Related Articles |
|
|