Questions

Filename generator

Ever wondered how you can create filenames by cycle.

Well, I did, because I needed it. And I came up with something that works and because once i forgot it, I decided this time to put it here. At least, I won't forget again :) If you have a better way to do it, please, say so.

The idea:

>A:=`/home/Data/file_`; B:=`.txt`;

>for i from 1 to 3 do C:=cat(A,i,B); writedata(`C`,[i],integer);od;

For t := x^(1-I), f := arcsin(t) + arcsin(1/t) i have problems with

  dd:= PDEtools[dpolyform](y(z)=f,no_Fn);

                           d
                    dd := [-- y(x) = 0] &where []
                           dx

Plus or minus

I want to put in the plus or minus symbol (+/- in ASCII) into a text region (standard math), as in the quadratic formula.  I am using the classic interface in version 9.5.  Can this be done?

Alla

acer's picture

timelimit

I was looking at the timelimit command in Maple, and wonder about whether it might be improved .

The help-page ?timelimit says that it suspends its checks while within builtin functions. It says that, inside builtins, the time limit is "ignored".

But Maple has a lot of builtins. And significant portions of the work may go on within them. Does this make the timelimit() function not useful, from a practical point of view?

What if timelimit were to make checks whenever garbage collection (gc) ocurred? That's a safe point, no? And gc can happen within some builtins? Or what if time checks were made at the same frequency that interrupt requests were checked? Those can happen within some builtins, at safe points.

Those were my thoughts, until I tried it. The command anames(builtin) shows that rtable() is a builtin. But I have found that timelimit will function within at least some rtable() calls.

Tables, once again

Some time ago, I confronted the usefullness of the Table element of Maplets, and found out it was something marely to show data that was known on design time, no posibility to dinamicly inject data on it for example on a result table after a process, but in the past days I met MatrixBuilder, on the Student, LinearAlbegra package, and I wonder first if that is a maplet, and second, if that is a table element, I tried to crack on the source code of it, but no info came out.

Someone knows what is this window? or if someone is able to crack the source can show me the table part?

An unusual matrix is to be generated

We have a list of random binary numbers, say, A=[1,1,0,0,1,0]. Based upon A we want to write a matrix M=[a(i,j)] of order 5x5, where each a(i,j) is a list of length(A), comprising real numbers in closed interval [0,1]. All these reals in a(i,j) are less or equal to the corresponding entry in A.
 
Furthermore, the matrix rows and columns have to satisfy following conditions:

1. min(a(i,r),a(i,s))=[0,0,0,0,0,0] for every i,r,s such taht r<>s.
   min(a(r,j),a(s,j))=[0,0,0,0,0,0] for every i,r,s such taht r<>s.

Some time ago I was asked the question: do you know how to do a change of variables in a multi-dimensional definite integral?  I thought I knew, but I was wrong.  I only know how to do a change of variable in a multi-dimensional indefinite integral. 

Hello,

I have problem with define external function with dll written in Visual Basic.

Declaration of function is

Convert String to Function

As many of you have experienced, the maplet MathMLEditor, has some problem when it comes to interpret correctly the typing functions, even some functions with the help of the palette.

I was trying to input this function : sin(4*x)+cos(2*x) but after moving form the unknown tag _XML_ error, I end up with misinterpretations of this function, to things like  4*sin(x)+cos(2*x).

So, the comments in this blog tells that the better solution is to use a TextField to get the input function, but now I face this problem

f := Get('txtFunction');
 

William Fish's picture

Linux

I run Maple on a Wintel machine, specifically a Dell Dimension 9100 Mini-Tower: Pentium D Processor 820 with Dual Core Technology (2.80GHz, 800FSB) Microsoft Windows XP Media Center 2005.  I also recently acquired an OLPC.  I don't think that the OLPC will be much of a Maple platform in the near future but it does run Linux.

Syndicate content
}