Xcas

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description Template:Use dmy dates Template:Use list-defined references Script error: No such module "Infobox".Template:Template other Script error: No such module "Check for unknown parameters".Script error: No such module "Check for conflicting parameters".

calculate fractions without common denominator
Figure 1. Xcas calculates fractions without common denominator.
File:Xcas løser ligning, beregner differentialkvotient og stamfunktion mm.png
Figure 2. Xcas can solve equations, calculate derivatives, antiderivatives and more.
File:Nyere forsøg Xcas løser differentialligninger algebraisk.png
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 y = 3x2 − 5Script error: No such module "Check for unknown parameters".
  • 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: det([[1,2], [3,4]]) is Script error: No such module "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 [-5, 10, -5]Script error: No such module "Check for unknown parameters".
  • 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

Script error: No such module "Portal".

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. a b Template:Cite thesis
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "citation/CS1".
  8. Script error: No such module "citation/CS1".
  9. Read more commands and features here.
  10. a b Script error: No such module "citation/CS1".
  11. a b Script error: No such module "citation/CS1".
  12. Script error: No such module "Citation/CS1".
  13. Script error: No such module "Citation/CS1".
  14. Script error: No such module "citation/CS1".
  15. Script error: No such module "citation/CS1". (in German)
  16. Script error: No such module "citation/CS1".
  17. Script error: No such module "citation/CS1".
  18. Script error: No such module "citation/CS1".
  19. Script error: No such module "citation/CS1".
  20. Script error: No such module "citation/CS1".
  21. Script error: No such module "citation/CS1".
  22. Script error: No such module "citation/CS1".
  23. Script error: No such module "citation/CS1".
  24. Script error: No such module "citation/CS1".
  25. Script error: No such module "Citation/CS1".
  26. Script error: No such module "citation/CS1".
  27. Script error: No such module "citation/CS1".
  28. Script error: No such module "citation/CS1".
  29. Script error: No such module "citation/CS1".
  30. Script error: No such module "citation/CS1".
  31. Script error: No such module "citation/CS1".
  32. Script error: No such module "citation/CS1".
  33. Script error: No such module "citation/CS1".
  34. Script error: No such module "citation/CS1".
  35. Script error: No such module "Citation/CS1".
  36. Script error: No such module "citation/CS1".
  37. Script error: No such module "citation/CS1".
  38. Script error: No such module "citation/CS1".
  39. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

Further reading

External links

Template:Computer algebra systems