ControlLaw

40 Reputation

3 Badges

2 years, 83 days

MaplePrimes Activity


These are questions asked by ControlLaw

Hello, 
I have an simple exmple of expresion : 

restart;
v1 := sin(c)*sin(a)(a - b);
                  v1 := sin(a)(-b + a) sin(c)

v2 := sin(c1)*sin(a1)(-a + b);
                 v2 := sin(a1)(-a + b) sin(c1)

sort(v1);
                      sin(c) sin(a)(a - b)

sort(v2);
                    sin(c1) sin(a1)(-a + b)


what i want  is :  sort(v2); --->     sin(c1) sin(a1)(b-a)

That mean i want the "+" sign comme alwase first

Merci

Hello,
I wonder why in the collect function:  collect(exp, abs (x-x0)) work and collect(exp, x-x0) doesn't? 
I would like to use both, any tip how to change the x-x0 to be seen like abs (x-x0), Or maybe another solution better than the collect function

Merci 

Best regards 

Hello,
I m wondering if/how (i) can use the collect function twice:  collect(a, x, form, func ):  
collect(a, x, form, collect(x)), but it seems I can't use a func with opt. 
Can someone help please? 

Merci 

Hello,
I have a small problem with the display of fraction and x_dot at the same time. 

 

This the exemple :

with(Typesetting);
compactdisplay = flase;
Settings(typesetprime = false);
Settings(typesetdot = true);

diff(1/2*LongExpression*x(t), t);

The Results 

when I choose the typesetting level : Extended. I got this result :

And when I choose the typesetting level : Maple Standrad. I got this result 
        

What I  want to have is mix of both, it mean like this 

Page 1 of 1