nm

11643 Reputation

20 Badges

13 years, 144 days

MaplePrimes Activity


These are replies submitted by nm

@acer 

thanks, I thought buildin means any Maple command such as int() and dsolve() etc...

I did try it before, but I must have done something wrong as it hanged when I tried it. But now it works using your code.

I'm struggling to get my head around using Z-transforms in maple

What steps would I have to take to get

a)

Find y[n], the inverse Z-transform of

z/(z-2) 5z/(z-5)^2

 

 

Can you show what have you tried? you must have tried something, since you say you are struggling? Typing "inverse Z transform Maple" in google shows the command with examples. So it is hard to see why are you struggling with this if you do not show what you tried so one can show you what error you made.

@Carl Love 

It is not working for Maple 2015. Is it not missing the (0) there? THis is what I get

 

restart;
x := t-> <x1(t),x2(t)>;
eq:=diff~(x(t),t$2) =~ <sin(t),t>;
ic1:=x(0)=~0;
ic2:=D~(map2(op, 0, x(t))) =~ 0;

 

But I think it should be:

To proof this, I did it by hand:

restart;
x := t-> <x1(t),x2(t)>;
eq:=diff~(x(t),t$2) =~ <sin(t),t>;
ic1:=x(0)=~0;
ic2:=<D(x1)(0)=0,D(x2)(0)=0>;
sys:={eq,ic1,ic2};
dsolve(sys,x(t));

and got solution. But if I used your method, I get errro:

restart;
x := t-> <x1(t),x2(t)>;
eq:=diff~(x(t),t$2) =~ <sin(t),t>;
ic1:=x(0)=~0;
ic2:=D~(map2(op, 0, x(t))) =~ 0;
sys:={eq,ic1,ic2};
dsolve(sys,x(t));

Error, (in dsolve) ambiguous input: the variables {x1, x2} and the functions {unknown(x1), unknown(x2), x1(t), x2(t)} cannot both appear in the system

 

thank you

 

 

 

 

 

@acer 

thanks, this works. too bad one has to use print() there to see the output, but it is still faster than having to make new text file or open Maple if one wants to try one quick command on the fly.

@acer 

I tried -c -c but that did not work

cmaple.exe -c -c "int(sin(x),x);"
maple: error, could not open "int(sin(x),x);" for input

memory used=0.3MB, alloc=8.3MB, time=0.05

thanks for the link, I looked at it, but it is all about Linux. I tried using examples there, like using EOF and all those but they do not work on the command line from windows DOS.   Well, it is ok, will just have to make a file then.

and how did you want someone to help you when you paste an image of 20 lines expression that can't be copied?

 

@acer 

opps, I see. My mistake. I read it as the first 3 commands in separate group from the print command.

now it works, finally :). Thank you

@acer 

I did. Each in separate group. I used F3. But still no change, screen shot

Also tried just dsolve, same thing, inner `` are missing

 

Anything else I should try?

@acer 

Thanks. It seems not all changes are documented. For example, Maple 2015 says these commands below have changed. I looked at the compatibility section of each and it all what it says is this that the command changed, but does not says what changed

 

 

and more...

@acer 

Can you please explain what you mean by "Note the _syslib attribute needs to be stripped off, in order for the proc body to be displayed when prettyprint=1" ?

I do not understand what I need to actually do. I tried your commands and there is no difference in outout. I tried this

restart:
interface(prettyprint=1):
interface(verboseproc=3):
print( setattribute(copy(dsolve)) );

and also
restart:
interface(prettyprint=1):
interface(verboseproc=3):
print(dsolve);

and in both cases, the screen display shows those inner `` are missing, just like I showed above in my question.
Does one have to do something else?
Maple 2015 on windows 7

@Preben Alsholm 

Becuase to be consistent.

One can't write  print(dsolve/interactive); for example, but have to write print(`dsolve/interactive`);

so to avoid keep noticing if I need to use `` or not. I use them all the time on the call. That is all.

 

 

@Christopher2222 

Sorry, but it does not work for me. I am using 2015 on windows 7, 64 bit.

esc just gives beeps and does not autocomplete unless there is space after the word. I am using worksheet UI, not the Document mode UI.  Here is a movie. You can see only when I have space it does autocomplete. You can't hear the beeps, but I am pressing ESC all the time before

 

 

@Thomas Richard 

No, it does not work. It only works if you have SPACE beyond the word you want to autocomplete.

Please try this:

LinearAlgebra[Cro]

Now put the mouse after the "o", but do not make space between "o" and "]". now autocomplete do not work. I tried your suggestions, they do not work. Only where there is space it works.

Basic usability bug that have not been fixed for long time. Also one that has not been fixed, is F3. (split execution group) Clicking on F3 in the middle of line, breaks the code. it moves the rest of the line code to the new group.

What F3 should do, when clicked in any place on current line, is split from end of the line, not from its middle. This is the logical way, and 99% of what one intends to do, and without changing or splitting the current line of code. Now one must remember to move the cursor to end of line before hitting F3. 

May be Maplesoft should hire usability engineers or do some usability study on its UI(s). It is very awkward to use.

 

 

@Carl Love 

This bug has not been fixed in 2015. Very disappointing. This makes using Maple very awkard. The UI is allready hard to use, and this makes it even harder. One has to make space just to do automcomplete, then remove the space.

It is clear to me that Maplesoft does not care about usability in its product. Such a basic problem could be fixed in one hr by someone internal to the company, but no one seems to care.   Just make a release, year after year, same time, but what does get fixed? Do we have list of bug fixes in each release?

@tomleslie 

        "such as having text in matrices, keys as a set not a list"

Really? What is wrong with having text in a matrix? In Mathematica, you can have graphics (2D and 3D), audio, even video in a matrix. A generic matrix is just a list of lists.  A matrix really is a rectangular arrangement of data. Who said it can only have numbers?

 

First 76 77 78 79 80 81 82 Last Page 78 of 90