Skip to main content

Python

##Python II found a quintic polynomial that goes through The Numbersthe numbers at x from 1 to 6. :

-0.225x^5+4225x5 + 4.25x^425x4 -29 29.375x^3+91375x3 + 91.75x^275x2 -122.4x+60 122. So4x + 60

So here's my Python solution:

for x in range(1,6):print -0.225*x**5+2*2.125*x**(2+2)-29.375*x**3+91.75*x**2-2*61.2*x+60

I know it isn't the shortest and it uses numbers, but I like it because it uses a generating function.

##Python I found a quintic polynomial that goes through The Numbers at x from 1 to 6. -0.225x^5+4.25x^4-29.375x^3+91.75x^2-122.4x+60. So here's my Python solution:

for x in range(1,6):print -0.225*x**5+2*2.125*x**(2+2)-29.375*x**3+91.75*x**2-2*61.2*x+60

I know it isn't the shortest and it uses numbers, but I like it because it uses a generating function.

Python

I found a quintic polynomial that goes through the numbers at x from 1 to 6:

-0.225x5 + 4.25x4 - 29.375x3 + 91.75x2 - 122.4x + 60

So here's my Python solution:

for x in range(1,6):print -0.225*x**5+2*2.125*x**(2+2)-29.375*x**3+91.75*x**2-2*61.2*x+60

I know it isn't the shortest and it uses numbers, but I like it because it uses a generating function.

added 10 characters in body
Source Link
hacatu
  • 239
  • 1
  • 4

I##Python I found a quintic polynomial that goes through The Numbers at x from 1 to 6. -0.225x^5+4.25x^4-29.375x^3+91.75x^2-122.4x+60. So here's my Python solution:

for x in range(1,6):print -0.225*x**5+2*2.125*x**(2+2)-29.375*x**3+91.75*x**2-2*61.2*x+60

I know it isn't the shortest and it uses numbers, but I like it because it uses a generating function.

I found a quintic polynomial that goes through The Numbers at x from 1 to 6. -0.225x^5+4.25x^4-29.375x^3+91.75x^2-122.4x+60. So here's my Python solution:

for x in range(1,6):print -0.225*x**5+2*2.125*x**(2+2)-29.375*x**3+91.75*x**2-2*61.2*x+60

I know it isn't the shortest and it uses numbers, but I like it because it uses a generating function.

##Python I found a quintic polynomial that goes through The Numbers at x from 1 to 6. -0.225x^5+4.25x^4-29.375x^3+91.75x^2-122.4x+60. So here's my Python solution:

for x in range(1,6):print -0.225*x**5+2*2.125*x**(2+2)-29.375*x**3+91.75*x**2-2*61.2*x+60

I know it isn't the shortest and it uses numbers, but I like it because it uses a generating function.

Source Link
hacatu
  • 239
  • 1
  • 4

I found a quintic polynomial that goes through The Numbers at x from 1 to 6. -0.225x^5+4.25x^4-29.375x^3+91.75x^2-122.4x+60. So here's my Python solution:

for x in range(1,6):print -0.225*x**5+2*2.125*x**(2+2)-29.375*x**3+91.75*x**2-2*61.2*x+60

I know it isn't the shortest and it uses numbers, but I like it because it uses a generating function.