Jump to content



Photo
- - - - -

Fx9860 Cas


  • Please log in to reply
24 replies to this topic

#1 Alexis

Alexis

    Casio Fan

  • Members
  • PipPip
  • 32 posts

  • Calculators:
    CP300

Posted 30 March 2008 - 10:15 PM

Hi,
a new version of the CAS for the fx-9860 was published.
This program could expand, simplify, differenciate, ect...
but now, it can solve equations (give only exact results), return exact value of the sinus or cosinus of an angle...
a website is dedicated to this : http://cas.jeuxcasio.com/en
you can find some help on it and download the program.


Some examples :

"expa(" : expa(fct(,var))
"expa((x-a)(x+1)+x" : x^2-a*x+2x-a
"expa((x-a)(x+1)+x,x" : x^2+(-a+2)*x-a
"expa((x-a)(x+1)+x,a" : x^2-a*x+2x-a

"solv(" : solv(fct=fct(,var))
"solv(sqr x+sqr (x-1)=c" : (c^2+1)^2/(4c^2)
"solv((e^(2x)-1)/(e^x+2)=2" : ln (sqr 6+1),ln -(sqr 6-1)

"diff(" : diff(fct(,var))
"2a+diff(cos(a*x),a" : 2a-x*sin (a*x)

"gcd(" : gcd(nb,nb)
"gcd(9,12" : 3

"cos (3pi/5)" : -(sqr 5-1)/4
"e^(33i*pi/8)" : (sqr (sqr 2+2))/2+sqr (2-sqr 2)*i/2
"i^6" : -1

#2 Andreas B

Andreas B

    Casio Freak

  • Members
  • PipPipPipPip
  • 160 posts
  • Gender:Male
  • Location:Norway

  • Calculators:
    fx-9860G SD

Posted 31 March 2008 - 01:14 PM

Looks pretty solid..
Some tips for usability/the interface:
- A thing to add could be indicators showing which line(s) are user input and which lines are output.
- If the cursor is all the way on the left, when DEL is pressed - it should start removing characters to the right of it.
- allow use of the a/bc key to work as '/'.
- I'd prefer faster key response (faster cursor movement on a line).

Seems like very nice work :)

#3 Alexis

Alexis

    Casio Fan

  • Members
  • PipPip
  • 32 posts

  • Calculators:
    CP300

Posted 31 March 2008 - 06:39 PM

no pb, I will see what I can do. ;)
Can you tell me what do you mean exactly by "faster key response" ?

#4 Andreas B

Andreas B

    Casio Freak

  • Members
  • PipPipPipPip
  • 160 posts
  • Gender:Male
  • Location:Norway

  • Calculators:
    fx-9860G SD

Posted 31 March 2008 - 08:19 PM

Using Bkey_Set_RepeatTime to set shorter delays for key repeats.

#5 PierrotLL

PierrotLL

    Newbie

  • Members
  • Pip
  • 25 posts
  • Gender:Male
  • Location:France

  • Calculators:
    fx9860
    Classpad 330

Posted 31 March 2008 - 10:54 PM

I just add some things in interface (it's not online yet).
I add key up and down to move cursor, a+b/c key write '/', when the cursor is on the left, the DEL key remove characters to the right.
For key repeat, you think it's realy too slow? It's the default value, the same speed as in RUN.
To distinguish input lines and results lines, I don't know how to do. With PrintReverse function, it would be ugly.

Thanks for ideas :)

#6 ben_i

ben_i

    Newbie

  • Members
  • Pip
  • 14 posts

  • Calculators:
    cfx 9850gb +

Posted 01 April 2008 - 06:37 AM

Please add indefinite integration
please please please
:rolleyes:

#7 Andreas B

Andreas B

    Casio Freak

  • Members
  • PipPipPipPip
  • 160 posts
  • Gender:Male
  • Location:Norway

  • Calculators:
    fx-9860G SD

Posted 01 April 2008 - 12:15 PM

For key repeat, you think it's realy too slow? It's the default value, the same speed as in RUN.
To distinguish input lines and results lines, I don't know how to do. With PrintReverse function, it would be ugly.

