## 495 Reputation

10 years, 298 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.

## Substitution of a variable or simplifica...

Maple 2016

Hello people in Mapleprimes,

I have an expression which I want to modify with another equation.

They are simple, and looks easy to simplify.

nb:=(k-sigma+1)*lambda*L*(gamma*upsilon-delta__1122^k*tau)*upsilon*tau*v/(f__F*sigma*(-tau^2+upsilon^2)*k);

hh := (L*lambda*(k-sigma+1)*upsilon*tau*v)/(f__F*sigma*(-tau^2+upsilon^2)*k)=rho;

I want to express nb with hh as

(gamma*upsilon-delta__1122^k*tau)*rho;

With the next code, that modification can be done.

isolate(hh,f__F);subs(%,nb);simplify(%);

But, this isolates hh for f__F, which does not look intuitive.

On the other hand, the outcome of the substitution looks so simple, which you find with executing  the codes of

nb, and hh.

But, algsubs, and subs, and simplify/siderel won't work properly.

What I want to ask is this. Isn't there any nice way to substitute hh into nb other than isolating f__F, so that the result is expressed with rho?

Best wishes.

taro

## To find a variable with subscript...

Maple 2016

Hello people in mapleprimes,

I think that I found a bug.

Using the screen opened with command + f, I tried to find a v__1211 in the file I appended here.

But, when the cursor is trapped on an output part, which is a blue part, maple wouldn't continue to find the next

v__1211 anymore even if I clicked the Find Next on the screen.

If I move the cursol one line below with a hand, the Find Next butttons works again, but it is intricate.

Isn't there any good way to avoid this trouble other than not using double _, that is __.?

I hope you will give me some hint.

taro

v_1211.mw

P.S. I clicked the above link and opened that file with maple. Then, the notification telling that this is read-only file and

you cannot save this file after some modification, appeared. I don't know whether there is any problem.

Does appending a maple file on a post on this mapleprimes always done in such a way?

## Factorization of expression ...

Maple 2016

Hello people in Mapleprimes,

I want to factor

g^((2*(-sigma+k+1))/(-1+sigma))-tau^2

as

(g^((-sigma+k+1)/(-1+sigma)) -tau)*(g^((-sigma+k+1)/(-1+sigma))+tau);

I know that the following code works:

subs(g^((2*(-sigma+k+1))/(-1+sigma))=(g^((-sigma+k+1)/(-1+sigma)))^2,g^((2*(-sigma+k+1))/(-1+sigma))-tau^2);

factor(%);

Isn't there another better way than this?

taro

## how to control the timing of evaluation...

Maple

Hello people in mapleprimes,

I wonder if there is not any way to control the timing of substitution.

For  example,

x:=(t^(1-s)+s^(1-2*s))^a;mu:=c^(a-b)/'x';

brings mu := c^(a-b)/x. Please note that I made x unevaluated with '' around x, so that,

into the output of mu, the definition of x of (t^(1-s)+s^(1-2*s))^a does not appear.

But, in this case, when I typed the expression of

1+mu

and clicked return, the definition of x is inserted into the result of 1+m, though

I want x to remain x yet.

Surely, if I wrote ''x'' in stead of 'x', 1+mu does not contain the definition of x.

But, in that case as well, when I have other following calculations, in those the definition

of x should apear, which I don't like.

On the other hand, when I write as

x:=(t^(1-s)+s^(1-2*s))^a; x:='x';
mu:=c^(a-b)/x; 1+m;

surely as x is initialized once, the result of mu and 1+mu does not cotain the definition of x.

But, in this case, I have to write x:=(t^(1-s)+s^(1-2*s))^a; when I want the definition of x

to be inserted. Though in this case the definition of x is short, original relations I have and

haven't writen above is a little more complicated, so that to insert is not desiable.

Aren't there any good way to evaluate the value of particular variables and to leave them

unevaluated at each time I want to choose each one?

I hope I could have written my question as easly understood.

taro

## distributing limit to each terms...

Maple 2016

Hello people in mapleprimes,

I want to distribute limit or Limit to each terms of summation.

Limit(f(a+h)-f(a),h=0);

But, the output is not distributed one, but the same as the input, though

I want it to become Limit(f(a+h),h=0)+Limit(f(a),h=0), or

Limit(f(a+h),h=0)+f(a).

Isn't there any way for it, other than a trivial one that is

subs(Limit(f(a+h)-f(a),h=0)=Limit(f(a+h),h=0)+Limit(f(a),h=0),Limit(f(a+h)-f(a),h=0));

?

I hope someone will teach me.