taro

470 Reputation

12 Badges

8 years, 13 days
Maple is to me difficult. The first version I bought was Maple9, and it was more than 15 years ago. But, I couldn't use it, feeling it too difficult. But, three years ago, I thought Maple might be helpful to my study, and since then, I have continued to learn Maple. As I got able to read the Maple help, I think that I could get to use maple better now than before. But, I feel that I am a beginner yet.

MaplePrimes Activity


These are questions asked by taro

Hello people in mapleprimes,
I have a question.
I appended two pictures where from the same code, two different orders of
expression appear.
How can I do for this so as not to get error messages?
The cause of this is simplify(%,symbolic) brings different order of term a__0^(-k)*F__D ahead of a parenthesis in a jpg.file and F__D*a__0^(-k) after
that parenthesis in another jpg.fine both in the line above that of  "dairihensu1."

In this case, What I can do?
Please help me.
Best wishes.

taro

my_code.mw

Original code is

e7_4:=F__D*(Omega+1)*beta/(beta-1) = F__I*a__D^(-k)*a__0^k+T^((sigma-k-1)/(-1+sigma))*F__D*phi^(k/(-1+sigma))+F__D;

a1:=beta=k/(sigma-1);
subs_free:=
  proc(a,b,c)
    local b1;
    b1:=isolate(b,c);
    subs(b1,a);
  end proc;
isolate(e7_4,a__D^(-k));simplify(%,symbolic);dairihensu1:=subs_free(%,a1,sigma);e7_5:=applyop(simplify,[2,4,1,3,2],dairihensu1);

A case without error.

A case with a error.

 

Hello people in mapleprimes,

I want to simplify the next expression which has 1/k as its exponent,

especially, I want to collect for T. I hope you will teach me how to do it.

(F__X*(Omega+1)/(F__I*(beta-1)*T))^(1/k)*(T/phi)^(beta/k)

If I do as

simplify(%)assuming(symbolic);

the output is

F__X^(1/k)*(Omega+1)^(1/k)*F__I^(-1/k)*T^((beta-1)/k)*(1/(beta-1))^(1/k)*phi^(-beta/k)

But, as all variables has 1/k as its exponent, I want to collect it to (...)^(1/k).

Is this possible?

taro

Hello people in mapleprimes,

I put a function h into my original package named z5.

And, I used it as

> h(x+y);

then, the output is

x*`z5:-h`(x)/(x+y)+y*`z5:-h`(y)/(x+y)

I want to have

x*h(x)/(x+y)+y*h(y)/(x+y),

not z5:-h for h.

How should I do for "h" to be kept from changing  to "z5:-h"?

Best wishes.

taro

 

part other than z5 needs designating a directory for library.**********

>new_lib_dir3 :=Please put an appropriate directory

>z5:=module() option package;
>export numer_expand,h;
>numer_expand := a->expand(numer(a))/denom(a); h:= F-> expand
>(evalindets(D(F)/F, specfunc(D), d-> op(d)*'h'(op(d)))); end module;

>LibraryTools:-Save('z5',new_lib_dir3);
>restart;

>libname:=new_lib_dir3,libname;

>with(z5);

>h(x+y);

               x*`z5:-h`(x)/(x+y)+y*`z5:-h`(y)/(x+y)

 

I updated the OSX from El Capitan 10.11 to Sierra 10.12.

After then, whenever I try to input Japanese characters, Internal Error notification appears, and it crashes.
As it is not realistic to go back to the old OS, as the time when I did back up was a little before, I wouldn't do so.
Then, I might end up torelating not using Japanese until the next version of maple appears next year.
Are the situations like this ?

I know there might not be any response as this is about inputting Japanese characters.

Best wishes.

taro

Hello people in mapleprimes,

 

To the following expression, I want to apply applyop so that I want to change its denominator expanded ,

but I don't know how to do it.

So, I am writing now hoping someone  teach me it.

m:= 2*p/(p^2+1)^2;

 

op(m) brings the result of 2, p, 1/(p^2+1)^2,

And, op(1,m) is 2, op(2,m) is p and op(3,m) is 1/(p^2+1)^2, and

op([3,1],m) is p^2+1 and op([3,2],m) is -2.

So, the tree is `*`{2,p, 1/(p^2+1)^2}, and the tree of 1/(p^2+1)^2 is `^`{p^2+1,-2}.

And, the command expand can't play that rule on 1/{(p^2+1)^2} as its original rule is

to expand the mere numerator. And, anyway, 1/{(p^2+1)^2} is interpleted by maple as (p^2+1)^(-2),

which is not 1 devided by (p^2+1)^2, the latter of which is seen to be expanded to be p^4+2*p^2+1, but

the interpletation by maple of it is not so, and if applyop(`denom`,expand,m) works, even it is good.

But, it doesn't follow the syntax of maple. Then, can't use applyop in this case?

Best wishes.

taro

5 6 7 8 9 10 11 Last Page 7 of 19