Xcas

维基百科,自由的百科全书
(重定向自Giac
跳转到导航 跳转到搜索
Xcas
File:Xcas icon 2.png
Xcas,数学界的瑞士军刀(Xcas, the swiss knife for mathematics)
運行在Windows 10上的Xcas 1.5,並嘗試绘制函数并计算立方函数的导数
運行在Windows 10上的Xcas 1.5,並嘗試绘制函数并计算立方函数的导数
開發者Bernard Parisse​(español
首次发布2000年,​25年前​(2000
当前版本
    Module:EditAtWikidata第29行Lua错误:attempt to index field 'wikibase' (a nil value)
    源代码库
    • {{URL|example.com|可选的显示文本}}
    Module:EditAtWikidata第29行Lua错误:attempt to index field 'wikibase' (a nil value)
    编程语言C++
    引擎
      Module:EditAtWikidata第29行Lua错误:attempt to index field 'wikibase' (a nil value)
      操作系统WindowsmacOSLinuxFreeBSDAndroidiOS
      类型計算機代數系統 (CAS)
      许可协议GNU GPL
      网站www-fourier.ujf-grenoble.fr/~parisse/giac.html
      calculate fractions without common denominator
      图一:使用Xcas進行異分母分數運算
      File:Xcas løser ligning, beregner differentialkvotient og stamfunktion mm.png
      图二:Xcas可以解方程,计算导数與不定積分,等等
      File:Nyere forsøg Xcas løser differentialligninger algebraisk.png
      圖三:Xcas也可解决微分方程问题

      Xcas是Giac的圖形介面前端,Giac是一个开源的[1]计算机代数系统(CAS),其适用于Windows、macOS和Linux以及其他许多平台。Xcas使用C++語言開發,[2]其也可作為C++庫被其他C++程序使用。[3]

      Xcas兼容許多流行的計算機代數系統,譬如WolframAlpha[4]Mathematica[5]、Maple和MuPAD。用户可使用Giac/Xcas開發形式化算法或在其他代數系統使用。而Giac也被用于SageMath的微积分运算。[4]Xcas也可以解方程(图3)和微分方程(图4)并繪圖。

      功能[编辑]

      特性[编辑]

      以下撮要列出Xcas之功能:[6]

      • Xcas有如科學計算器一般的能力,有直觀的輸入、優雅的輸出;
      • Xcas也可作为电子表格使用;[7]
      • 解含有复数根的方程(图2);
      • 解三角函数方程;
      • 解微分方程(图3);[8][9]
      • 繪圖;
      • 求解函数的微分(或导数)(图2);
      • 求解函數的不定積分;
      • 计算面积或進行积分運算;
      • 线性代数。

      命令示例[编辑]

      • 將分數簡化為<math>Q+ \frac{R}{B}(R<B)</math>形式的分數:propfrac(42/15),輸出<math>2+\frac{4}{5}</math>;
      • 計算平方根:sqrt(4),輸出<math>2</math>;
      • 繪製直綫方程的圖像:line(x=1),輸出一條方程為<math>1</math>的直綫;
      • 繪圖:可使用命令plot(function)繪圖。示例: plot(3 * x^2 - 5),輸出<math>y=3x^2-5</math>的圖像;
      • 計算算數平均值:mean([3, 4, 2]),輸出<math>3</math>;
      • 計算方差:variance([3, 4, 2]),輸出<math>\frac{2}{3}</math>;
      • 计算标准差:stddev([3, 4, 2]),輸出<math>\frac{\sqrt{6}}{3}</math>;
      • 計算矩阵行列式:det([[1,2], [3,4]]),輸出<math>-2</math>。

      適配平臺[编辑]

      歷史[编辑]

      Xcas和Giac是由法国格勒诺布尔的約瑟夫·傅立葉大學法语Université Joseph-Fourier(今格勒諾布爾-阿爾卑斯大學Bernard Parisse​(español和Renée De Graeve兩人自2000年起開發的開源項目。該項目也吸收了先前同由Bernard Parisse開發的CASErable英语Erable的經驗。

      Xcas之Giac/Xcas 1.5.0系统还被惠普公司以多重授權方式搭载在其产品HP Prime计算器上。2013年,Xcas被整合到GeoGebra的CAS视图中。

      另见[编辑]

      參考文獻[编辑]

      1. ^ 存档副本 (PDF). [2023-03-04]. (原始内容存档 (PDF)于2022-07-02). 
      2. ^ Verlinden, Olivier; Fékih, Lassaad Ben; Kouroussis, Georges. Symbolic generation of the kinematics of multibody systems in EasyDyn: From MuPAD to Xcas/Giac. Theoretical and Applied Mechanics Letters. 2013-01-01, 3 (1) [2023-03-04]. ISSN 2095-0349. doi:10.1063/2.13013012. (原始内容存档于2023-03-04) (English). 
      3. ^ Giac/Xcas, a free computer algebra system. www-fourier.ujf-grenoble.fr. [2023-03-04]. (原始内容存档于2020-09-29). Giac is a C++ library, it is the CAS computing kernel, it may be used inside other C++ programs, and also Python, Java and Javascript programs. 
      4. ^ 4.0 4.1 Tonisson, Eno; Velikanova, Nadezhda. Answers offered by computer algebra systems to equations from school textbooks. Teaching Mathematics and Computer Science. 2008, 6 (1). ISSN 1589-7389. doi:10.5485/tmcs.2008.0177. 
      5. ^ Computer Algebra in Education. math.unm.edu. [2023-03-04]. (原始内容存档于2022-12-07). 
      6. ^ 更多請見页面存档备份,存于互联网档案馆)。
      7. ^ Yumpu.com. Xcas reference card. yumpu.com. [2023-03-04]. (原始内容存档于2023-03-04) (English). 
      8. ^ Halkos, George E.; Tsilika, Kyriaki D.; Simos, Theodore E.; Psihoyios, George; Tsitouras, Ch.; Anastassi, Zacharias. Xcas as a Programming Environment for Stability Conditions for a Class of Differential Equation Models in Economics. Halkidiki, (Greece). 2011 [2023-03-04]. doi:10.1063/1.3636951. (原始内容存档于2023-02-25). 
      9. ^ Fleurant, Cyril; Bodin-Fleurant, Sandrine. Integration and Differential Equations. Mathematics for Earth Science and Geography. Cham: Springer International Publishing. 2019: 145–177. ISBN 978-3-319-69241-8. doi:10.1007/978-3-319-69242-5_6 (English).