Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: How can I get a function relation with these two sets?

  1. Mar 2, 2012 #1
    1. The problem statement, all variables and given/known data

    I have these two sets:

    Pairwise, (1, 1) (2, 4) (3, 9) (4, 16). Clearly this is just squared.

    How can I get a function relation with like:
    (1, 1) (2, 3) (3, 9) (4, 10)

    or like

    (1, 1) (2, 5) (3, 12) (4, 22)


    2. Relevant equations



    3. The attempt at a solution


    I know it is exponential...
    Can I do something with log?
     
  2. jcsd
  3. Mar 2, 2012 #2

    Dick

    User Avatar
    Science Advisor
    Homework Helper

    Any number of ways. You could just fit a polynomial to them if you only have four points.
     
  4. Mar 2, 2012 #3
    Do I need a program to do it or can I do it by algebra..?
     
  5. Mar 2, 2012 #4

    Dick

    User Avatar
    Science Advisor
    Homework Helper

    Sure you can do it by algebra. Write y=x^4+a*x^3+b*x^2+c*x+d. Put in your four x and y values. That gives you a system of four linear equation in a,b,c,d. Solve them. It's certainly easier using a program, but you can do it by hand.
     
  6. Mar 2, 2012 #5
    Last edited: Mar 2, 2012
  7. Mar 2, 2012 #6
    Thanks!!
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook