Support du langage giac pour org-babel (Attention nécessite une version récente de xcas) et un mode majeur pour éditer les fichiers sources giac.
À l’aide de straight
(use-package ob-giac
:straight (ob-giac :type git :host github :repo "vincek59/ob-giac")
)
(add-to-list 'org-babel-load-languages '(giac . t))
integrate(cos(x)*exp(x),x,0,3)
f(x):=exp(x)*cos(x)+x^3
g:=unapply(diff(f(x),x),x)
g(x)
f(x):=exp(x)*cos(x)+x^3
g:=unapply(diff(f(x),x),x)
g(x)
f(x):=exp(x)*cos(x)+x^3
g:=unapply(diff(f(x),x),x)
g(x)
c:=integrer(b/(x^2+a),x,0,+infinity)
3
partfrac(x^n/(1+x^2)^3,x)
#+RÉSULTATS:
-x/(x^2+1)^3+x/(x^2+1)^2
lancers(n):={
local t=[0,0,0,0,0,0];
local j,l;
for (j:=1 ; j<=n ; j++) {
l:=rand(6);
t[l]:=t[l]+1;
}
return t;
}
lancers(12000)