I might be easily annoyed, but I think the default setting is slow :P. I understand if you would like other peoples input before you change it.
How about prefixing the input or output (or both, - would be a waste though) with a character?
Characters 0xE69E, 0xE69F, 0xE5A4, or 0x13 may be suitable..

#8 PierrotLL

PierrotLL

    Newbie

  • Members
  • Pip
  • 25 posts
  • Gender:Male
  • Location:France

  • Calculators:
    fx9860
    Classpad 330

Posted 01 April 2008 - 04:43 PM

It's a good idea, thank you :)
I will trie some characters, I like 0xE69B ^^

#9 sunnyboy

sunnyboy

    Casio Fan

  • Members
  • PipPip
  • 31 posts

  • Calculators:
    Casio FX-85MS
    Casio FX-9860G
    Casio FX-9860GII

Posted 03 April 2008 - 01:04 AM

Well a nice one. I will love to see the limit function being implement.
e.g sinx/x --> 1 as x-->0

Also, hope that you would stick on to this project and don't give up CAS on 9860 like kucalc did...

#10 Alexis

Alexis

    Casio Fan

  • Members
  • PipPip
  • 32 posts

  • Calculators:
    CP300

Posted 03 April 2008 - 10:03 PM

don't worry ;)

#11 Manuel Naranjo

Manuel Naranjo

    Casio Addict

  • Members
  • PipPipPip
  • 65 posts
  • Gender:Male
  • Location:Rosario, Argentina

Posted 08 April 2008 - 02:21 PM

Alexis,

Hey good job you did it man :D.

One question any chance I can access to the source code? I would like to help to add Laplace and Fourier transforms to the system. I don't mind if my code has to remain closed, but I don't want to reinvent the wheel.

Cheers,
Manuel

#12 Alexis

Alexis

    Casio Fan

  • Members
  • PipPip
  • 32 posts

  • Calculators:
    CP300

Posted 08 April 2008 - 09:36 PM

hi, we have a new version.
it can now track most syntax error and we've added some mathematical functions.

(you can download it on : http://cas.jeuxcasio.com/en )

#13 PierrotLL

PierrotLL

    Newbie

  • Members
  • Pip
  • 25 posts
  • Gender:Male
  • Location:France

  • Calculators:
    fx9860
    Classpad 330

Posted 08 April 2008 - 10:25 PM

And I use Bkey_Set_RepeatTime(15, 4) for you Andreas ^_^

#14 Alexis

Alexis

    Casio Fan

  • Members
  • PipPip
  • 32 posts

  • Calculators:
    CP300

Posted 09 April 2008 - 07:43 PM

I have a question :
what do you prefer for the output?

2ln x+3 (current version) or 2ln(x)+3

#15 Manuel Naranjo

Manuel Naranjo

    Casio Addict

  • Members
  • PipPipPip
  • 65 posts
  • Gender:Male
  • Location:Rosario, Argentina

Posted 10 April 2008 - 02:42 AM

2ln x+3 (current version) or 2ln(x)+3


I think ln(x) makes more sense, as ln x+3 can be confused with ln(x+3)

Another thing, what about the imaginary unit? Is that implemented all ready?

#16 Alexis

Alexis

    Casio Fan

  • Members
  • PipPip
  • 32 posts

  • Calculators:
    CP300

Posted 10 April 2008 - 03:11 PM

ok, so I will change the output.

I've begun to implement the imaginary unit.

Exemples :
"i^5" : i
"e^(i*a)" : sin a*i+cos a
"expa((i-1)(i+1)" : -2
ect...

(I will use the special caracter "i" instead of "i")

#17 Andreas B

Andreas B

    Casio Freak

  • Members
  • PipPipPipPip
  • 160 posts
  • Gender:Male
  • Location:Norway

  • Calculators:
    fx-9860G SD

Posted 11 April 2008 - 07:10 PM

Version 090408:
If you select function that does not exist, it leads to a crash. It is also possible to select an undefined menu (F4-F6) - could lead to confusion.
An option to force parentheses on all functions could be nice.

Edit: The app allows the UP key to get last input, and shows uninitialized data when no input has been given before (on startup).

#18 PierrotLL

PierrotLL

    Newbie

  • Members
  • Pip
  • 25 posts
  • Gender:Male
  • Location:France

  • Calculators:
    fx9860
    Classpad 330

Posted 16 April 2008 - 11:37 PM

Thank you, these two bugs are now fixed :)

