Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I've finally tracked down a problem I was having to a behavior in Maple I find, possibly, understandable, but need to figure out how to prevent.   Specifically, in expressions of the form x^y, where both x and y may sometimes be zero, the behavior I require is for Maple to evaluate y first so x^0=1 whatever the value of x is.   (Maple does evaulate 0^0=1 itself, I note.)

An example where this sort of thing comes up is in an expression like

sum(x^k,k=0..5)

Sequencing sequences doesn't appear to work with round brackets

seq( (seq(i,i=1..10) , seq(j,j=9..2,-1)) ,k=1..4)

 

Hello, I have a problem, when I define some constants like a:=5, b:=6 and than I do some calculation like a+b maple shows immidiately the solution. Is there any way how to make maple to show the numbers at first and then the solution? What I mean is if I define the same constants a:=5, b:=6, then make the calculation a+b. The output i want would be 5+6=11. Is it possible to make maple show the solution this way? I use it for more complex calculation in civil...

 I would like to pay attention to the article "Exploratory Experimentation and Computation" by David H. Bailey and Jonathan M. Borwein just published in Notices of AMS, 2011, V. 58, N 10, 1410-1419
 ( http://www.ams.org/notices/201110/rtx111001410p.pdf ) . It should be noted that Maple is one of the leading characters of this article.

Hi,

I am working on my project related to bioinformatics. I am using Maple 11 for calculations related to matrices.

I need to calculate  Moore-penrose Pseudoinverse. I need to know the algorithm used by Maple function

'MatrixInverse' for calculating pseudo inverse of matrix.

 

Thanks

Hello

I solved a system of equations by maple 14 . I want to know the solutions that I have its the only solutions or maple  14 just gives us arbitrary solutions but not all solutions ?.

please answer me.

Thanks

Assume that we have a vector-function:

 

I was digging through my old worksheets and came across something I created for one of my projects I never finished or well am still intending to work on.  Anyways I had come across a plot created in Matlab and noticed Maple didn't have an option to create gridlines in the axis on a 3d plot like Matlab did (at least I think it was Matlab) in any case I tried to mimic the same thing in Maple as exactly as I could.  The below is the groundwork I came up with and I...

Hello there, 

I have been having trouble removing elements from a list using the subsop tool.

I have a list A containing smaller lists of 2 values (A=[[0,1],[2,2],[4,5],[-1,-2], ... ]). My goal is to set boudaries to these sublists such as if the "y" (second value in any sublist) value is greater than 3, remove it from the list. here is what my code looks like

 

for i from i to n do
  if evalf(op(2,op(i,A))) < 0 then 
    subsop(i=NULL,A);
  fi;
od;

How to debug external DLL? IDE - MS Visual C++ Express 2010

After calling define_external from maple library succefully loaded. But how to unload it without closing maple? For example want change library file to new one.

I put Celsius in my equation and I get the wrong answer even though I've loaded the Units Package:

Download 25-25not_work.mw

I have to put in the conversion to Kelvin by myself to get the right answer:

 

Download 25-25_works.mw 

What am I doing wrong?

Thanks ahead of time!

Edo

Dear guys!

I'm solving an equation and then by its results I solve an integral, but I'm doing that for many initial conditions in a for loop. The problem is that when I change the limits of loop (or initial conditions) the result of integral in two for loop for a same initial condition are very different. What's the problem?

Thanks!

I was recently looking at rotating a 3D plot, using plottools:-rotate, and noticed something inefficient.

In the past few releases of Maple, efficient float[8] datatype rtables (Arrays or hfarrays) can be used inside the plot data structure. This can save time and memory, both in terms of the users' creation and manipulation of them as well as in terms of the GUI's ability to use them for graphic rendering.

What I noticed is that, if one starts with a 3D plot data structure containing a float[8] Array in the MESH portion, then following application of plottools:-rotate a much less efficient list-of-lists is produced in the resulting structure.

Likewise, an effiecient float[8] Array or hfarray in the GRID portion of a 3D plot structure gets transformed by plottools:-rotate into an inefficient list-of-lists object in the MESH portion of the result. For example,

restart:

p:=plot3d(sin(x),x=-6..6,y=-6..6,numpoints=5000,style=patchnogrid,
          axes=box,labels=[x,y,z],view=[-6..6,-6..6,-6..6]):

seq(whattype(op(3,zz)), zz in indets(p,specfunc(anything,GRID)));
                            hfarray

pnew:=plottools:-rotate(p,Pi/3,0,0):

seq(whattype(op(1,zz)), zz in indets(pnew,specfunc(anything,MESH)));
                              list

The efficiency concern is not just a matter of the occupying space in memory. It also relates to the optimal attainable methods for subsequent manipulation of the data.

It may be nice and convenient for plottools to get as much mileage as it can out of plottools:-transform, internally. But it's suboptimal. And plotting is a topic where dedicated, optimized helper routines for some particular data format is justified and of merit. If we want plot manipulation to be fast, then both Library-side as well as GUI-side operations need more case-by-case-optimizated.

Here's an illustrative worksheet, using and comparing memory performance with a (new, alternative) procedure that does inplace rotation of a 3D MESH. plot3drotate.mw

Hey guys,

I have the function f(x) =(sin(x) + 1)/(x^2 + 1) where x =-Pi/2 and 3Pi/2

 

1) I first set up an intgral for the function:

First 1683 1684 1685 1686 1687 1688 1689 Last Page 1685 of 2254