Software:Xcas

From HandWiki
Xcas
Xcas 1.5 running on Windows 10
Developer(s)Bernard Parisse (fr)
Initial release2000; 26 years ago (2000)
Stable release
Written inC++
Operating systemWindows, macOS, Linux, FreeBSD, Android, iOS
TypeComputer algebra system (CAS)
LicenseGNU GPL
Websitexcas.univ-grenoble-alpes.fr/en.html
calculate fractions without common denominator
Figure 1. Xcas calculates fractions without common denominator.
Figure 2. Xcas can solve equations, calculate derivatives, antiderivatives and more.
Figure 3. Xcas can solve differential equations.

Xcas is a user interface to Giac, which is an open source[1] computer algebra system (CAS) for Windows, macOS and Linux among many other platforms. Xcas is written in C++.[2] Giac can be used directly inside software written in C++.

Xcas has compatibility modes with many popular algebra systems like WolframAlpha,[3] Mathematica,[4] Maple,[5] or MuPAD. Users can use Giac/Xcas to develop formal algorithms or use it in other software. Giac is used in SageMath[3] for calculus operations. Among other things, Xcas can solve differential equations (Figure 3) and draw graphs. There is a forum for questions about Xcas.[6]

CmathOOoCAS, an OpenOffice.org plugin which allows formal calculation in Calc spreadsheet and Writer word processing, uses Giac to perform calculations.[7]

Features

Here is a brief overview of what Xcas' features:[8][9]

