Can I have this named after me?

JTsyo

Lifer
Nov 18, 2007
12,037
1,135
126
I was just playing around with an linear interpolate program and put in points for x^2 and interpolated numbers in between and noticed they were all off by 1. For example, (1,1) and (3,3) input and 2 would give you 5. It looks like this algebraically:

x^2 = (.5*((x-1)^2+(x+1)^2))-1

So where should I publish this amazing find?
 

dullard

Elite Member
May 21, 2001
26,078
4,728
126
Wow! While checking your data, I realized that if you start with x^2 + 1, then you subtract 1, you get x^2. Somehow, I think you can even take some sort of square root of that and find x, but I believe that would be too fantastic to conceive! Is the world ready for this revelation?
 

Joemonkey

Diamond Member
Mar 3, 2001
8,859
4
0
Originally posted by: dullard
Wow! While checking your data, I realized that if you start with x^2 + 1, then you subtract 1, you get x^2. Somehow, I think you can even take some sort of square root of that and find x, but I believe that would be too fantastic to conceive! Is the world ready for this revelation?

heh, this
 

guyver01

Lifer
Sep 25, 2000
22,135
5
61
Originally posted by: JTsyo
I was just playing around with an linear interpolate program and put in points for x^2 and interpolated numbers in between and noticed they were all off by 1. For example, (1,1) and (3,3) input and 2 would give you 5. It looks like this algebraically:

x^2 = (.5*((x-1)^2+(x+1)^2))-1

So where should I publish this amazing find?


Your obituary... because you just found the top secret formula for Heavy Water..

The Government agents will be along shortly to supress (ie KILL) the discovery
 

JTsyo

Lifer
Nov 18, 2007
12,037
1,135
126
After playing with it a bit, here's it in a general form, that it might actually be useful:

x^2 = (.5*((x-y)^2+(x+y)^2))-y^2

So when is this useful? Say you want square 35. you set x=35 and y=5. (1/2)*(30^2+40^2) - 5^2 isn't too bad to do by hand. 450+800 - 25 = 1225.
 

40Hands

Diamond Member
Jun 29, 2004
5,042
0
71
Originally posted by: SlitheryDee
What the hell is this thread about?

Nerds and numbers. Oh for the square root of humanity lets get the fuck out of here!
 

simpletron

Member
Oct 31, 2008
189
14
81
if I wanted to square 35, I would simply take 3 multiply by one greater(4) and slap 25 to the end. 3*4=12, *slap* 1225=35^2. works with all numbers ending with 5 and is a two second calculation.

15^5=1*2=2 *slap* 225
25^5=2*3=6 *slap* 625
45^5=4*5=20 *slap* 2025
55^5=5*6=30 *slap* 3025
65^5=6*7=42 *slap* 4225

how useful is this really? outside of numbers that are divisible by 10, I bet you can't square them easily. and for the numbers that are divisible by 10, the average of them ends with either a 5 or 0, which are easy to square to begin with.

why it works
let y end with a 5, then y=X5, ex. if y=135 then X=13.
y=X5
y=(2*X+1)*5
y^2= (2*X+1)^2*5^2
y^2=(4*X^2+4*X+1)*25
y^2=X*(X+1)*100+25

as for where to publish, nowhere becasue it is very common to add 0(add and substract the same thing to one side of an equation) and then rearrange the variables. same is true with multiplying by 1(multiply and divide by the same thing)
 

YOyoYOhowsDAjello

Moderator<br>A/V & Home Theater<br>Elite member
Aug 6, 2001
31,205
45
91
Originally posted by: simpletron
15^5=1*2=2 *slap* 225
25^5=2*3=6 *slap* 625
45^5=4*5=20 *slap* 2025
55^5=5*6=30 *slap* 3025
65^5=6*7=42 *slap* 4225

uhhhh....
 
S

SlitheryDee

I just noticed 20 pixels spread about my computer screen. I think I'm going to name them "SlitheryDee's Pixels". Also the pixels in the same location on your screen and all other screens in the world are now "SlitheryDee's Pixels" because no one has noticed them before me from the exact angle I am viewing them from.
 

Fenixgoon

Lifer
Jun 30, 2003
33,346
12,930
136
cmon, people who square 35 can't figure out that 30*35 = 1050 and 5*35 = 175? add the two to get 1225
 

AstroManLuca

Lifer
Jun 24, 2004
15,628
5
81
Originally posted by: Fenixgoon
cmon, people who square 35 can't figure out that 30*35 = 1050 and 5*35 = 175? add the two to get 1225

I just type 35 * 35 into a calculator and boom, 1225. Easiest method ever.
 

oiprocs

Diamond Member
Jun 20, 2001
3,780
2
0
Originally posted by: AstroManLuca
Originally posted by: Fenixgoon
cmon, people who square 35 can't figure out that 30*35 = 1050 and 5*35 = 175? add the two to get 1225

I just type 35 * 35 into a calculator and boom, 1225. Easiest method ever.

Calcu what?
 

halik

Lifer
Oct 10, 2000
25,696
1
81
Originally posted by: obscenethistle
Originally posted by: AstroManLuca
Originally posted by: Fenixgoon
cmon, people who square 35 can't figure out that 30*35 = 1050 and 5*35 = 175? add the two to get 1225

I just type 35 * 35 into a google and boom, 1225. Easiest method ever.

Calcu what?

fixed
 

potoba

Senior member
Oct 17, 2006
738
0
76
Originally posted by: JTsyo
I was just playing around with an linear interpolate program and put in points for x^2 and interpolated numbers in between and noticed they were all off by 1. For example, (1,1) and (3,3) input and 2 would give you 5. It looks like this algebraically:

x^2 = (.5*((x-1)^2+(x+1)^2))-1

So where should I publish this amazing find?

magazine for blondes