π
<-

KhiCAS: rajoute CAS + Python sur ta Graph 90+E

Re: KhiCAS: rajoute CAS + Python sur ta Graph 90+E

Unread postby parisse » 13 Jul 2018, 08:57

Petite mise a jour, avec possibilite de changer de fonte dans l'affichage 2-d, et un cleanup du catalogue.
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 84%
 
Posts: 3622
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: KhiCAS: rajoute CAS + Python sur ta Graph 90+E

Unread postby parisse » 13 Jul 2018, 14:51

English version available with translated catalog:
https://www-fourier.ujf-grenoble.fr/~parisse/casio/khicasen.g3a
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 84%
 
Posts: 3622
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: KhiCAS: rajoute CAS + Python sur ta Graph 90+E

Unread postby compsystems » 13 Jul 2018, 18:19

testing xcas in casio

something I like about ti68k is that in the entry line, it can be deleted from the cursor to the end, a second click eliminates the entire entry line, can this function be cloned with some combination of keys in the calculator?

x^4-1|

x^4 | -1 // erase from the cursor to the end
x^4


it is necessary to incorporate printf to print in prettyprint
printf (factor(x^4-1))

a command to call the inputs and outputs but separately, as does the ti68k

> (x^4-1)=>* returns (x+1)*(x-1)*(x^2+1)
> entry(-1) returns factor( x^4-1)
> answer(-1) returns (x+1)*(x-1)*(x^2+1)

> factor( x^4-1) returns (x+1)*(x-1)*(x^2+1)
> printf(answer(-1) ) returns (x+1)*(x-1)*(x^2+1)
> printf(entry(-1) ) returns ( x^4-1)

----------------

To read the result better in the khicasio.html console, each new impression, print in a new line
User avatar
compsystems
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 40.2%
 
Posts: 256
Joined: 30 May 2011, 13:44
Gender: Male
Calculator(s):
MyCalcs profile

Re: KhiCAS: rajoute CAS + Python sur ta Graph 90+E

Unread postby parisse » 13 Jul 2018, 18:48

compsystems wrote:testing xcas in casio

something I like about ti68k is that in the entry line, it can be deleted from the cursor to the end, a second click eliminates the entire entry line, can this function be cloned with some combination of keys in the calculator?

x^4-1|

x^4 | -1 // erase from the cursor to the end
x^4

No need to do that, instead of moving the cursor to the left, press DEL.
AC/ON deletes the entire line.

it is necessary to incorporate printf to print in prettyprint
printf (factor(x^4-1))

No! Just type factor(x^4-1) or x^4-1=>* and you get the answer displayed in prettyprint until you press EXIT.
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 84%
 
Posts: 3622
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: KhiCAS: rajoute CAS + Python sur ta Graph 90+E

Unread postby compsystems » 13 Jul 2018, 19:21

[del] deletes a single character.
[all clear] erase everything.
there is no option to remove the cursor until the end of the expression, in a single step without repetitive dels when the expression is too long.

Now if I want to print in 2D, some previous entry or exit independently, it is not possible. the idea is to call an entry or exit and then print in 2D, without rerunning the command.


