Solve with x under fraction bar = FALSE

Discuss issues related to the Casio Basic Language
Junior Member
Posts: 2
Joined: Tue Nov 21, 2017 9:51 am
Calculators: Casio fx-9750GII, Casio Classpad fx-CP400

Solve with x under fraction bar = FALSE

Postby NewCoder » Tue Nov 21, 2017 10:02 am

I tried to write a program which uses the solve function with an function entered by the user. It looks like this:
Code: Select all
Input  a,"Function f(x)"
Print z

The result is, that it prints 'FALSE', but only if I use examples with an x under the fraction bar. My example function was (3x^7-x)/(x^2).

Has anybody an idea what I can do to get the right answer?

EDIT: It has do do something with diff, because if I use solve on the function before calculating with it, it works.
An error occurs which says "wrong argument type".

Return to Casio Basic Development

Who is online

Users browsing this forum: No registered users and 1 guest