Re: A83: Derivatives?


[Prev][Next][Index][Thread]

Re: A83: Derivatives?




  I actually made a program that did derivatives.  But only for
equations like 3x^4+3x^2 and so forth.  It worked for sin and cos (use
SinReg) but didn't give you what you are looking for, exactaully.  It
is easiest to do this in basic.  Might try it is asm though

This is a ruff representation but you should get the idea.

»»»»»»»»»»»»»»»»»»»»»»»»««««««««««««««««««««««««««««

Fix 4      ; To give somewhat rounded numbers
1->dim(L1) ; Shorten L1 (should have obvious reason)
L1->L2
0->B       ; Reset the counter
For(A,-25,25
B+1->B    
nderiv(Y1,X,A)->L2(B) ; Take the number deriv
A->L1(B)
End
2-Var Stats ; Might have to put a L1,L2 at the end
            ; This manipulates our points ro find a equ
QuartReg  ; Makes it into a x^4 equation
          ; or LinReg (ax+b) for x^2 equations, ect..
Float     ; Reset the Fix Decimal

 ; After Program Runs Do a
RegEQU  ; Can't put this in a program

»»»»»»»»»»»»»»»»»»»»»»»»««««««««««««««««««««««««««««

  That should do it.  Wasn't too hard to figure out.  Some equations
may come out wierd but for the most part it will work.  

Jimmy Conner 
  -Master of 83 Basic & Working on ASM
    lol
==
»»»»»»»»»»»»»»»»»»»»«««««««««««««««««««««
»               TI-Magic                «
»  http://www.angelfire.com/tx/timagic/ «
»            TIMagic@Yahoo.com          «
»»»»»»»»»»»»»»»»»»»»«««««««««««««««««««««

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com