Programming on a TI Nspire

Discussion in 'Math' started by krisstoops, Apr 4, 2012.

  1. krisstoops

    Thread Starter New Member

    Apr 4, 2012
    3
    0
    Hi everyone,

    i am looking for help on programming in TI Nspire software for a validation project. Since 'TI cares' doesn't really give any practical programming support, I came here hoping for help/answers.

    Basically, I need to learn more about little things to pay attention to, to make my programs work properly.

    Below i have put a program written to calculate a standard deviation value based on two input values, but there seems to be a glitch in there somewhere, and i don't recognize it.

    Code ( (Unknown Language)):
    1.  
    2. Define LibPub stddevcontrol()=
    3. Prgm
    4. :Define Local odc1, odc2
    5. :Request "OD 1 control?", odc1
    6. :Request "OD 2 control?", odc2
    7. :Define Local stdctrl=stDevPop(odc1,odc2)
    8. :Disp "Standard Deviation of first control=",stdctrl
    9. :EndPrgm
    10.  
    Does anyone have an idea about the flaw in here?

    Thanks everyone!
     
    Last edited by a moderator: Apr 4, 2012
  2. krisstoops

    Thread Starter New Member

    Apr 4, 2012
    3
    0
    The program obviously misses a variable to store the result. I adjusted this, and ran the program.

    Then i get the error message 'Function is not defined'.

    Why is this?
     
  3. krisstoops

    Thread Starter New Member

    Apr 4, 2012
    3
    0
    forget the variable part. it was ok i think
     
  4. Wendy

    Moderator

    Mar 24, 2008
    20,766
    2,536
    I am posting this to eliminate the traces of a spammer. I'll erase it when someone else puts something up.
     
Loading...