La recherche a retourné 47 résultats

par belanger
sam. oct. 24, 2020 3:42 pm
Forum : Xcas - English
Sujet : Odd result for the euler_lagrange command
Réponses : 0
Vues : 53

Odd result for the euler_lagrange command

Hi All, The euler_lagrange command gives an odd result when the input is a variable that evaluates to an expression rather than the expression itself. For example: >> f := x^2*diff(y(x),x)^2 + y^2 x^2*(diff(y(x),x))^2+y^2 >> euler_lagrange(f) [-x^2*(diff((y(t))(x),x))^2-(y(t))^2=K_0,2*x^2*diff(diff(...
par belanger
mar. sept. 15, 2020 5:16 pm
Forum : Xcas - English
Sujet : user_operator
Réponses : 3
Vues : 192

Re: user_operator

Either it's not working, or perhaps my brain not's working. Sorry if I'm being dense. Delete doesn't seem to do anything; if an operator was previously defined, it stays defined, and if the symbol was a variable given a value, it keeps that value and no new operator is defined. See the session below...
par belanger
mar. sept. 15, 2020 3:33 am
Forum : Xcas - English
Sujet : user_operator
Réponses : 3
Vues : 192

user_operator

For the user_operator command, what are Binary and Delete for? From playing with it, it looks as if the Binary option means define the operator, but why would you use the command if you aren't defining an operator? And Delete seems to mean don't define the operator and ignore the whole user_operator...
par belanger
dim. sept. 13, 2020 8:26 pm
Forum : Xcas - English
Sujet : PDF output
Réponses : 2
Vues : 164

PDF output

I just got back my first Xcas homework from my students. To my surprise, some of them put it in Python mode even though I never mentioned it to them. (Maybe not that surprising; Python is the introductory computer language here.) Some of them didn't know what the ps output was, though. Is there a st...
par belanger
mer. juil. 22, 2020 1:30 am
Forum : Xcas - English
Sujet : Bold page numbers in the index
Réponses : 1
Vues : 407

Bold page numbers in the index

What do bold page numbers mean in the index of the manual?
par belanger
ven. janv. 03, 2020 4:08 pm
Forum : Xcas - English
Sujet : Decade of the 20s and Xcas
Réponses : 4
Vues : 491

Re: Decade of the 20s and Xcas

I've never had trouble with the Xcas interface on 64-bit Linux.

But how did you use Xcas in the classroom?
I only have access to a computer classroom sporadically, but I keep meaning to incorporate Xcas in homeworks.

Jay
par belanger
sam. déc. 14, 2019 9:31 pm
Forum : Xcas - English
Sujet : New functions AddSides(), SubtractSides(), MultiplySides() and DivideSides()
Réponses : 3
Vues : 537

Re: New functions AddSides(), SubtractSides(), MultiplySides() and DivideSides()

These functions seem necessary on Mathematica, but not so much on Xcas. If you add or multiply an equation by a number in Mathematica, then you get an equation plus or times a number; it doesn't seem to get applied to each side separately. eqn = 2*x + 3*y == 5 eqn + 3 returns (2*x + 3*y == 5) + 3 Ad...
par belanger
mer. déc. 11, 2019 11:13 pm
Forum : Xcas - English
Sujet : xcasen.html
Réponses : 2
Vues : 483

Re: xcasen.html

Fantastic, thanks!
It worked for Firefox in both in Linux (Ubuntu) and Android. In both cases, I just went to
about:config
and searched for wasm. It was originally enabled in both Ubuntu and Android.

Thanks,
Jay
par belanger
mer. déc. 11, 2019 5:12 pm
Forum : Xcas - English
Sujet : xcasen.html
Réponses : 2
Vues : 483

xcasen.html

Hi All, When running Xcas in Firefox by going to https://www-fourier.ujf-grenoble.fr/~parisse/xcasen.html it works fine. But when I try to install it locally by downloading http://www-fourier.univ-grenoble-alpes.fr/~parisse/giac/xcashtml.zip unzipping it and opening xcasen.html (even after clearing ...
par belanger
jeu. avr. 11, 2019 11:24 pm
Forum : Xcas - English
Sujet : The CST variable
Réponses : 1
Vues : 418

The CST variable

The CST variable doesn't seem to be working for me. I enter CST:=[diff,["tor",tor],["pgcd",pgcd],["euro",6.55957]] (see https://www-fourier.ujf-grenoble.fr/~parisse/giac/doc/fr/cascmd_fr/cascmd_fr064.html#sec90) and I should get the corresponding menu when I press the cust button, but nothing happen...
par belanger
lun. mars 18, 2019 9:15 pm
Forum : Xcas - English
Sujet : Translating to C++
Réponses : 1
Vues : 439

Translating to C++

The manual (https://www-fourier.ujf-grenoble.fr/~parisse/giac/doc/fr/cascmd_fr/cascmd_fr1118.html) discusses translating Xcas programs into C++ programs, and gives an example truc(n:integer) := {return 2*n+1;} then cpp(truc) When I try that, I get the message File giac_truc.cpp created. Running inde...
par belanger
sam. mars 16, 2019 5:19 pm
Forum : Xcas - English
Sujet : pgcd.cc and pgcd.cpp
Réponses : 4
Vues : 743

Re: pgcd.cc and pgcd.cpp

Thanks! It works perfectly now.

Also, the version of pgcd.cc in that directly both compiles and runs for me.
par belanger
ven. mars 15, 2019 8:30 pm
Forum : Xcas - English
Sujet : pgcd.cc and pgcd.cpp
Réponses : 4
Vues : 743

Re: pgcd.cc and pgcd.cpp

When I add that line, I still get the same error, starting: >> g++ -I.. -fPIC -DPIC -g -c pgcd.cpp pgcd.cpp:30:45: error: no matching function for call to ‘giac::unary_function_unary::unary_function_unary(giac::gen (*)(const giac::gen&), const string&)’ unary_function_unary __pgcd(&_pgcd,_pgcd_s); ^...
par belanger
jeu. mars 14, 2019 9:15 pm
Forum : Xcas - English
Sujet : pgcd.cc and pgcd.cpp
Réponses : 4
Vues : 743

pgcd.cc and pgcd.cpp

First of all, Happy Pi Day. The French manual has programs pgcd.cc and pgcd.cpp. I haven't been able to get them to work. It is probably because my system isn't set up correctly, but I was wondering if they work for other people. (My computer has enough tools and libraries to compile giac, but that'...
par belanger
lun. janv. 28, 2019 11:46 pm
Forum : Xcas - English
Sujet : Ubuntu dependencies
Réponses : 3
Vues : 557

Re: Ubuntu dependencies

The package at https://www-fourier.ujf-grenoble.fr/~parisse/install_en#packages is the one that was removed by apt-get -f install So I looked into it some more, and it was because libpari-gmp-tls5 was an unavailable dependency. Apparently, that package is in Ubuntu 18.04 but not Ubuntu 18.10, which ...