nm

11353 Reputation

20 Badges

13 years, 12 days

MaplePrimes Activity


These are replies submitted by nm

@vv 

Thanks! This seems to have fixed it in my first test.

But I really have no idea what is going on. How can convert an expression to a string replace a space by \n? And is considered OK? I do not get it and I do not understand the logic behind it.  Maple does some really strange things.

Thank you

This is trivial to do in Mathematica. I have no idea why Maple can't do such a basic operation.

In Mathematica, the command is NotebookDirectory[].

 

@tomleslie 

Thanks for the workaround. But a user should not really have to do all this, as the whole point of ImportMatrix using CSV mode is that data is read in same format as in file. I do the same thing in Mathematica, and it handles this case with no problem.

You showed more problems as well in this function. This tells me that this code was not tested well by Maplesoft before releasing it to be used. This is not good.

 

I've asked the same exact question before.

"how to make Maple worksheet display lines without wrapping?"

http://www.mapleprimes.com/questions/220807-How-To-Make-Maple-Worksheet-Display

Maple have no such option. I solved it by going to Costco and buying the new LG very wide-terminal. It cost me almost $400. But now at least most of the lines do not wrap since my screen size now is very wide.

The above is the only solution I found.  Maplesoft is busy moving Maple to the cloud to be bothered with fixing such basis issues in its user interface.

You must have got 2017.1 also. I got it now as well. Check the version number and you'll see.

@Rouben Rostamian  

Thanks, that is the first thing I did ofcourse. But I am looking for what is new in 2017.1 and not 2017?

This is a minor release. Is one supposed to open each command to see what is new? Not practical. I am was looking for some list saying what have changed/added to 2017.1.

 

@acer 

thanks for trying. I do get the error each time, I rebooted my PC and confirm the error is there, I updated my post with screen shots.

@Carl Love 

thanks. that worked. But I wish help put the dependent variable there as well, as I was just following the help example, in this PDF file

http://www.maplesoft.com/products/maple/new_features/Maple2017/PartialDifferentialEquations.pdf

which had (page 15 for example)

pdsolve([pde,bc]);

and not

pdsolve([pde,bc],u(x,t));

And I had not noticed u(x,t) was missing, since it worked on the other examples and was not needed.

I think help should be corrected to add u(x,t) in there, just in case it is needed as in this case.

 

thanks for the link to the PDE examples PDF file. More examples always help. But on page 15, I see this example

When I try it on Maple 2017 on windows 7, I do not get the exact same result. I get an extra _Z1 before the sin(). Here is the screen shot

 

Here is the code also in plain text

 

restart;
pde:=diff(u(x,t),t)=k*diff(u(x,t),x$2);
bc:=u(0,t)=0,u(L,t)=0;
pdsolve([pde,bc]) assuming 0<L;

WHat happend to the extra _Z1 in the example shown in the PDF?

Also, Maple still can't solve heat pde as the above, when one or more of the boundary conditions is not homogeneous. For example, with

bc:=u(0,t)=0,u(L,t)=1;


But there is standard method to solve this by hand.  Can one expect Maple 2018 to be able to solve nonhomogeneous heat PDE?

@tomleslie 

thanks, I did not know about maplemint(). But it does not work for the proc() I have tried it on now, i get error

Error, (in maplemint/statement) exception handling is not yet supported

This seems becuase becuase I have try catch in my proc(). I've commented out the try/catch, but now I get new error

Error, (in maplemint/expression) not implemented READ

It looks maplemint() still needs more work to make it more practical to use But it still seems a like a good tool when it works.

WHat have you tried? This is not free coding service here where you post your HW and ask someone just to do it for you. You need to show what you tried and where you are stuck.

 

@Preben Alsholm 

But this is a sturm-Liouville ODE. There are infinite number of eigenvalues, increasing and discrete in values. Numerical solution  showed only one eigenvalue. So a numerical solution will not show the same information as an analytical solution would.  But thanks for sharing this. It useful to know maple numerical solver does this.

@tomleslie 

"not sure how you are going to deal with this :-( "

Humm,. I never said the data in the file is meant to be Maple expeessions? I simply wanted to use Maple to read the file, so I can make some changes to the data, and then save it back. These are Latex strings. For other purposes, not to be used in Maple. 

@acer Thank you! That is what I was looking for. I simply did not know or hit ImportMatrix when I was searching.

@vv 

how to put that gray box around the code in your post? I looked at all options and can't seem to see one for source code? Is it in the style or font pull down menu or somewhere else? thanks.

First 72 73 74 75 76 77 78 Last Page 74 of 91