Differences between revisions 1 and 17 (spanning 16 versions)
Revision 1 as of 2009-10-15 12:59:18
Size: 409
Comment:
Revision 17 as of 2009-11-01 13:05:03
Size: 4453
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Interface SAGE adapté au programme du lycée == == What goes wrong in the SAGE notebook interface for secondary school (need of a "Lycee interface") ==
Line 3: Line 3:
Adapter l'espace de nom.
Rendre tout fonctionnel.
Some of (nice) sage features are not well adapted at an elementary level. In particular:
   * the oriented object syntax must be avoided: a student who see for the first time functions and derivation won't be able to understand f.derive(). The interface must be intuitive from the mathematic *standard* syntax point of vue.
   * The algebra under polynoms must be cached. QQbar, Number fields must be in backend.
   * The namespace is in general too big (and that's a general problem in SAGE).
Line 6: Line 8:
Extrait du programme de terminal:
   * suites (approximations : pi, e, sqrt(2), ...) [1ère S]
   * polynômes du second degré [1ère S]
   * étude de fonctions [1ère S]
   * continuité, dérivation [Tale S]
   * intégration [Tale S]
There is also supplementary question:
   * do a french translation of commmands ?
   * is there some interactive geometry ?

== program of secondary school is in France ==

   * sequences (approximations : pi, e, sqrt(2), ...) [1e S]
   * second degree polynom [1e S]
   * continuity derivation [Tale S]
   * functions study (derivative, primitive, variations, roots) [Ta1e S]
   * integration[Tale S]
Line 14: Line 21:
== Lycee interface ==
Line 15: Line 23:
A adapter à SAGE
   * géométrie interactive
The sage lycee interface will be based on sage-4.2 (latest version on the 31rd of October). There is a running notebook server at : https://139.124.6.88:8001 and the corresponding applied patch is at: http://iml.univ-mrs.fr/~delecroi/lycee-vd.patch

For a quick overview:
   * demo file for polynoms at https://139.124.6.88:8001/home/pub/0

Clearing the namespace causes some crashes (there are some general memory initialization). I make research to do it properly. For now, I use a "do it, if it works it's good" method.

In the current version, what is available at initialization :

Variables and numbers
   * t,x,y,z : are variables (in fact element of polynomial ring over QQ)
   * var : use it to create new variables. var('t1,t2,t3') will create three variables in the global namespace.
   * i, I : the well known complex number
   * e, pi : well known real numbers

Rings and fields:
   * ZZ, QQ, RR, CC : the integers, rationals, reals and complexes.
   * real_part, imag_part : real and imaginary part of a complex

Functions:
   * cos, sin, tan, arcos, ... : trigo
   * cosh, sinh, arctanh, ... : hyperbolic trigo
   * sqrt : the square root function
   * log, exp : logarithm in any base and exponential

Dealing with polynoms:
   * roots : compute the roots of a polynom (just a messy "def roots(p): return p.roots")
   * derivative, integerate : compute the derivative and primitive
   * factor : performs a factorization

Geometry:
   * plot : plot functions or anyobject
   * point, points, point2d : plot points
   * line2d : lines
   * text : some text (could have some latex expression between two '$')
   * show : show a graphic object

Arithmetic:
   * is_prime, gcd, lcm : standard arithmetic functions
   * factor
   * It is possible to work modulo p but not so easily

== TODO ==

There is still a lot of problems:
   * sqrt(n) (log(n), exp(n), ...) returns a symbolic expression which does not evaluate correctly as boolean expression.
   * help topics in the rest documentation
   * latex rendering in plot is not easy to have : {{{sage: text("$" + latex(my_object) + "$", (0,0))}}}. Is there a better way ?


== Calendar TODO (mi2010) ==

   * contacter des enseignants pour la conception de l'interface lycée.
   * contacter des enseignants pour la conception d'ateliers pratiques tests
   * régler le problème des machines pour les ateliers pratiques
   * prévoir le spam général (depuis les listes du rectorat) pour les alentours du 10 Décembre

== Programme (provisoire) (mi2010) ==

10h Présentation du logiciel Sage (qui ? )
D'où est parti le projet ? Qu'est-ce qu'un logiciel libre ?
Son modèle de développement.

10h30 Premiers pas avec Sage avec "l'interface lycée"
les feuilles de travail
langage de programmation (~python)
utilisation client serveur
le partage des feuilles
et un exemple de feuille de travail

11H30 Exposé de recherche en s'appuyant sur Sage (Arnoux sur le fractal de Rauzy ?)

14h Ateliers pratiques (propositions de TP à différents niveaux (terminale S et prépa)
proposer l'installation
des TPs modèles
ouvrir un appel à demande de TP pour les profs de lycées (Anne C.)
Des gens prêt à réaliser des TP


16h Table ronde: quelle place pour Sage dans l'éducation ?
chercheurs + développeurs + enseignants secondaires


17h30 Fin (apéro)

What goes wrong in the SAGE notebook interface for secondary school (need of a "Lycee interface")

Some of (nice) sage features are not well adapted at an elementary level. In particular:

  • the oriented object syntax must be avoided: a student who see for the first time functions and derivation won't be able to understand f.derive(). The interface must be intuitive from the mathematic *standard* syntax point of vue.
  • The algebra under polynoms must be cached. QQbar, Number fields must be in backend.
  • The namespace is in general too big (and that's a general problem in SAGE).

There is also supplementary question:

  • do a french translation of commmands ?
  • is there some interactive geometry ?

program of secondary school is in France

  • sequences (approximations : pi, e, sqrt(2), ...) [1e S]
  • second degree polynom [1e S]
  • continuity derivation [Tale S]
  • functions study (derivative, primitive, variations, roots) [Ta1e S]
  • integration[Tale S]

Lycee interface

The sage lycee interface will be based on sage-4.2 (latest version on the 31rd of October). There is a running notebook server at : https://139.124.6.88:8001 and the corresponding applied patch is at: http://iml.univ-mrs.fr/~delecroi/lycee-vd.patch

For a quick overview:

Clearing the namespace causes some crashes (there are some general memory initialization). I make research to do it properly. For now, I use a "do it, if it works it's good" method.

In the current version, what is available at initialization :

Variables and numbers

  • t,x,y,z : are variables (in fact element of polynomial ring over QQ)
  • var : use it to create new variables. var('t1,t2,t3') will create three variables in the global namespace.
  • i, I : the well known complex number
  • e, pi : well known real numbers

Rings and fields:

  • ZZ, QQ, RR, CC : the integers, rationals, reals and complexes.
  • real_part, imag_part : real and imaginary part of a complex

Functions:

  • cos, sin, tan, arcos, ... : trigo
  • cosh, sinh, arctanh, ... : hyperbolic trigo
  • sqrt : the square root function
  • log, exp : logarithm in any base and exponential

Dealing with polynoms:

  • roots : compute the roots of a polynom (just a messy "def roots(p): return p.roots")
  • derivative, integerate : compute the derivative and primitive
  • factor : performs a factorization

Geometry:

  • plot : plot functions or anyobject
  • point, points, point2d : plot points
  • line2d : lines
  • text : some text (could have some latex expression between two '$')
  • show : show a graphic object

Arithmetic:

  • is_prime, gcd, lcm : standard arithmetic functions
  • factor
  • It is possible to work modulo p but not so easily

TODO

There is still a lot of problems:

  • sqrt(n) (log(n), exp(n), ...) returns a symbolic expression which does not evaluate correctly as boolean expression.
  • help topics in the rest documentation
  • latex rendering in plot is not easy to have : sage: text("$" + latex(my_object) + "$", (0,0)). Is there a better way ?

Calendar TODO (mi2010)

  • contacter des enseignants pour la conception de l'interface lycée.
  • contacter des enseignants pour la conception d'ateliers pratiques tests
  • régler le problème des machines pour les ateliers pratiques
  • prévoir le spam général (depuis les listes du rectorat) pour les alentours du 10 Décembre

Programme (provisoire) (mi2010)

10h Présentation du logiciel Sage (qui ? ) D'où est parti le projet ? Qu'est-ce qu'un logiciel libre ? Son modèle de développement.

10h30 Premiers pas avec Sage avec "l'interface lycée" les feuilles de travail langage de programmation (~python) utilisation client serveur le partage des feuilles et un exemple de feuille de travail

11H30 Exposé de recherche en s'appuyant sur Sage (Arnoux sur le fractal de Rauzy ?)

14h Ateliers pratiques (propositions de TP à différents niveaux (terminale S et prépa) proposer l'installation des TPs modèles ouvrir un appel à demande de TP pour les profs de lycées (Anne C.) Des gens prêt à réaliser des TP

16h Table ronde: quelle place pour Sage dans l'éducation ? chercheurs + développeurs + enseignants secondaires

17h30 Fin (apéro)

MathsAuLycee (last edited 2017-02-05 17:47:03 by mrennekamp)