Example Xcas commands:

  • produce mixed fractions: propfrac(42/15) gives 2 + 4/5
  • calculate square root: sqrt(4) = 2
  • draw a vertical line in coordinate system: line(x=1) draws the vertical line x=1 in the output window
  • draw graph: plot(function) (for example, plot(3 * x^2 - 5) produces a plot of y = 3x2 − 5
  • calculate average: mean([3, 4, 2]) is 3
  • calculate variance: variance([3, 4, 2]) is 2/3
  • calculate standard deviation: stddev([3, 4, 2]) is 6/3
  • calculate determinant of a matrix: det(1,2], [3,4) is −2
  • calculate local extrema of a function: extrema(-2*cos(x)-cos(x)^2,x) is [0, π]
  • calculate cross product of two vectors: cross([1, 2, 3], [4, 3, 2]) is [-5, 10, -5]
  • calculate permutations: nPr()
  • calculate combinations: nCr()
  • solve equation: solve(equation,x)
  • factoring polynomials: factor(polynomial,x) or cfactor(polynomial,x)
  • differentiation of function: diff(function,x)
  • calculate indefinite integrals/antiderivatives: int(function,x)
  • calculate definite integrals/area under the curve of a function: int(function,x,lowerlimit,upperlimit)
    • calculate definite integral (also called solid of revolution) - finding volume by rotation (around the x-axis): int(pi*function^2,x,lowerlimit,upperlimit)
    • calculate definite integral (also called solid of revolution) - finding volume by rotation (around the y-axis) for a decreasing function: int(2*pi*x*function,x,lowerlimit,upperlimit)
  • separation of variables: split((x+1)*(y-2),[x,y]) produces [x+1,y2]
  • desolve differential equation (the derivatives are written as y or y″): desolve(differential equation,y)

Supported operating systems

History

Xcas and Giac are open-source projects developed and written by Bernard Parisse (fr) and Renée De Graeve at the former Joseph Fourier University of Grenoble (now the Grenoble Alpes University),[23] France since 2000.[24] Xcas and Giac are based on experiences gained with Parisse's former project Erable.[25] Pocket CAS and CAS Calc P11 utilize Giac.

The system was also chosen by Hewlett-Packard as the CAS for their HP Prime calculator, which utilizes the Giac/Xcas 1.5.0 engine under a dual-license scheme.

In 2013, the mathematical software Xcas was also integrated into GeoGebra's CAS view.[26]

Use in education

Since 2015, Xcas is used in the French education system.[27][28][29][30] Xcas is also[31] used in German[32] universities,[33][34] and in Spain and Mexico.[35] It is also used at the University of North Carolina Wilmington[36] and the University of New Mexico.[37] Xcas is used in particular for learning algebra.[38]

"χCAS" port for graphing calculators

There is a port of Giac/Xcas for certain graphing calculator models, called χCAS (KhiCAS) , installed or "sideloaded" as a 3rd party application. (As opposed to an officially distributed or supported component of the calculators' OS, as is the case for some HP calculators' Xcas integration)

Casio graphing calculators were the first to support Xcas ("KhiCAS"), as a 3rd party CAS engine on the fx-CG Prizm series, including the fx-CG50 and successor fx-CG100. Outside of the Prizm series, select models in the Casio 9860 series are supported as well, including the fx-9750GIII and fx-9860GIII. None of these models have their own computer algebra system.

Xcas is also available for the TI Nspire CX, CX-II, and Numworks N0110[39]

In 2024, a special cut-down version was released for the TI-84+ CE and some variants from Texas Instruments.[40] Other models that Xcas supports bear 32-bit systems, standing in contrast to the TI-84+ CE's much older 8-bit Zilog Z80-based CPU. These comparatively limited hardware resources necessitated the removal of some features to make the port possible.[41] While Casio and NumWorks graphing calculators are not uncommon in France, from where Xcas author Bernard Parisse hails, TI-84+ CE support makes Xcas much more relevant in the United States, where Texas Instruments holds a monopoly[42] on graphing calculators used in education.

See also

References

  1. "Giac/Xcas and Pari/GP". https://pari.math.u-bordeaux.fr/Events/PARI2016/talks/Parisse.pdf. 
  2. "Elsevier Enhanced Reader" (in en). https://reader.elsevier.com/reader/sd/pii/S2095034915302142?token=BE1FC741327E0877498CD798CFA7B4FBC7930B3B1AAC9B95F3BCC54C4AD39121EBA4DA737B4F42F988AF2ACBE0B0D1CB&originRegion=eu-west-1&originCreation=20220608080827. 
  3. 3.0 3.1 Tõnisson, Eno (9 November 2017). Differences between expected answers and the answers offered by computer algebra systems to school mathematics equations (Thesis). hdl:10062/58398.
  4. "Computer Algebra in Education". https://math.unm.edu/~aca/ACA/2017/education.html. 
  5. "xcas - Computer Algebra System - console and graphical calculator" (in en). https://reposcope.com/package/xcas. 
  6. "Le forum de XCAS - Page d'accueil". https://xcas.univ-grenoble-alpes.fr/forum/. 
  7. "An introduction to the Xcas interface". https://www-fourier.ujf-grenoble.fr/~parisse/giac/tutoriel_en.pdf. 
  8. "MATHEMATICS EDUCATION AS A SCIENCE AND A PROFESSION". Josip Juraj Strossmayer University of Osijek. 2019-05-02. https://files.eric.ed.gov/fulltext/ED577935.pdf#page=201. 
  9. Read more commands and features here .
  10. 10.0 10.1 "Xcas reference card". https://www.yumpu.com/en/document/read/21966726/xcas-reference-card. 
  11. 11.0 11.1 Gandit, Michèle (2009). "Experimenting and proof in mathematics with XCAS". in Bardini, C.; Fortin, P.; Oldknow, A. et al.. Proceedings of the 9th International Conference on Technology in Mathematics Teaching. Metz, France. 
  12. Halkos, George E.; Tsilika, Kyriaki D. (2015). "Using Xcas in Calculus Curricula: a Plan of Lectures and Laboratory Projects". Computational and Applied Mathematics Journal 1 (3). http://www.aascit.org/journal/archive2?journalId=928&paperId=1966. 
  13. Halkos, George E.; Tsilika, Kyriaki D.; Simos, Theodore E.; Psihoyios, George; Tsitouras, Ch.; Anastassi, Zacharias (2011). "Xcas as a Programming Environment for Stability Conditions for a Class of Differential Equation Models in Economics". Numerical Analysis and Applied Mathematics Icnaam 2011: International Conference on Numerical Analysis and Applied Mathematics. AIP Conference Proceedings 1389 (1): 1769–1772. doi:10.1063/1.3636951. Bibcode2011AIPC.1389.1769H. 
  14. Fleurant, Cyril; Bodin-Fleurant, Sandrine (2019). "Integration and Differential Equations". Mathematics for Earth Science and Geography. Springer Textbooks in Earth Sciences, Geography and Environment. pp. 145–177. doi:10.1007/978-3-319-69242-5_6. ISBN 978-3-319-69241-8. 
  15. "Computeralgebra-Rundbrief Nr. 62: Fachgruppe Computeralgebra". Gesellschaft für Informatik e.V.. 2019-05-02. http://www.fachgruppe-computeralgebra.de/data/CA-Rundbrief/car62.pdf.  (in German)
  16. "Xcas for Windows". logitheque. 2016-06-09. https://www.logitheque.com/en/software/windows/education/maths-and-arithmetic/download/xcas_62297.htm. 
  17. "Installing Xcas". https://www-fourier.ujf-grenoble.fr/~parisse/install_en.html. 
  18. "Symbolic Algebra Everywhere". Joey Bernard. 2015-12-15. https://www.linuxjournal.com/content/symbolic-algebra-everywhere. 
  19. "Xcas Calcul Formel Lycee | PDF | Intégral | Variable (Mathématiques)". https://www.scribd.com/document/363002275/Xcas-Calcul-Formel-Lycee. 
  20. "Giac/Xcas, a free computer algebra system". https://www-fourier.ujf-grenoble.fr/~parisse/giac.html. 
  21. "Xcas Pad – Apps i Google Play" (in da). https://play.google.com/store/apps/details?id=org.kde.necessitas.mucephi.android_xcas&hl=da&gl=US. 
  22. "Xcas en ligne". https://www.xcasenligne.fr/giac_online/demoGiacPhp.php. 
  23. "Planète MATHS - Liste des ressources par niveau". http://www.ac-grenoble.fr/disciplines/maths/pages/PM/Affichage/FicheNiveau.php?niveau=9. 
  24. Fekih, Lassaad Ben; Verlinden, Olivier; Kouroussis, Georges (2011). "Development of a user-friendly and open-source multibody framework with the help of symbolic tools". 4th International Congress Design and Modelling of Mechanical Systems. Sousse (Tunisia). 
  25. MacCallum, Malcolm A. H. (December 2018). "Computer algebra in gravity research". Living Reviews in Relativity 21 (1). doi:10.1007/s41114-018-0015-6. PMID 30174551. Bibcode2018LRR....21....6M. 
  26. "Xcas | Semantic Scholar" (in en). https://www.semanticscholar.org/topic/Xcas/472762. 
  27. "Liens mathématiques - Lycée Rosa Parks de Montgeron". http://www.lyc-rosaparks-montgeron.ac-versailles.fr/spip.php?article329. 
  28. "M@ths en LIgne". https://membres-ljk.imag.fr/Bernard.Ycart/mel/. 
  29. "Articles en ligne". https://www.epi.asso.fr/revue/articsom.htm. 
  30. "Quelles compétences mathématiques sont sollicitées en physique-chimie et SVT au lycée, et nécessaires pour la licence ?". https://maths.ac-creteil.fr/IMG/pdf/competences_maths_pc_svt.pdf. 
  31. "Module 2 - Introduction". https://www.didaktik.mathematik.uni-wuerzburg.de/edumatics/mod2/technology.html. 
  32. Halkos, George; Tsilika, Kyriaki (November 2014). "Perspectives on integrating a computer algebra system into advanced calculus curricula" (in en). https://mpra.ub.uni-muenchen.de/63898/. 
  33. "Computeralgebra. Rundbrief". https://siegel.mathematik.uni-oldenburg.de/data/CA-Rundbrief/car62.pdf. 
  34. "Abschlussbericht "Intelligentes Lernen"". https://www.uni-weimar.de/fileadmin/user/fak/medien/hauptseiten/InnoProfile/BMBF-03IP704-Abschlussbericht.pdf. 
  35. Salat Figols, Ramón Sebastián (2013). "La enseñanza de las matemáticas y la tecnología" (in es). Revista Innovación Educativa 13 (62): 61–74. https://repositoriodigital.ipn.mx/handle/123456789/17505. 
  36. "Xcas_session". http://people.uncw.edu/freezem/tools/webxcas/webxcas2.htm. 
  37. "Computer Algebra in Education". https://math.unm.edu/~aca/ACA/2015/education.html. 
  38. "THE DERIVE - NEWSLETTER #99". http://www.austromath.at/dug/dnl99.pdf. 
  39. "Installing Xcas". https://www-fourier.ujf-grenoble.fr/~parisse/install_en. 
  40. "KhiCAS for ti84ce/ti83ce (beta) - Cemetech | Forum | Your Projects [Topic"]. https://www.cemetech.net/forum/viewtopic.php?t=19966&start=0. 
  41. Parisse, Bernard (2024). "χCAS for the TI84 Plus CE". https://www-fourier.univ-grenoble-alpes.fr/~parisse/ti/khicas84.html. 
  42. Orbach, Barak; Orbach, Eli; Orbach, Barak Orbach and Eli (2024-04-08). "TI’s Calculator Monopoly Offers Lessons for Educators in the Age of Generative AI" (in en-US). https://www.promarket.org/2024/04/08/tis-calculator-monopoly-offers-lessons-for-educators-in-the-age-of-generative-ai/. 

Further reading