Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
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 ?

Here are more 3D Strange Attractors, the formula I used is a PickOver which is described in my last post, every plot has 10000 iterations(it could be more), you will find that some plots has shape of a Galaxy which I found very interesting because it is a relatively simple formula!! What more things could be so simple!!?? Gravitation:

Gravitation(different angle): Tornadoe: Tornadoe(different angle and coloring): Galaxies: Galaxies(different angle): Constelation: Thats all for now... If you have a question, suggestion, or an idea for an algorithm, write to me. Scasbyte. (scasbyte@hotmail.com)

Maple 11 has included indicial notation capability to its new Physics package. This is a good start in performing tensorial calculations using Einsteinian summation convention. However, I wish that Maple further adds the following capabilities to make this package of practical use to folks involved in tensor analysis. This wish list is based upon my personal experience in using tensor analysis for continuum-mechanics and is in no way representative of the community involved in other fields like the theory of relativity. 1) Both covariant and contravariant indices are denoted in subscript. Including the convention of posting counter and covariant indices in super and subscripts, respectively, will help to improve the readability of the printed results.
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:
Hi! I'm ScasByte welcome to my MaplePrime blog.

If you are interested in 3d Strange Attractors but you don't know how to create it here I can show you how, create Strange Attractor is actually very easy, if you are new to Maple then you might this very useful.
Here is a link to the first 3d Strange Attractor(the most simple of all) a PickOver.

Here is the code to generate a PickOver:

Earlier today, I was re-reading an old post when I was inspired. The post asked how one could use typesetting rules to make the call of a procedure typeset as a binary operation. The example used in the post was something along the lines of: myproc(a,b); becomes a <symbol> b; Inspired by a response to that post, I started looking at the help page for the define command and doing some testing in Maple. I was ready to make a reply to that post, when I stumbled upon a mind-boggling error. In the time it's taken me to track down that error (and run various errands), the original post has vanished from my view. Perhaps it still exists somewhere, but for the life of me, I cannot find it; therefore, I post to the next most appropriate place to describe and discuss this shortcoming: This blog.
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.
Here's a tip for people new to Maple or to 2-D input: always use a space for implied multiplication. 2-D math input in Maple allows for implicit multiplication, which is writing a multiplication operation without an explicit multiplication operator. An example is x y. The space is not always required in cases where there is no ambiguity. However, it is highly recommended that you include it. An example that catches many new users (and some experienced ones as well) is s(t+u). This does not mean s times t+u, but the function s applied to t+u
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?
I'm trying to create an interactive tutorial for students. Let's say, for the sake of example, that I want to show step by step how to complete the square. First, the user enters an expression into a text field or math container. Then, when the user clicks a button, Maple takes the expression and outputs multiple lines detailing the steps in completing the square. Preferably, all of these steps would be shown in the same math container. I can find no easy and direct way of setting the value of a math container to have multiple lines of math. I'm continuing to search, but does anyone know of a way?
First 2111 2112 2113 2114 2115 2116 2117 Last Page 2113 of 2219