1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Straight line equation help

  1. Nov 4, 2014 #1
    1. The problem statement, all variables and given/known data
    The input range of a particular sensor is from 0-6 units and it's output is modelled by the equation O = ƒ(I) = 1+2I+0.005I^2-0.00833I^3

    Ideally the output should be relate to the input by the straight line equation (ISL) if the form O=kI+a

    A) give the law if the ideal straight line for the sensor
    B) Plot a graph of the non linearity (N)I, against input I
    C) from the graph, determine the maximum non linearity of the sensor, expressed as a percentage if output span
    D) Attempt to determine the maximum percentage non linearity by mathematics.

    2. Relevant equations
    O = kI+a

    3. The attempt at a solution
    I not sure where to start here to be honest.
    A) O = 1+ 2I + 0.0025I so ideal straight line equation is O= 2.0025I + 1?
    B) I know once the above equation is right it's a case of inputting the input range into it to get the graph plot points so in put 0 would give output of 1 and so on but this is all based the correctness of the equation in A.
    C) depends on A+B
    D) depends on A+B

    Any guidance on the above would be greatly appreciated.
    Last edited by a moderator: Nov 4, 2014
  2. jcsd
  3. Nov 5, 2014 #2
    I am not familiar with "ideal straight line", but if I had to guess, you should plot the f(I) for 0<I<6, and do regression to find the best fitting line. I would also assume plotting nonlinearity vs input means plot the different between f(I) and the best fitting line at each value of I.

    Did your teacher/book explain what is expected for this kind of thing?
    I am just guessing here, so I would review what was covered in the course
  4. Nov 5, 2014 #3


    User Avatar

    Staff: Mentor

    I suggest that ilovescience85 should ask other students in the class how they are working this problem. Perhaps regression is beyond the course?

    Meanwhile, solve the problem assuming the ideal linear characteristic is simply O=1+2I
    and you can later speedily rework this if a better-fitting line is intended.
  5. Nov 5, 2014 #4


    User Avatar

    Staff: Mentor

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted