Can someone tell me what is wrong with the following code?


Code:
ClrHome
Disp "Differentiation,","made easy."
Disp " ","Differentiate:"
Input Str1
Disp "w/ respect to:"
Input Str2
ClrHome
Disp "Derivative:"
Output(2,1,...Str1,Str2))
Pause
ClrHome
Can you tell us what it's suppose to do and what is wrong?
On the website I got it from, it said it was supposed to differentiate an expression with actual variables inside (not all numbers, have legit x terms or y terms, depending in what respect the differentiation is occurring). After getting the equation and in what respect, it should display a result.

I tried

Code:
X^2


In respect to


Code:
X


And the emulator and my TI-84 Plus ran into errors centering around


Code:
Output(2,1,...Str1,Str2))


If that helps at all trying to understand my confusion
The problem is that "..." before Str1 is not valid syntax; I'm not sure what the program's author was trying to indicate with that. Unfortunately, unless it's a much, much longer program with a lot of manual string parsing and manual differentiation rules, it's a hoax: the TI-83 Plus/TI-84 Plus family cannot natively do symbolic math including differentiation.
EvilRaptor1997 wrote:
Can someone tell me what is wrong with the following code?


Code:
ClrHome
Disp "Differentiation,","made easy."
Disp " ","Differentiate:"
Input Str1
Disp "w/ respect to:"
Input Str2
ClrHome
Disp "Derivative:"
Output(2,1,...Str1,Str2))
Pause
ClrHome

Lol, its not that simple. That program won't do anything. Evil or Very Mad
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement