## variation table of a function

8 posts
• Page

**1**of**1**- scientifix
- Member
**Posts:**37**Joined:**Sat Jun 22, 2013 10:54 am**Calculators:**Casio fx-9860 GII

### variation table of a function

Hey,

Is it possible to make an add in or a basic program that can represent the variation table of a fonction and the sign of the derivative?

Thanks

Scientifix

Is it possible to make an add in or a basic program that can represent the variation table of a fonction and the sign of the derivative?

Thanks

Scientifix

- helder7
- Senior Member
**Posts:**369**Joined:**Tue Jan 03, 2012 11:24 pm**Calculators:**Casio Afx 1.0, Casio fx-9860 GII SD, Casio Classpad 330, Casio fx-CG 20, Casio Classpad fx-cp400

### Re: variation table of a function

I tried and managed to make a program to do this, in basic.

I used the command SolveN( to find the roots of the derivate equation that the user write, so it only will display up to 10 zeros, even if the function has more (like trig functions for exemple).

I think it is working properly, however, only tested with 4 equations.

Exemple:

for the function: x^3-x

Download: Variation Table

I used the command SolveN( to find the roots of the derivate equation that the user write, so it only will display up to 10 zeros, even if the function has more (like trig functions for exemple).

I think it is working properly, however, only tested with 4 equations.

Exemple:

for the function: x^3-x

Download: Variation Table

SiO2 + CaCO3 ----------> CaSiO3 + CO2

- scientifix
- Member
**Posts:**37**Joined:**Sat Jun 22, 2013 10:54 am**Calculators:**Casio fx-9860 GII

### Re: variation table of a function

Whaou !!

Looks great !

Is it possible to port this program to the fx9860gII and to put the roots in exact value ?

Thanks

scientifix

Looks great !

Is it possible to port this program to the fx9860gII and to put the roots in exact value ?

Thanks

scientifix

- helder7
- Senior Member
**Posts:**369**Joined:**Tue Jan 03, 2012 11:24 pm**Calculators:**Casio Afx 1.0, Casio fx-9860 GII SD, Casio Classpad 330, Casio fx-CG 20, Casio Classpad fx-cp400

### Re: variation table of a function

I saved it as *.g2m format (and I think that it doesnt use any fx-cg20 basic exclusive command) , so should be compatible with fx9860gII without any change. My emulator has expired and I do not have this calculator here, so I can not test currently.

The program can show some roots in exact value, like some fractions, but if for example there are square roots in the root value, when the calculator stores the data in a list, these values are converted to decimal values and is not possible to retrieve it.

Open the menu list and try to write eg:

sqrt(5) and in other cell for exemple 2⌟5... You will understand what I'm trying to say...

You can always write SolveN(Y2) in the Run Matrix, after run the program to get all exact values if you need.

I'm not sure if is at all possible to save each root as a string in Str vars for exemple, because what SolveN return is a list. But even if were possible, would be another problem: lack of space to show the exact value in the screen because usually these exact values are extense when written in 2d and the current program interface has a limit of 8 characters to display the roots value.

For me the program is ok, sometimes showing the decimal value. In my opinion is the best solution.

The program can show some roots in exact value, like some fractions, but if for example there are square roots in the root value, when the calculator stores the data in a list, these values are converted to decimal values and is not possible to retrieve it.

Open the menu list and try to write eg:

sqrt(5) and in other cell for exemple 2⌟5... You will understand what I'm trying to say...

You can always write SolveN(Y2) in the Run Matrix, after run the program to get all exact values if you need.

I'm not sure if is at all possible to save each root as a string in Str vars for exemple, because what SolveN return is a list. But even if were possible, would be another problem: lack of space to show the exact value in the screen because usually these exact values are extense when written in 2d and the current program interface has a limit of 8 characters to display the roots value.

For me the program is ok, sometimes showing the decimal value. In my opinion is the best solution.

SiO2 + CaCO3 ----------> CaSiO3 + CO2

- scientifix
- Member
**Posts:**37**Joined:**Sat Jun 22, 2013 10:54 am**Calculators:**Casio fx-9860 GII

### Re: variation table of a function

Hey,

You are perfectly right with the decimals !

Can the program display the whole variation table on the screen ?

Like this prog for TI : http://chachatelier.fr/programmation/ti-92.php

Have a nice day

Scientifix

You are perfectly right with the decimals !

Can the program display the whole variation table on the screen ?

Like this prog for TI : http://chachatelier.fr/programmation/ti-92.php

Have a nice day

Scientifix

- scientifix
- Member
**Posts:**37**Joined:**Sat Jun 22, 2013 10:54 am**Calculators:**Casio fx-9860 GII

### Re: variation table of a function

Hey,

I tried it on a prizm (not mine, one of a friend) its great !

Could you make it look like this http://ww2.ac-poitiers.fr/math/IMG/png/ ... on_res.png ?

Thanks and great job again !

Scientifix

I tried it on a prizm (not mine, one of a friend) its great !

Could you make it look like this http://ww2.ac-poitiers.fr/math/IMG/png/ ... on_res.png ?

Thanks and great job again !

Scientifix

- scientifix
- Member
**Posts:**37**Joined:**Sat Jun 22, 2013 10:54 am**Calculators:**Casio fx-9860 GII

### Re: variation table of a function

Hey,

I don't understand why but when I enter an equation: x^3-x (like you did for the picture), it says me that SolveN(Y2) gives no solutions which is wrong it should give x=-sqrt(3)/3 or x=sqrt(3)/3 !

Can you help me ?

Scientifix

I don't understand why but when I enter an equation: x^3-x (like you did for the picture), it says me that SolveN(Y2) gives no solutions which is wrong it should give x=-sqrt(3)/3 or x=sqrt(3)/3 !

Can you help me ?

Scientifix

- helder7
- Senior Member
**Posts:**369**Joined:**Tue Jan 03, 2012 11:24 pm**Calculators:**Casio Afx 1.0, Casio fx-9860 GII SD, Casio Classpad 330, Casio fx-CG 20, Casio Classpad fx-cp400

### Re: variation table of a function

I tested the program on fx9860GII and it seems that there are some problems with SolveN function.

The calculator does not seem to be able to solve d/dx(x^3-x) for exemple, contrary to Prizm. However calculating the derived equation manually, gives the correct result.

There is nothing I can do to solve the problem, except perhaps create a version just for fx9860gii and ask by the derived equation also.

The calculator does not seem to be able to solve d/dx(x^3-x) for exemple, contrary to Prizm. However calculating the derived equation manually, gives the correct result.

There is nothing I can do to solve the problem, except perhaps create a version just for fx9860gii and ask by the derived equation also.

SiO2 + CaCO3 ----------> CaSiO3 + CO2

8 posts
• Page

**1**of**1**### Who is online

Users browsing this forum: No registered users and 4 guests