Software:Xcas

From HandWiki
Revision as of 07:15, 9 February 2024 by MedAI (talk | contribs) (add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Computer algebra system

Xcas
Xcas, the swiss knife for mathematics
Xcas, the swiss knife for mathematics
Xcas 1.5 running on windows 10.png
Developer(s)Bernard Parisse (fr)
Initial release2000; 24 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 equation, calculate derivative, antiderivative 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 equations (Figure 3) and differential equations (Figure 4) 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 is able to do:[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 [math]\displaystyle{ x=1 }[/math] 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 aka solid of revolution - finding volume by rotation (around the x-axis): int(pi*function^2,x,lowerlimit,upperlimit)
    • Calculate definite integral aka 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 [math]\displaystyle{ [x+1,y-2] }[/math]
  • 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 Germany [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[38] is used in particular for learning algebra.[39]

χCAS

There is a port of Giac/Xcas for Casio graphing calculators: fx-CG10, fx-CG20, fx-CG50, fx-9750GIII, fx-9860GIII, called χCAS (KhiCAS). These calculators do not have their own computer algebra system. It is also available for TI Nspire CX, CX-II, and Numworks N0110[40]

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): 6. 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. "Top PDF computer algebra - 1Library" (in en). https://1library.net/subject/computer-algebra. 
  39. "THE DERIVE - NEWSLETTER #99". http://www.austromath.at/dug/dnl99.pdf. 
  40. https://www-fourier.ujf-grenoble.fr/~parisse/install_en

Further reading

External links