I know using partial_diff can do Grad of a rank 1 tensor (i.e. vector) and get a rank 2 tensor. How do I do the reverse? is there any simple way? Thanks
We use maple to generate all of our computational bits, dump this out to header files, and include this in our code base. A lot of the code that is generated is redundant so it would be nice to have codegen[C] know, or at least be able to be told, to optimize the entire code being dumped to the same header file. Is this possible? Examples follow...
DCb := array(1..3):
for ip from 1 to 3 do
DCb[ip] := sum(sum(sum(sum(sum(gd[ip,jp]*gu[ap,lp]*jacu[m,lp]*jacu[a,ap]*dJ[jp,m,a],m=1..3),jp=1..3),lp=1..3),ap=1..3),a=1..3):
Our's is a large I.T training organisation we are looking for I.T Professionals who can create worksheets through Maple 10.Familiarity with the mathematics module will be an added advantage.
The requirement is quite urgent if anyone interested or knows anyone who is interested please contact ASAP.
I have a problem with a sentence that I have. I don't know whether it is a formatting problem or problem with the statement itself. I'm trying to say something like this (if it makes it less abstract, I'm trying to formally define a Sudoku puzzle).
For any set S and function F that maps the ordinal set |S|^2 to |S|, there exists a set T which is a subset of S^|S||S||S| such that any element of T Tabc is equal to the empty set iff c !=F(a,b)
First of all, theres a couple issues with this. |S| is the cardinal of S, but for convenience I also use it as an ordinal set. Second, as I started typing this I saw that I do not have the necessary statement for all Tabc which are members of T. How can I correctly input this statement into Maple?
Please help my with my program. First, I'll post the relevant code, then the questions:
#k is a Vector everywhere in this program
ModeFreq := (k, m)->Norm(<Norm(k, 2), m>, 2);
OscillatorAmplitude :=(n, k, m, x) -> (ModeFreq(k, m)/Pi)^(1/4)*exp(-1/2*x^2*ModeFreq(k, m))*HermiteH(n, x*sqrt(ModeFreq(k, m)))/sqrt(2^n*factorial(n));
DeltaApproxAmplitude :=(x0, N, k, m, x) -> evalf(expand((sum(OscillatorAmplitude(n, k, m, x)*OscillatorAmplitude(n, k, m, x0), n = 1 .. N))/sqrt(sum(OscillatorAmplitude(n, k, m, x0)^2, n = 1 .. N))));
I am trying to familiarize myself with the functionality of the Maplet Builder, and I'm having some frustrating problems. Whenever I set a button to change the value of a MathML viewer, for the command, I use the statement MathML[Export](insert Maple statement here), and I receive an argument error. In addition, I was wondering if (while using the builder) there was a way to add some code that evaluates one or more Maple statements (i.e., variable definitions to be used by multiple Maplet components,etc.) that does not affect the value of any of the component properties. I'm used to using the GUI components in worksheet mode which seem to be more flexible in terms of programming actions for components (perhaps only because of my ignorance pertaining to the Maplet builder).
I am trying to integrate the following expression:
I would like to obtain integral of u_ratio with respect to r_star, and separately the integral of u_ratio over one period. When i try to use something like int(u_ratio,r_star) in only get back a large expression with an integral symbol still in it. What would be the best way to approach integrating this guy?
I want to realize the following function in maple:
1> According to the input vector, n, canculate the n times of auto-convolutions, after getting the final result, measuring the vector according to each element of the result.
If I use the math language,
Suppose I have vector, called A the length of vector is L;
Result = A*A*....A (n times convolution);
Measure= Sum (on i) (Result[i]*ln(Result[i]);
I donot know how to coding like that Thanks for any help.
How to read the parameters from keyboard in maple?
I've got the following problem:
I want to build a Maplet with the Maplet Builder. This Maplet shall contain a plot, a slider and a textfield. After moving the slider, the plot shall change and at the same time the textfield shall show the value of the slider.
Is it possible to assign two conjunctions to the slider at the 'onchange' field?
Thanks for helping,
I'd like to define a function f(a,b)=
(The x's are known data, each 0 or 1, the c's and d's are also known.)
Is there a way to do this without writing it out long-hand, say using a matrix of the x's and vectors of the c's and d's?
When using Maple 10 Classic Worksheet, the mouse sensitivity goes up tremendously, making it really annoying to work with. The sensitivity is only increased in the Maple window when it's activated. I only have this problem with Classic Worksheet, but it's the 'version' I use. Is there any workaround for this? Like some sort of registry fix?
I'm using a Logitech Mx500, by the way.
Any help is really appreciated!
Where can I find a description for the various variants of numtheory:-cfrac,
which goes more into details than the online help? For example one can guess
how an approximating sum can be obtained from
numtheory:-cfrac((a+x)^k, x, 7, 'diag', 'simregular', 'quotients');
but I prefer to cross-check against a confirmed formula
instead of guessing.
If somebody would be so kind to point me to some source to look at ... or
even knows it already ...:
how does one evaluate the above list to get a value?
edited to add: I mean a way which can be compiled and without running through
3 equations are: diff(u_r(r,theta),r)+2/r*u_r(r,theta)+1/r*diff(u_theta(r,theta),theta)+cos(theta)/sin(theta)/r*u_theta(r,theta)=0; -diff(p(r,theta),r)+mu*(diff(u_r(r,theta),r,r)+2/r*diff(u_r(r,theta),r)-2/r^2*u_r(r,theta)+1/r^2*diff(u_r(r,theta),theta,theta)+cos(theta)/sin(theta)/r^2*diff(u_r(r,theta),theta)-2/r^2*diff(u_theta(r,theta),theta)-2*cos(theta)/sin(theta)/r^2*u_theta(r,theta))=0; -1/r*diff(p(r,theta),theta)+mu*(diff(u_theta(r,theta),r,r)+2/r*diff(u_theta(r,theta),r)-1/(r^2*sin(theta)^2)*u_theta(r,theta)+1/r^2*diff(u_theta(r,theta),theta,theta)+cos(theta)/sin(theta)/r^2*diff(u_theta(r,theta),theta)+2/r^2*diff(u_r(r,theta),theta))=0;
Seems that Maple outputs ".." instead of ":" for Matlab code.
Note that I'm using Matlab 6.5, so not sure if version has anything to do with it.
Is this a bug?
Any help would be greatly appreciated.
>Matlab Code generated from Maple follows