Jump to content



Photo
- - - - -

How To Derivata And Save A Given Formula Within A Program?


  • Please log in to reply
3 replies to this topic

#1 ChrisPHL

ChrisPHL

    Newbie

  • Members
  • Pip
  • 2 posts

  • Calculators:
    Algebra FX2.0

Posted 25 January 2008 - 01:15 PM

"How To Derivate And Save A Given Formula Within A Program?"

Hi?there,

I?ve?written?a?program?that?successfully?stores?a?formula?to?"Y1":?
"F(X)"?->Y1

The second formula shall be the derivatioin of the first given one. I have to type in it manually yet?("G(X)"?->Y2") but I think it could be better, s.th. like this:
"G(X)="d/dx(Y1)->Y2
--> Syntax ERROR (at?the1st?"d")
Does anybody of you know a way to do this right? Let me know, please!

#2 alias4399

alias4399

    Casio Freak

  • Members
  • PipPipPipPip
  • 180 posts
  • Location:Impossible to say.. Its not like this is a constant!

  • Calculators:
    CFX 9850GB Plus
    FX 9860G

Posted 25 January 2008 - 02:10 PM

I dont think this calculator supports symbolic differentiation.
You must input a value and the calculator will give you the result of substituting that value into the derivate of the function, for example:

d/dx(x^2), 3
output: 6

because d/dx(x^2) = 2x, and 2(3) = 6

#3 ChrisPHL

ChrisPHL

    Newbie

  • Members
  • Pip
  • 2 posts

  • Calculators:
    Algebra FX2.0

Posted 25 January 2008 - 04:47 PM

May be I?ve chosen the wrong functioin to do it, it was just an example to explain what I wanted to do but I couldn?t find any command like "diff(" in the programing interface.
Any idea how to make it?

EDIT: I found it. There were to add quotation marks as follows:
"d/dx(Y1,X)"->Y2
This does not add the derivation of formula "Y1" but axactly the command to derivate the first equation and is enough to work with.

#4 kucalc

kucalc

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly

    Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 27 January 2008 - 07:05 PM

The Algebra FX does in fact do symbolic differentiation. The problem though is you can't use CAS functions in your BASIC programs.

BTW, welcome to the UCF, ChrisPHL. :D


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users