taro

490 Reputation

12 Badges

8 years, 228 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 answers submitted by taro

 

subs plays the role of just a replacement, not accompanying with evaluation.

So, it is convenient in this case.

> b:=algsubs(r/sqrt(a)=ff1,3*(r/sqrt(a))+ (r/sqrt(a))^2);
                               ff1 (a ff1 + 3 a)
                          b := -----------------
                                       a

> c:=diff(b,ff1);
                               a ff1 + 3 a
                          c := ----------- + ff1
                                    a

> d:=normal(c);
                              d := 2 ff1 + 3

> subs(ff1=r/sqrt(a),d);
                                 2 r
                                 ---- + 3
                                  1/2
                                 a

 

Or you can use freeze like this;

>b:=algsubs(r/sqrt(a)=freeze(r/sqrt(a)),3*(r/sqrt(a))+ (r/sqrt(a))^2);
                 freeze/R0 (a freeze/R0 + 3 a)
                 -----------------------------
                               a              
>c:=diff(b,`freeze/R0`);
                 a freeze/R0 + 3 a            
                 ----------------- + freeze/R0
                         a                    
>d:=normal(c);
                        2 freeze/R0 + 3
>thaw(d);
                            2 r      
                           ------ + 3
                            (1/2)    
                           a         

taro

What you need is lprint(%);

?

You can copy the output of maple through on the screen of Maple

dragging the output and right-clicking then choosing Copy as MathML in Copy-Special.

Then, you move to the screen of Word, and choose Insert in the menu bar and then choose Insert Equation.

Then, Equation editor, which might be probably mathtype for your case, opens.

Into that screen of Equation editor, you only have to paste the MathML format equation you copied.

After that, things you do are the same as what you do when you write equation into Word file you are opening, with

the equation editor.

 

taro 

 

please use : not ;.

And, please read some manuals.

taro

 

>z := subs({a-c = freeze(a-c), a-d = freeze(a-d), b-c = freeze(b-c), b-d = freeze(b-d)}, (a-c)*(b-d)/((a-d)*(b-c))) = lambda

>g := subs({a-c = freeze(a-c), a-d = freeze(a-d), b-c = freeze(b-c), b-d = freeze(b-d)}, (b-c)*(a-d)/((b-d)*(a-c)))

>simplify(g, {z})

 

taro

 

 

 

 

Y := sum(a[i]*x^i*f(x), i = 0 .. n)+sum(b[i]*x^i*g(y), i = 0 .. n);

simplify(Y);

applyrule([sum(a[i]*x^i, i = 0 .. n) = P, sum(b[i]*x^i, i = 0 .. n) = Q], %);

 

taro

 

Isn't this what you want to do?

restart; with(plots); loglogplot(1/(1+f), f = 10^(-4) .. 10^4, y = 10^(-4) .. 10^4)

 

http://stackoverflow.com/questions/5915970/how-to-extract-coefficient-in-maple

 

acer answered there as

output:=2*diff(h(x),x)+a*diff(h(x),x$2);
coeff(output,diff(h(x),x$2));

 

 

context menu appears when you do right-click on the output.

For example

>cos(x)

                  cos(x)

 

the first line is an input, with the second the output. And, right-click cos(x). Then, context menu appears.

In the context menu, there is the letter, Plots.

 

And, from it, to proceed to  plotbuilder which appears in the next context menue from that indication of plot

in the first context menu.

 

And, after you opened plot builder, change various settings from pushing Option bottun in that menu.

You can change the line to dashed one. And, then click Command in that menu.

Then, the command of the figure you want to draw appears on your worksheet.

 

With this way, you can get the code of the graph you want to draw.

 

Take care.

 

taro

Please tell me if this isn't good to you.

g := abs((x+4)/(a*x+2)) > 1/x;

solve(g, {a, x})

 

Then output is

{x < -4, -2/x < a}, {x = -4, a < 1/2}, {x = -4, 1/2 < a}, {-4 < x, a < -2/x, x < 0}, {0 < x, a < (x^2+4*x-2)/x, -2/x < a}, {a < -2/x, x < -4}, {-4 < x, x < 0, -2/x < a}, {0 < x, a < -2/x, -(x^2+4*x+2)/x < a}

take care

taro

>s:=`+`(`*`(a,b),`*`(a,c));
ab+ac
>g:=eval(s,{op(1,s)=y,op(2,s)=u});
y + u
>h:=convert(g,`*`);
y u
>j1:=convert(op(1,s),`+`);
a + b
>j2:=convert(op(2,s),`+`);
a + c
>eval(h,{y=j1,u=j2});
(a + b) (a + c)

t:=(4*y^2 + 8*y + 8*sin(y))/(y^2 +1)=0;

t*denom(lhs(t))/8;

 

Is the above enogh?

 

I am reading Introductory programming guide, for Maple9.

From a little ago programming guide seems to have become only one volume.

But, at the time of Maple 9, two volumes, introductory and Advanced, were included in a box of the software.

I haven't begun to read Advanced yet. But, as for Introductory, it is awfully interesting.

I am reading it, taking notes.

 

 

 

 

1 2 3 4 Page 4 of 4