Xcas
{{Short description|Computer algebra system}}
{{Use dmy dates|date=August 2019|cs1-dates=y}}
{{Use list-defined references|date=October 2022}}
{{Infobox software
| name = Xcas
| logo=Xcas icon 2.png
| logo caption=
| screenshot = Xcas 1.5 running on windows 10.png
| screenshot alt = Xcas 1.5 running on windows 10, ploting function and calculating the derivative of the cubed function.
| caption = Xcas 1.5 running on Windows 10
| developer = {{ill|Bernard Parisse|fr}}
| released = {{Start date and age|2000|df=yes}}
| latest_release_version = {{LSR/wikidata}}
| programming language = C++
| operating_system = Windows, macOS, Linux, FreeBSD, Android, iOS
| genre = Computer algebra system (CAS)
| website = {{URL|https://xcas.univ-grenoble-alpes.fr/en.html}}
}}
File:Xcas løser ligning, beregner differentialkvotient og stamfunktion mm.png
File:Nyere forsøg Xcas løser differentialligninger algebraisk.png
Xcas is a user interface to Giac, which is an open source computer algebra system (CAS) for Windows, macOS and Linux among many other platforms. Xcas is written in C++. Giac can be used directly inside software written in C++.
Xcas has compatibility modes with many popular algebra systems like WolframAlpha, Mathematica, Maple, or MuPAD. Users can use Giac/Xcas to develop formal algorithms or use it in other software. Giac is used in SageMath for calculus operations. Among other things, Xcas can solve differential equations (Figure 3) and draw graphs. There is a forum for questions about Xcas.
CmathOOoCAS, an OpenOffice.org plugin which allows formal calculation in Calc spreadsheet and Writer word processing, uses Giac to perform calculations.
Features
Here is a brief overview of what Xcas is able to do:Read more commands and features [http://www-fourier.ujf-grenoble.fr/~parisse/giac/cascmd_en.pdf here].
- Xcas has the ability of a scientific calculator that provides show input and writes pretty print
- Xcas also works as a spreadsheet;
- computer algebra;
- 2D geometry in the plane;
- 3D geometry in space;
- spreadsheet;
- statistics;
- regression (exponential, linear, logarithmic, logistic, polynomial, power)
- programming;
- solve equations even with complex roots (Figure 2);
- solving trigonometric equations
- solve differential equations (Figure 3);
- draw graphs;
- calculate differential (or derivative) of functions (Figure 2);
- calculate antiderivative of functions (Figure 2);
- calculate area and integral calculus;
- linear algebra
Example Xcas commands:
- produce mixed fractions:
propfrac(42/15)
gives 2 + {{sfrac|4|5}} - calculate square root:
sqrt(4)
= 2 - draw a vertical line in coordinate system:
line(x=1)
draws the vertical line in the output window - draw graph:
plot(function)
(for example,plot(3 * x^2 - 5)
produces a plot of {{math|1=y = 3x2 − 5}} - calculate average:
mean([3, 4, 2])
is 3 - calculate variance:
variance([3, 4, 2])
is {{sfrac|2|3}} - calculate standard deviation:
stddev([3, 4, 2])
is {{sfrac|{{radic|6}}|3}} - calculate determinant of a matrix: {{code|det(1,2], [3,4)}} is {{val|-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 {{math|[-5, 10, -5]}} - calculate permutations:
nPr()
- calculate combinations:
nCr()
- solve equation:
solve(equation,x)
- factoring polynomials:
factor(polynomial,x)
orcfactor(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 {{tmath|[x+1,y-2]}} - desolve differential equation (the derivatives are written as y{{prime}} or y{{pprime}}):
desolve(differential equation,y)
Supported operating systems
History
Xcas and Giac are open-source projects developed and written by {{ill|Bernard Parisse|fr}} and Renée De Graeve at the former Joseph Fourier University of Grenoble (now the Grenoble Alpes University), France since 2000. Xcas and Giac are based on experiences gained with Parisse's former project Erable.
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.
Use in education
Since 2015, Xcas is used in the French education system. Xcas is also used in German universities, and in Spain and Mexico. It is also used at the University of North Carolina Wilmington and the University of New Mexico. Xcas is used in particular for learning algebra.
χCAS
There is a port of Giac/Xcas for Casio graphing calculators fx-CG10, fx-CG20, fx-CG50, fx-9750GIII and fx-9860GIII, called [https://www-fourier.ujf-grenoble.fr/~parisse/casio/khicasioen.html χ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{{Cite web|url=https://www-fourier.ujf-grenoble.fr/~parisse/install_en|title=Installing Xcas}}
See also
{{Portal|Mathematics|Free and open-source software}}
References
Further reading
- {{cite web |title=Symbolic computation and Mathematics with the calculator HP Prime |author-first=Renée |author-last=De Graeve |translator-first=Jean Michel |translator-last=Lecointre |date=2018-01-19 |orig-date=2013 |url=https://www-fourier.ujf-grenoble.fr/~parisse/hp-prime_cas.pdf |access-date=2018-01-22 }}
- Parisse, Bernard (2007): "[http://www-fourier.ujf-grenoble.fr/~parisse/giac/cascmd_en.pdf Symbolic algebra and Mathematics with Xcas]" (list of commands) (PDF). Retrieved 2022-06-08.
- Parisse, B., University of Grenoble (January, 2016) "[https://pari.math.u-bordeaux.fr/Events/PARI2016/talks/Parisse.pdf Giac/Xcas and Pari/GP]" (PDF). Retrieved 2022-06-08.
- {{cite web |title=Perspectives on integrating a computer algebra system into advanced calculus curricula |author-first=George |author-last=Halkos |date=2015-04-25 |orig-date=2014 |url=https://mpra.ub.uni-muenchen.de/63898/1/MPRA_paper_63898.pdf |access-date=2019-09-06}}
- Verlinden, Olivier (2013): "[https://www.sciencedirect.com/science/article/pii/S2095034915302142 Symbolic generation of the kinematics of multibody systems in EasyDyn: From MuPAD to Xcas/Giac].". Retrieved 2022-06-08.
- [http://www.mathsaulycee.sitew.com/fs/premiere_s/8uoow-xcas_commande_utile.pdf Commandes XCAS] (French)
- [http://briand-lyc.spip.ac-rouen.fr/IMG/pdf/xcas_fonctions.pdf Les principales fonctions de XCAS en calcul formel pour le lycée](French)
- Barnard Parisse: [https://www.apmep.fr/IMG/pdf/16-Xcas.pdf Mathématiques avec Xcas]. (French)
- [https://visca.pagesperso-orange.fr/html/xcas.html Les Maths et Mes Tics] {{Webarchive|url=https://web.archive.org/web/20220702142837/https://visca.pagesperso-orange.fr/html/xcas.html |date=2022-07-02}} (French)
- Fabian Reimers (editor): "[https://www.fachgruppe-computeralgebra.de/data/CA-Rundbrief/car62.pdf Computeralgebra-Rundbrief] Nr. 62: Fachgruppe Computeralgebra" (PDF). (German)
External links
- {{Official website|www-fourier.ujf-grenoble.fr/~parisse/giac.html}}
- [https://www-fourier.ujf-grenoble.fr/~parisse/xcasen.html Use Xcas online in your web browser]
{{Computer algebra systems}}
Category:Computer algebra system software for Linux
Category:Computer algebra system software for macOS
Category:Computer algebra system software for Windows
Category:Free computer algebra systems