#19 Andreas B

Andreas B

    Casio Freak

  • Members
  • PipPipPipPip
  • 160 posts
  • Gender:Male
  • Location:Norway

  • Calculators:
    fx-9860G SD

Posted 17 April 2008 - 07:59 PM

Could you add bounds checks? Numbers that don't fit in longs (everything not between -2^32+1 and 2^32-1), cause gibberish on the screen. Just to explain to the user that the input or output overflows the maximum size.

Being able to use the EXP key as an alias for *10^ (or include it in your parser), could be nice.

#20 Alexis

Alexis

    Casio Fan

  • Members
  • PipPip
  • 32 posts

  • Calculators:
    CP300

Posted 17 April 2008 - 10:53 PM

Sorry, I wanted to make possible to use "big numbers" and I haven't done it yet.

In today's version we've changed the output and add new menu.
I have begun to work on the integration function as you can see.
( http://cas.jeuxcasio.com/en/ )

Exemples :
intgr(a^x,x,1,2) : a(a-1)/ln(a)
intgr(x^3,x,0,1) : 1/4
intgr(1/(3x+2)+2y,x : 2y*x+(ln(3x+2))/3

#21 Andreas B

Andreas B

    Casio Freak

  • Members
  • PipPipPipPip
  • 160 posts
  • Gender:Male
  • Location:Norway

  • Calculators:
    fx-9860G SD

Posted 18 April 2008 - 03:44 PM

Awesome. The new menus look good, but I notice it hurts the usability/speed of use.. Keeping the old style, indicating submenus with black background and functions/commands with white background and top-left outline, would be more similar to other CASIO apps.
Is it not supposed to be any limit on the input? I can get the cursor to move to the 'end' (where it is not movable in any direction unless you do AC or DEL), but if I move the cursor before this I can input as much as I want - causing text to be pushed far behind the position the cursor is limited to.

Feature suggestion:
n-th roots and 3-rd roots (the keys)
logs with other bases than e and 10
10^x key
x^(-1) key

sin(pi/5) (as in example on the website) makes an "Error : Syntax". Basically anything with pi gives a syntax error.

#22 Alexis

Alexis

    Casio Fan

  • Members
  • PipPip
  • 32 posts

  • Calculators:
    CP300

Posted 18 April 2008 - 05:20 PM

thank you, your help is very useful :)
we've correct the bugs came with the last version and now you can select functions by typing the corresponding number.

logs with other bases than e and 10

how can the user choose the base for the log? log(nb,base)?

#23 uvoK

uvoK

    Casio Fan

  • Members
  • PipPip
  • 35 posts

  • Calculators:
    CASIO fx-9860G

Posted 22 April 2008 - 03:11 PM

The menu does not work :-(
It doesnt select what is "highlighted", it selects something completely different.

diff -> gcd
intgr -> fact
solv -> expand
expand -> solv
fact -> intgr
gdc -> diff

but selecting with numers wotks.


oh, and btw: what's the syntax of fact?

#24 Alexis

Alexis

    Casio Fan

  • Members
  • PipPip
  • 32 posts

  • Calculators:
    CP300

Posted 23 April 2008 - 08:47 AM

sorry, a new version which correct this, has been uploaded yesterday.

oh, and btw: what's the syntax of fact?

You can select fact and press <span class=EXE' /> and the syntax will appear
"fact("->fact(nb)

currently, fact( only works with numbers.

#25 uvoK

uvoK

    Casio Fan

  • Members
  • PipPip
  • 35 posts

  • Calculators:
    CASIO fx-9860G

Posted 23 April 2008 - 06:56 PM

Thanks, now it works!! :-)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users