MaplePrimes Questions

Hello!

I wanna ask you the next question.

I have system of four linear differential equations and solution of it (four functions f1,f2,f3,f4). When I try to verify my solution by odetest() I get a set of values: 0 and two bulky expressions with imaginary units.

So, I can't understand exactly my solution is right or not?

 

sysODE:={bla bla bla}{f1,f2,f3,f4}(x);
solsysODE:={f1(x)=........,f2(x)=......,f3(x)=......,f4(x)=.......};
misalign:=odetest(solsysODE,sysODE);
nops(%)
3
op(1,misalign) # zero
op(2,misalign) # not zero
op(3,misalign) # not zero

 

Thank you!

For simplicity in a long calculation I substituted sum(w[k],k=1..n) by the expression Sw using algsubs. At the end of the calculation I want to replace back Sw by the original expression. Thanks

Hi all!

I have this function:

 



Problem is it doesn`t have any output, really anoying! Could you please help. Thanks guys!

I need to find only the x for which a^x = b mod p is a solution of.

Dear friends!

My question does not concern essential functioning of Maple and does not influence on any computation performance. But I ask you to pay attantion to it.

For a long time ago I noticed, that representation of some elements of Maple worksheets does not correspond to settings. For example, I would like to have 2D Ouput style in bold font, which I used in Classic interface in the years of my youth. I adjusted this style as needed:

0

1

Nevertheless, output font has a normal (no-bold) style:

1

Is it possible to fix the problem?

I want to solve a system of 11^3 equations  (each equation is quite small) in 11^2 unknows. The equations are all viewed mod 2. I only want to know the possible solutions for 11 of those variables.

That is given variables a[i], 1 from 1 to 11 and b[n] for the remaining 11^2-11  variables.

I want to know all the  distinct consistent solutions for the a[i]'s. I dont care what the b's are as long as the solution to the a[i]s is consistent.

I am VERY sure that the equations will quickly show that there are no solutions but I am having difficulty comming up with how to code this. 

 

The expression

A := (a/u*(y*exp(-y) - x*exp(-x))/(y-x) + b/u) / (c/u + d/u);

is obviously equivalent to

I typed the latter by hand since I don't know how to do it in Maple.  Is there a trick to get Maple to do the simplification as shown?

Another worksheet dilemma  I am having with Maple.

I have number of "execution groups", like this, I created using CTRL-J

Now I wanted to put these in a section, so it becomes like this: (I had to make new worksheet now)

Since I did not know how put existing groups inside a new section I wanted to create (the section always comes at different level that does not include the groups), I thought I can create the section first, then go copy the groups and paste them to the new section.

The problem is how does one actually select multiple execution groups for the purpose of copying them?  The obvious way is to use the mouse, and select all groups with the mouse.

Well, this a big problem, since my groups are so large, I can spend 5-10 minutes scrolling down, very slowly to select them. my hand gets tired and I get tired doing this. I also one time got an error from Maple, saying selection too large, and something about rtf memory error or something. This is after wasting 10 minutes scrolling down carefully to select over 10,000 lines that is one large list.

In Mathematica, I can simply select a cell, no matter how large (an execution group in Maple talk) by just clicking on the edge of the cell.  I can select multiple cells the same way (hold, click on the edge of all). Very easy. I do not have to scroll down to select the content as I do with Maple

But here, with Maple, I put the mouse of the left edge, and can't select the group. Nothing happens. So I have to actually scroll down. I do not see the point of having a left [ edge to a group if one can't use it to select the group?

So my question is: How to select one or more execution groups without scrolling the mouse over all the content?

I had to use integration by parts to get the answer I need, but I do not think it is really needed for this. compare the output from:

r:=int(tan(x)^(n-2)*sec(x)^2,x);

(which is pages of very complicated output), with this:

r:=Int(tan(x)^(n-2)*sec(x)^2,x):
simplify(value(IntegrationTools:-Parts(r,tan(x))));

Does one really have to tell Maple to do integration by parts for this? I would have expected int() to do it as is.

Please compare to Mathematica:

Maple 18.02

added

The reason I think this should have been done by int() directly is that it is direct  application of the power rule of integration. I can't write Latex here, so I wrote it on my computer, and I copy the screen shot to explain for those interested:

Maple is so good in differential equations, but does not seem to be as good as it should when it comes to integration.

2 questions: How would one delete  an execution group that is at top of a work sheet? Like this:

No matter what I do, I get a beep. I select it, click DELETE and nothing happens.

THe second question, is how to delete the last section arrow I added by mistake and do not want, this one:

I found I can remove if I select it with the line above, but then that would delete the code above also, which I'd like to keep.

Why is so awkward to use Maple user interface like this? Is this by design?

To make it easier, I attach the above notebook.

 

hard_to_delete.mw

My eyesight is not what it used to be, so I would like to maginfy Maple's help window with a zoom factor of 150%.   I know how to do that by hitting Ctrl-F4.  My question is: Is it possible to save that setting somehow so that help is displayed at 150% by default?

Aside: The option Tools->Options->Interface->Default Zoom does not seem to do what I want.  For one thing, it sets the zoom factor of the main worksheet which I don't want to change.  For another thing, it affects the zoom factor of the help window in a rather mysterious way.  For instance, if I set Default Zoom to 400%, then the main window is indeed zoomed by 400% but the help window is zoomed by only 200%.

Platform: Maple 18 on Linux

If you define an array with entries from 1..10 and you want to plot these entries but with three different plots, e.g. entry 6 and 7, and again entry 10 shall be plotted separately: plot entries 1,2,3,4,5,8,9 in the same way, but entries 6,7 in a second and entry 10 in a third way. For example with different colors.

Is there a command for this?

I solve numerically very simple boundary value problem for the following ordinary diff. equation:

-1.2*y''(t)+0.8*y(t)=2,

y(0)=1, y(1)=0.

So := dsolve([-1.2*diff(y(x), x$2)+0.8*y(x) = 2, y(0)=1, y(1)=0], y(x), 'numeric', 'output' = listprocedure);

Solution looks as needed

u := unapply(rhs(So[2])(x), x): plot(u(t), t=0 .. 1);
pic

and can be numerically integrated in usual way:

evalf(int(u(t), t = 0..1));

0.6041717543123311

But integral of u^2(t)  (evalf(int(u(t)^2, t = 0..1))) returns:

pic1

How to avoid this issue?

Hi everyone.

I have a question:

How I can simulate the amplification of the beam in a diode-pumped ytterbium-doped material?

I am work on thin disk laser resonators and its gain medium is Yb:YAG.

The expression  expr  the command  simplify  simplifies without any problems. Even certain automatic simplification is produced:

expr:=sqrt(4-sqrt(7))*sqrt(4+sqrt(7));

simplify(expr);

 

 

But if we slightly modify the expression, the simplification is not performed:

expr1:=sqrt(4-sqrt(6))*sqrt(4+sqrt(6));

simplify(expr1);

 

 

The last expression  expr1  succeed to simplify the only combination of commands:

expand(combine(expr1));

                     

 

What is the reason for this strange behavior of  simplify?

Hi

I am performing a Fourier transform on

1/sqrt(1-x^2)

Maple returns a Bessel function

Is there a way to suppress this so that it gives the actual function and not the

Thanks

James

First 1330 1331 1332 1333 1334 1335 1336 Last Page 1332 of 2429