findhelp() cmd
Publié : sam. févr. 08, 2020 5:27 am
Hi Mr. Bernard
We are using the online version of Xcas. One of the commands that help to see the syntax or function of a command is findhelp() on command line, but the output is a bit confusing, because tags like "Related" are missing
findhelp(abs) [enter] retunrs
findhelp(abs) [enter] ->
it is also necessary that the output be replaced, <br> with a new line, and ignore or replace <b> and </b> with empty string
Thanks
We are using the online version of Xcas. One of the commands that help to see the syntax or function of a command is findhelp() on command line, but the output is a bit confusing, because tags like "Related" are missing
findhelp(abs) [enter] retunrs
for the initial student does not understand what is "arg", the "Related" or "see also" tag is neededReturns the absolute value or the norm of its argument.
arg
abs(-4);abs(1+2*i);abs((1+2*i)^2);abs([-2,1+i,-4])
findhelp(abs) [enter] ->
Returns the absolute value or the norm of its argument.
abs(Cplx||LstCplx)
Related: arg
Examples:
abs(-4);
abs(1+2*i);
abs((1+2*i)^2);
abs([-2,1+i,-4])
it is also necessary that the output be replaced, <br> with a new line, and ignore or replace <b> and </b> with empty string
Thanks