mschneider

50 Reputation

5 Badges

2 years, 308 days

MaplePrimes Activity


These are questions asked by mschneider

Hello,

Can someone explain to me why the following lists do not have the same content?  And suggest how I might be able to fix the problem?

 

restart;

a := (x^2+y^2)^3 = y^2:

b := (x^2+y^2)^(3/2) = y:

listA := sort([seq(evalf(solve({y >= 0, subs(x = i, a)}, {y})), i = 0.5e-1 .. .5, 0.5e-1)]);

listB := sort([seq(evalf(solve({y >= 0, subs(x = i, b)}, {y})), i = 0.5e-1 .. .5, 0.5e-1)]);

evalb(listA = listB);

Hi all,

I am attempting to have the piecewise function

Render using either mathML or Letex in maple, using the syntax:

f := piecewise(-Pi <= x and x < 0, 1, 0 <= x and x < Pi, 0);

la := latex(f);

mml := MathML[ExportPresentation](f);

 

Unfortunately, as you will notice the latex produces some really annoying "and" words amongst the code.  While the MathML produces some equally annoying "&wedge;", and symbols, amongst the code.

Any help would be appreciated.

 

Mark

Hello,

I am trying to get Maple to display sin2(x)  rather than (sin(x))2.  In particular I am trying to have it output the latex for the prior using latex(sin^2(x) , output=string), or similar.

Any ideas would be greatly appreciated.

 

Thanks,

Mark

 

Hello all,

I am looking for a maple command to do the following

#outline of idea, is a user would pre-define a number of rows and a single Matrix command would automatically generate a Matrix based on the data the user provides.

numRows:= ;#user would enter a number here

row1:=[1,2,3];  #user enters data for each row

row2:=[4,5,6,7];

row4:=['red','blue',7];

#user will enter a few more rows to match numRows, specified above

Matrix([[row1],[row2],[row3],....,[rown]]);#this matrix command would be generated based on the above entered data

 

I was thinking some form of counter could do this?  Any suggestions would be appreciated.

I would like to remove asterisk * from a string....

such as...

a:=2*x-5:

withoutstar:=StringTools[Remove](*,convert(a,string));

Any ideas would be appreciated???

1 2 3 4 5 Page 2 of 5