MaplePrimes Questions

Hi Folks, Here is a numerical integration program: In evaluating the integrand functions, it is good to do two function evaluations at the same time simultaneously. I just found that I have two CPUs Pentium Xeon 2.4GHz, each supporing only up to SSE2. Although the CPUs are slow, but if I can utilize them to do parallel computing of the numerical integration. It would be great! But I am not a Fortran expert, nor am I a CS major... Could anybody give some easy-to-follow advice on how to make that code parallel on two CPUs?
Documentation on how to reference or assign values to elements in Table is limited. I uploaded a copy of a simple code (690_MTable) which tries to assign values to the elements the table. Code does not give and error message but does not do what I wanted to do. Please replace this text with the link to your file. The link can be found in the View on MapleNet or Download
I can plot this fine in Mathcad so I know it should work. But in Maple I am only getting a single point at 0 and another at 10. plot( (-1)^x, x=0..10,y=-3..3, color=blue, style=point); Thanks for any help, glenn
I want to write the function into the proc. test:=proc(h) h(1.1); end; proc(h) ... end; It doesn't gives what I want: test(x^3); 3 x(1.1) I would like to obtain 1.331 . More explicitly, how can I write into a proc a function directly, say x^3? (Not defining earlier h:=x->x^3 .)

Hello all, I am about to write a simulation which is remarkably redundant and suits itself quite well to parallelization on my multi-core, shared memory machine. Also, I am new to OpenMaple. How does OpenMaple behave in parallelized situations? Is it possible to have multiple threads with independent Maple kernels? Could multiple threads coded with OpenMP or the fork command find uncorrupted solutions? Thank you for any help you may offer! -asn

I want to define the operator L(g):=(phi*D)(g), which to be understood L(g)(x):=phi(x)*g'(x), phi is a fixed smooth function. One solution would be to write a procedure, but I would like a more elegant method. How can I do it?
Hi all, I am having lots of trouble using C codegen in generating C code from Maple expressions. My questions are: 1. How to assume each element of a whole array or vector >0? Of course I can do: Assume (a[1]>0, a[2]>0, a[3]>0)... But I have "m" elements, how can I do that for all m elements? 2. What to do if the output says "the output length exceeds maximum limit of 1000000"? This occurred when I tried to "simplify" some complicated expression... obviously Maple did get some results, but it refused to print them out due to length limit, ... 3. There is no way to translate the result of "JJ16:=optimize(JJ15, 'tryhard')"?
I have a function of array x[n]: f.e. f:= x[1] + x[1]*x[2] + x[1]*x[2]*x[3]. How to compute a derivative with respect to x[1],x[2],x[3] ? diff(f,x[1]) returns 0. Another question: I need to evaluate n- multidimensional integral: int... ( int( int(f,x[1]=0..1) , x[2]=0..1, ..... , x[n]=0..1 ). How shall I write ?
I have a rather complex statistical problem and was wondering if Maple would be able help. For my Oxford University thesis I have conducted a survey which seeks to estimate respondents' values for a certain preference parameter (relative risk aversion, RRA). This parameter is continous, but my data is categorical, i.e. the parameter value of each respondent is only estimated as a range. There are eight such categories. What makes it more complex still, is that the data is censored. The lowest category has no lower limit, and the highest category has no upper limit. The actual categories are as follows:
Has anyone tried to export a 3D plot from Maple 10 to TurboCad 10.5 or 11.2? When I try this, the dxf file is produced, but when I open it in TurboCad, only a blank drawing is produced. Am I missing something? Don Ritchie
I'm faced with the problem of trying to plot a graph of the form, for values of b against a. a^2:= (b^2*c^2) + (a*d^2)/(a-e^2); Unfortunately, when I try and enter the above, Maple gives an error and tells me when that the equation is recurrsive. If I re-arrange the equation and then try and get an equation with a purely on one side, using the isolate command, Maple cannot isolate a. The re-arranged equation is of the from a^2 - a*e + (b^2*c^2*e)/a - d^2 - b^2*c^2 = 0; Perhaps I have re-arranged the equation incorrectly.
Hi all, I am asking this for my engineering friend. We've posted on Maple newsgroup and we just heard that here is another place where Maple experts appear, so we posted it again here to seek more advice -- because we have a struggling problem which annoyed us for several days already! Thank you! ---------------- Here is what I want to compute: t22 := Re((1/2*(a^2+2*sigma2*(c+g*(ee+i*v)))^(1/2)*exp(.5*a*t)/ (1/2*(a^2+2*sigma2*(c+g*(ee+i*v)))^(1/2)*cosh(1/2*(a^2+2*sigma2*(c +g*(ee+i*v)))^(1/2)*t)+.5*a*sinh(1/2*(a^2+2*sigma2*(c+g*(ee +i*v)))^(1/2)*t)))^(2*a*xbar/sigma2)) Assuming all variables are real and positive...
Let's say you want to compute Re(Gamma(a+b*I)) where a and b are real. Is there a way to obtain a good form of the real part and imaginary part?
Hi, I need help!. I'm plotting 3d Strange Attractors(a complex dinamical system), in order to get an acceptable result I need to create about 500,000 points in a third dimentional plot, the problem is that it takes a long time to generate(sometimes hours and even days), so... Here is an Strange Attractor with only 2000 points took 20 seconds. ¿What can I do to generate such plots in a reasonable time? ¿Is there a way to comunicate Maple with OpenGl(or other fast graphical engine)? Suggestion are welcome! Thanks.
I recently purchased a Maple e-book, and I noticed a few lovely features of which I would like to take advantage. The first is the ability to create a compressed worksheet. There seems to be a painfully simple mechanism behind compressing and uncompressing the worksheet, since when the worksheet is opened with a text editor, the first characters are (if I recall correctly) "<compressedworksheet". I cannot find any documentation inside of Maple detailing the compression and uncompression of files. Thus, I ask you, Maplesoft: How can I compress my worksheet files in this manner? The second feature of which I would like to take advantage is the use of a license file. Looking at the XML code of the compressed worksheet, it seems that one only needs to make reference to the location of a license file in order for Maple to look for the license file. The license file itself is very short--only about 4 lines--which makes me assume that the license file checking mechanism is similarly simple. Again, Maplesoft: How can I make and use my own .dat "license" files?
First 2209 2210 2211 2212 2213 2214 2215 Last Page 2211 of 2323