ber9erud

15 Reputation

5 Badges

11 years, 125 days

MaplePrimes Activity


These are questions asked by ber9erud

I run the command

> latex( '(3*p^4+3*p^2-2*p+1)/((1-p+p^2)*(1-3*p+3*p^2))' );

and I get

{\frac {3\,{p}^{4}+3\,{p}^{2}-2\,p+1}{ \left( 1-p+{p}^{2} \right)
\left( 1-3\,p+3\,{p}^{2} \right) }}

for some reason before every variable p I get a backslash and comman, \, and the frac{}{} command is always written as \frac {}{}, which isn't valid latex syntax, etc.  What's going on?

So suppose in one maple worksheet, I run:

>assume(w, real); y:=2*w;
>save y, "test.m";

 
And then I open another, and run

>read "test.m";
>subs(w=1,y);

The substitution won't work, while it works if I don't make any assumptions about the variable w.  However, in the piece of code I'm actually running (this snippet is just to illustrate the problem), I need to make the assumption that w is real for solving a system of equations (otherwise maple seems to run out of memory).  Is there a way to save my result y in such a way so that I can make substitutions for w later?

I have a vector of lists, and each list is composed of indexed names.  For each list, I would like to assign all the indexed names in the list to the first variable of the list.  Right now, I'm trying to select the entries of the list using the op command and then assign one to the other, and get the following error:

Error, invalid left hand side in assignment

June_29.mw

Thanks!

Well, I'm having issues getting this expression to simplify.  I have a bunch of polynomial results I store in an array, and the simplify command isn't cancelling obvious terms which should cancel out.

June_18.mw

Curiously, it will simplify if I use the command by selecting it from the drop down menu when I select the expression (see lines (7) vs. (8))

I'm working with saving procedures to repositories for the first time.  I have been using the following documentations as a guide:
http://www.maplesoft.com/support/help/Maple/view.aspx?path=libname
http://www.maplesoft.com/support/help/Maple/view.aspx?path=repository%2fmanagement

Anyhow, when I run this code at the start of my program:


restart;
savelibname :="/Users/ryderbergerud/Documents/School/year4/Summer/Research/myLib";
march('create'...

1 2 Page 1 of 2