-------------
solve(x^4-1
first there should be a full screen showing the warning messages

"Warning adding 1 ) at end of input"
"Warning, argument is not an equation, solving x^4-1=0"

and then a second screen showing the result

list[-1,1]
-------------

?abs returns
No help file found error

-------------

solve(x^4-1,x,`=`) returns syntax error
=> set[x=-1,x=1]
User avatar
compsystems
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 40.2%
 
Posts: 256
Joined: 30 May 2011, 13:44
Gender: Male
Calculator(s):
MyCalcs profile

Re: KhiCAS: rajoute CAS + Python sur ta Graph 90+E

Unread postby parisse » 13 Jul 2018, 20:09

compsystems wrote:there is no option to remove the cursor until the end of the expression, in a single step without repetitive dels when the expression is too long.

Yes, but you need to move the cursor to the intermediate position and that requires as many keystrokes as pressing DEL directly from the end of the commandline (where you can easily go with cursor left from the begin of the commandline).
Now, I'm sure that as usual you have a lot of ideas but here not only life is short, but more importantly rom is full, which means I can not implement anything else (and if I can find a way to spare some memory, I have plenty of Xcas commands that I would like to port and I could not). Therefore, don't waste your time in suggestions (unless it's really really basic to implement), because it won't happen :-)
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 84%
 
Posts: 3622
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: KhiCAS: rajoute CAS + Python sur ta Graph 90+E

Unread postby parisse » 14 Jul 2018, 13:04

Nouvelle mise a jour, avec quelques ameliorations cote graphes:
* commande polygon (graphique repéré)
* attribut line_width_2 a line_width_8 pour faire varier l'epaisseur des segments (y compris dans les lignes polygonales utilisees pour tracer une courbe)
* attribut filled pour remplir un disque (commandes circle pour graphe repéré et draw_circle pour graphe pixelisé) ou un rectangle dont les bords sont paralleles aux axes (commande polygon avec 5 arguments formant un rectangle en graphique repéré et commande draw_rectangle en graphique pixelisé).
Reste a rediger une petite doc en anglais et on pourra passer en mode release...
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 84%
 
Posts: 3622
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: KhiCAS: rajoute CAS + Python sur ta Graph 90+E

Unread postby parisse » 16 Jul 2018, 19:41

Mise a jour, j'ai fini de traduire la doc en anglais, et ajoute draw_arc. On a donc un peu plus de commandes de trace pixellise, qui pourrait constituer la base d'une API commune
* clearscreen() efface l'ecran, set_pixel() synchronise l'ecran
* set_pixel(x,y,c) c=couleur (optionnel)
* draw_line(x1,y1,x2,y2,c)
* draw_rectangle(x,y,w,h,c): rectangle rempli
* draw_circle(x,y,r,c): mettre c a filled+couleur pour avoir un cercle rempli
* draw_arc(x,y,rx,ry,t1,t2,c): arc d'ellipse
* draw_string(s,x,y)
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 84%
 
Posts: 3622
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: KhiCAS: rajoute CAS + Python sur ta Graph 90+E

Unread postby Lionel Debroux » 17 Jul 2018, 10:23

Quelques idées pour les fonctions graphiques:
* au moins une paire de fonctions premettant de sauvegarder et restaurer l'écran sur un niveau, sur les machines qui disposent d'assez de RAM pour ce faire;
* get_pixel(x, y) -> c
* draw_triangle(x1, y1, x2, y2, x3, y3, c): idem draw_circle, possibilité de remplir ou pas le triangle
* et donc, par symétrie, même comportement pour draw_rectangle.
Les primitives de dessin du tour d'un triangle et d'un rectangle sont bien sûr superflues, mais elles s'avèrent plus sympa à l'utilisation, et plus efficaces à l'exécution, que 3 et 4 appels à la fonction de dessin de ligne :)

Si on veut aller un peu plus loin que du dessin pixel, on tombe très vite sur les fonctions de dessin de sprite, et les fonctions de BLIT rectangulaire screen <-> buffer. Les Prime offrent ce genre de choses avec les GROB.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.3%
 
Posts: 6862
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

Re: KhiCAS: rajoute CAS + Python sur ta Graph 90+E

Unread postby Adriweb » 17 Jul 2018, 10:28

Cf. les listes d'ici ?
- http://ce-programming.github.io/toolcha ... nc-members + macros au dessus (toolchain CE communautaire)
- https://wiki.inspired-lua.org/Category:gc (fonctions graphiques officielles nspire lua)

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.8%
 
Posts: 14711
Images: 1119
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

PreviousNext

Return to News Casio

Who is online

Users browsing this forum: ClaudeBot [spider] and 17 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Reprise de ton ancienne fx-92 Collège ou Graph 25/35/90 à 3€ peu importe son état. Même non fonctionnelle et donc invendable, même ancienne Graph 35 non conforme aux programmes (pas de Python), même ancienne Graph 25/35 inutilisable aux examens (pas de mode examen) et donc invendable. Etiquette de retour fournie, pas de frais de port à payer.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
12345
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
996 utilisateurs:
>982 invités
>6 membres
>8 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)