Xcas

From testwiki
Revision as of 04:28, 7 January 2025 by imported>Antured
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Use dmy dates Template:Use list-defined references Template:Infobox software

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 is able to do:[8][9]

Example Xcas commands:

  • produce mixed fractions: propfrac(42/15) gives 2 + Template:Sfrac
  • 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 Template:Math
  • calculate average: mean([3, 4, 2]) is 3
  • calculate variance: variance([3, 4, 2]) is Template:Sfrac
  • calculate standard deviation: stddev([3, 4, 2]) is Template:Sfrac
  • calculate determinant of a matrix: Template:Code is Template:Val
  • 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 Template:Math
  • 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 Template:Tmath
  • desolve differential equation (the derivatives are written as yTemplate:Prime or yTemplate:Pprime): desolve(differential equation,y)

Supported operating systems

History

Xcas and Giac are open-source projects developed and written by Template:Ill 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

There is a port of Giac/Xcas for Casio graphing calculators fx-CG10, fx-CG20, fx-CG50, fx-9750GIII and 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[39]

See also

Template:Portal

References

Template:Reflist

Further reading

Template:Computer algebra systems

  1. Cite error: Invalid <ref> tag; no text was provided for refs named R1
  2. Cite error: Invalid <ref> tag; no text was provided for refs named R2
  3. 3.0 3.1 Cite error: Invalid <ref> tag; no text was provided for refs named Tõnisson 2017
  4. Cite error: Invalid <ref> tag; no text was provided for refs named R3
  5. Cite error: Invalid <ref> tag; no text was provided for refs named R4
  6. Cite error: Invalid <ref> tag; no text was provided for refs named R5
  7. Cite error: Invalid <ref> tag; no text was provided for refs named R6
  8. Cite error: Invalid <ref> tag; no text was provided for refs named R7
  9. Read more commands and features here.
  10. 10.0 10.1 Cite error: Invalid <ref> tag; no text was provided for refs named reference-card
  11. 11.0 11.1 Cite error: Invalid <ref> tag; no text was provided for refs named Gandit2009
  12. Cite error: Invalid <ref> tag; no text was provided for refs named R8
  13. Cite error: Invalid <ref> tag; no text was provided for refs named R9
  14. Cite error: Invalid <ref> tag; no text was provided for refs named R10
  15. Cite error: Invalid <ref> tag; no text was provided for refs named R11
  16. Cite error: Invalid <ref> tag; no text was provided for refs named R12
  17. Cite error: Invalid <ref> tag; no text was provided for refs named :0
  18. Cite error: Invalid <ref> tag; no text was provided for refs named R13
  19. Cite error: Invalid <ref> tag; no text was provided for refs named R14
  20. Cite error: Invalid <ref> tag; no text was provided for refs named :2
  21. Cite error: Invalid <ref> tag; no text was provided for refs named :1
  22. Cite error: Invalid <ref> tag; no text was provided for refs named R15
  23. Cite error: Invalid <ref> tag; no text was provided for refs named R16
  24. Cite error: Invalid <ref> tag; no text was provided for refs named University of Mons
  25. Cite error: Invalid <ref> tag; no text was provided for refs named R17
  26. Cite error: Invalid <ref> tag; no text was provided for refs named R18
  27. Cite error: Invalid <ref> tag; no text was provided for refs named R19
  28. Cite error: Invalid <ref> tag; no text was provided for refs named R20
  29. Cite error: Invalid <ref> tag; no text was provided for refs named R21
  30. Cite error: Invalid <ref> tag; no text was provided for refs named R22
  31. Cite error: Invalid <ref> tag; no text was provided for refs named Module 2 - Introduction
  32. Cite error: Invalid <ref> tag; no text was provided for refs named Halkos
  33. Cite error: Invalid <ref> tag; no text was provided for refs named R23
  34. Cite error: Invalid <ref> tag; no text was provided for refs named R24
  35. Cite error: Invalid <ref> tag; no text was provided for refs named R25
  36. Cite error: Invalid <ref> tag; no text was provided for refs named R26
  37. Cite error: Invalid <ref> tag; no text was provided for refs named R27
  38. Cite error: Invalid <ref> tag; no text was provided for refs named R28
  39. Template:Cite web