nm

11413 Reputation

20 Badges

13 years, 72 days

MaplePrimes Activity


These are replies submitted by nm

@tomleslie 

You are correct. Starting Maple as admin works.

But this makes no sense at all. 

Is one supposed to run Maple as adminstrator just to create a text file?

If Maple is not running as me the user, what else is it running as? This is normal home PC, and I have only one user on it, which is me.

When I run Mathematica, I do not have to start it as admin to create a file. 

I just tried this on my G:\\ drive and I get no error. The erorr shows on the C:\\ drive



I started Maple as me for the above (not admin). Any idea why the above could happen? Is it possible becuase Maple itself is installed on the C:\\ drive, it does not allow creating any file on the same drive it is installed on? But this would make no sense.

thanks

How does the canonical diffusion mathematical equation looks like?

 

@acer 

 

That is good. I am not too familiar with Maple technologies. In this case the problem is really solved. The student simply download the app and run them on their computer.  This is what I do now when I want to run a Mathematica app (CDF) and it works much better than on the cloud or inside a browser.

@acer 

wow, this frontend trick is really nice!

@Carl Love 

thanks. Your additions helped. I did not know about the INTERVAL(2,0,4,0) syntax.  But I find this a little too complicated. I think it should handle this using INTERVAL(2,4), as in

restart;
a:= INTERVAL(2,4):
b:= INTERVAL(1,3):
c:= INTERVAL(1,3):
evalrC~([solve(a*x^2+b*x+c=0,x)]);

and it should do the right thing, but the above gives an error, without the user having to specify before the intervals using the complex notation, (2,0,4,0). In Mathematica it works using one notation.

But I will live with this for now ;)

@Carl Love 

thanks for the answer. But I thought the solutions were supposed to be real in the first example? When I write

restart;
with(Tolerances):
a:= 3 &+- 1;
b:= 2 &+- 1;
c:= 2 &+- 1;
sol:= {(-b + sqrt(b^2-4*a*c))/(2*a),(-b - sqrt(b^2-4*a*c))/(2*a)};

Maple says:

And the solution are real?  isn't the quadratic formula correct there? So x is real over all the interval.

Using your syntax, I also get the same error I showed before:

restart;
a:= INTERVAL(2..4):
b:= INTERVAL(1..2):
c:= INTERVAL(1..2):
evalr~([solve(a*x^2+b*x+c=0,x)]);

Error, (in evalr) not a real number

I must be doing something wrong, but do not see it now.

 

for the first one maple gives

asympt(sinh(x),x);

 

@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?

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