mapleatha

160 Reputation

5 Badges

9 years, 226 days

MaplePrimes Activity


These are replies submitted by mapleatha

@tomleslie 

Thank you, tomleslie. Unfortunately, it didn't work in Maple 13.
I came up with this:

print(sort(lambda*I,I));

It worked!

mapleatha

 

@Christopher2222 

Thank you, Christopher!

"maplew.exe" is the GUI version of Maple 13 for Windows.
Everything works fine now.

mapleatrha

@Kitonum 

Thank you again Kitonum. I used the GUI many years ago,  but I have totally forgotten now.
Could you please help me with how to get and use the standard GUI for Maple 13?
Thank you!

mapleatha
 

@Kitonum 

Thank you, Kitonum. exp(`2t`) worked. exp(2*t) does not work. However, the coefficient of t is a variable, let's say expa := 2. I need exp(expa*t) to be without parentheses. Can I do it?
Thank you again.

mapleatha
 

@Kitonum 

Thank you so much!

mapleatha

Thank you guys!

mapleatha

 

@Carl Love 

Thank you, Carl . This works fine.

I have managed to do it for polynomials using print statements

as follows:

P:=2*s^2-3*s+1;

f:=exp(3^t);

TEXTM(P,f);

TEXTM:=proc(x)
local EQ;
EQ:=`The Equation Is:`*s^2+coeff(x,s,1)*s+coeff(x,s,0)=f;
print(EQ);
end proc:

The polynomial in s is coming from the Laplace transform

of a 2nd order ODE with constant coefficients. The 1st term

is always s^2. So, basically, if we know the 1st term of the function P in s,

and it is not a fraction, we multiply it from the left with `The Equation Is:` and everything works fine.

The reason I pursued this particular method is that, unlike "printf", 

"print" automaticlly prints with my default font and color in the middle of the screen.

Thank you again!

 

mapleatha

 

 

@mapleatha 

I am sorry, Christopher2222. We are not done yet.

With your kind response, I can print the code for

the equation, but not the actual math.

The same thing can be achieved, in my default font and in the center, by the following:

Q:=s^2-2*s+1=3;

TEXTM(Q);

where

TEXTM:=proc(x)
local EQ,str,ASC;
EQ:=`The Equation Is: `;
str:=convert(x,string);
ASC:=cat(EQ,str);
print(ASC);
end proc:

I still need the phrase containing the math string in actual math.

Thank you, again!

Thank you! That would do it.

mappleatha

@Christopher2222 

I am not typing in this process. It is part of a program, where the equation changes

each time it applies.

For example,

print(`The Equation Is:`,EQ); will do it, but there is a comma printed as well.

How do we get rid of that comma? There must be a away.

We can also use:

print(`The Equation Is:`*EQ); but then we get a parenthesis around s^2-4s+1.

Thank you for your response.

mapleatha

 

@acer 

I wasn't using the GUI.

Now, using the GUI, everything works including the existence

of the startup code menu item.

Thank you!!!

mapleatha

 

 

@acer 

 

acer,

 

It doesn't work either.

All I get is the same command back.

 

Thank you!

mapleatha

 

 

@acer 

acer,

This old reference doesn't work:

G:=s->cat(`#mo(`,s,`,mathcolor=\"#00FF00\")`);                                          

G("This is green");

 

All I get is:

`#mo(This is green,mathcolor="#00FF00")`

 

Thank you!

 

@mapleatha 

Thank you, Kitonum.

I would really like something that "print" or "printf"

would do by taking much smaller amout of space.

 

mapleatha

@Kitonum 

 

I get

 

Error, `;` unexpected

 

Thank you, Kitonum.

 

mapleatha

5 6 7 8 Page 7 of 8