nm

8552 Reputation

19 Badges

12 years, 350 days

MaplePrimes Activity


These are replies submitted by nm

@Alejandro Jakubi 

e.g. AbelMap is actually a module under algcurves with 32 private procedures itself.

 

Well, the I will be going by what ShowContents(LibLocation); shows. I assume that only user visible commands are listed. For example for maple.mla, it lists 12,517 names/commands/symbols. Then I will need to figure a way to find if the name is symbol, or command/procedure or what it is.

you have coupled and nonlinear odes.  Why do you expect that there is a closed form solution?

@Carl Love 

The above method you described does not work for me. I am on windows, 18.02. And I just tried it. I kill mserver.exe from task manager. Then when I do file->new worksheet, it says

So I am not able to even creat a new worksheet. And I do not know how to create a new server other by closing Maple and starting it again.

 

The best solution is to define 0^0 as not defined.

In Mathematica it says:

0^0;
Power::indet: Indeterminate expression 0^0 encountered. >>

 

@ecterrab 

Yes, a mini-installer will be great. Thank you. If this was in the Linux world, one would just type

sudo apt-get update  maple-physics-package

:)

@Markiyan Hirnyk 

I do not understand. I am clearly asking for an automated way to obtain the Maple command that would have generated the plot after I edit it using the menu.

You never showed the way to do this. You simply showed the Maple command to do this one simple example.

What if I make many edits to the plot using the menu, and now I want to save the Maple command to generate the plot again. How would I obtain this command automatically? 

I thought the question was very clear.

@Markiyan Hirnyk 

This does not really answer my question at all.

@ecterrab 

thanks for the updates. Is it possible to also automate installation of the Physics package in similar way to updating Maple itself? Clicking on a button to check and do the update is much easier for users than manual updates which involves downloading zip file and dealing with directories and such. 

This will make it much easier to update the Physics package for many users.

@acer 

thanks, mul removes the division by zero. Would you know how to get rid of the extra empty () that shows up now?

a:='a';
f:= i->mul( `if`(i<>j,(a-z(j))/(z(i)-z(j)),NULL),j=1..3);

f(1)

I had to use NULL to make `if` happy since `if`wants 3 arguments. What else to put there instead of NULL to obtain nothing basically. I just want to skip this entry all togother.

ps. I do not know why "mul" worked but not "product", but will look into this to find out.

@Mac Dude 

In fact, Maple's image processing abilities are not strong at all compared to, e.g., "that other CAS".

I am almost sure that Mathematica (that other CAS?) did not write png export/import from scratch, and they simply link to some standard C library to do this (Netpbm, etc.. ) and simply provide a Mathematica functions to interface to. So I do not know why Maplesoft can't do the same (I assume Maple can make calls to C internally if needed).  This is something a professional programmer can do in one month time I would guess.

If I have to use external tools, I know I can do that anytime ofcourse. I have Linux and have access to all these things via command line calls right now. I just wanted to see if this can be done in Maple as well.

@Kitonum 

At the point  x = 0, violated the conditions of existence and uniqueness of solutions

This then explain the constant in the solution? Since it is not unique, then for any _C, one get a new solution.

@Carl Love 

Thus it is not proper to give initial conditions at that point.

I tried it with D(y)(1)=1; and still got a _C2 in the solution:

restart;
ode := (-6 + 3*x - 3*x^2 + 2*x^3)*y(x) + x*(6 - 3*x + x^3)*diff(y(x),x) + x^2*(-3 + 3*x - 3*x^2 + x^3)*diff(y(x),x$2)= 0;
ic := y(0)= 0, D(y)(1)= 1:
sol:=dsolve({ode, ic},y(x));

Only when I changed y(0)=0 to y(1)=0, now there was no constant of integration generated in the solution.

But this brings up a second question for me: Should one have got a solution in first place if the initial conditions given makes the ode ill defined to be solved? Should have Maple said something, or at least a warning message generated or such?

 

@Markiyan Hirnyk 

Why do you think the output should be

Actually, it is not me who thinks so, I am just going by all the textbooks I have, the professor who teaches us the course who said so, all the references on the net. By definition, this is what a controllable companion form is.

Unless Maple uses different definition. The problem is in the new B matrix/vector, not the A matrix. But here are some references to answer you:

From "Modern Control System Theory" book

From: "Design and Analysis of Control Systems By Arthur G.O. Mutambara"

 

Some references put the filled row on top instead of bottom (they reverse the states order), but still, there is only one row in B which is "1" and everything else is zero. This is not as common as the above definitions.

http://en.wikipedia.org/wiki/State_space_representation

try to write a title for the subject with something more meaningful. The subject title should describe what the problem is in few words. It is not important to say you are first year student or second year in the subject, since this has nothing to do with the problem.

@Joe Riel 

Thanks for the feedback. But I do not see the issue. The input Ihave gives proper TF. Hence Maple should be able to do the conversion. We do this by hand in class for HW. So If I can do this by hand in 3 minutes, I do not see why Maple can't do it. There is a standard procedure to do this conversion.

If the TF comes out to be improper, then I expect Maple to give an error.

Fyi, Mathematica can handle derivative in the RHS of the differential equation, and still gives a state space represenation. screen shot:

I think this is limitation in Maple and should really be fixed.

Thank you

 

First 59 60 61 62 63 64 65 Last Page 61 of 71