Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hello,

I have a question about matrices in Maple.

 

I have defined the matrices s, x, y and z which are all 5x1 matrices. I have also defined a constant c

Now I want to define a 5x1 matrix, in which each element will be defined by a function:

This is the first in a series of short informal articles about our efforts to speed up polynomial arithmetic in Maple. We begin with an example of how polynomials are represented in Maple right now.

Maple sum structure

9xyz  -  4yz  -  6xyz  -  8x  -  5

When you enter a polynomial in Maple, it creates a generic data structure like the one above. In Maple's representation this polynomial is a sum of terms that is 11 words of memory long where each word is either 32 or 64 bits. For each term it stores a pointer to a monomial followed by a coefficient.

Hi,

I've got the following equation, which I am plotting for the range g=0.1E-3..5E-3 and h=0..10E-3

"First:=Int(Int(((2*L)/(x^2+(L/2)^2+(h-z)^2)^(3/2)),z=(-L/2)..(L/2)),x=(g/2)..((g/2)+L)):
Second:=Int(Int(((2*h+L)/(x^2+y^2+(h+(L/2))^2)^(3/2)),y=(-L/2)..(L/2)),x=(g/2)..((g/2)+L)):
Third:=Int(Int(((-2*h+L)/(x^2+y^2+(h-(L/2))^2)^(3/2)),y=(-L/2)..(L/2)),x=(g/2)..((g/2)+L)):
HorB[x]:=(B[r]/(4*Pi))*(First+Second+Third);"

The constants I am using are:

B[r]:=1.43;
L:=5E-3;

Atomic operations are CPU instructions that are guaranteed to execute in a single CPU cycle. This means that the operation is guaranteed to complete without being interrupted by the actions of another thread. Although this may not sound too exciting, careful programming using these instructions can lead to algorithms and data structures that can be used in parallel without needing locks. Maple currently does not support atomic operations, however they are an interesting tool and are used in the kernel to help improve Maple's parallelism in general.

Hi there,

I want to solve several LPs of the kind

L:=Optimization[LPSolve](obj, cnsts, maximize = true, assume = integer);

where it often is unbounded. Maple then prints a warning and returns a (meaningless) solution.

Now: how do I check, whether it is unbounded?

 

 

I did a plot with plot3d and now want to insert a plane parallel to xy-plane in height z.

How do I do such a thing?

Hello,

I'm getting an error from algsubs that I don't understand...

 

This works fine....

EqD16a := (-w[j]+w[c]+3*w[c]*alpha)*(-w[j]+w)^2/(alpha*(-w[j]+w[c])^3);

 

EqD16b:=algsubs(w=beta*w[j],EqD16a);

 

This fails...

EqD15a := (-w[j]+w)*(-2*w[c]*alpha+2*w[c]-2*w+3*w*alpha-w[j]*alpha)/(alpha*(-w[j]+w[c])^2);
EqD15b:=algsubs(w=beta*w[j],EqD15a);
Error, (in collect/series) invalid expression for series

 

I don't understand why the second fails?

How could I go about creating the fractal fern for which the iteration process is as described here...

http://en.wikipedia.org/wiki/Iterated_function_system

Under the section - Example: a fractal "fern"

 

Its mostly the probability part that would be the biggest problem for me.

Hi, I am working on deriving Inverse Kinematic Equations for my robot. I have 4 simultaneous trigonometic equations in 4 variables. However, Maple is getting stuck when I try to solve these equations. My variables are w,x,y,z. Can anybody please suggest me a way in which I can solve this problem? My equations are a := Cos[w] (Cos[x] (-110 Cos[y] - 170) + 110 Sin[x] Cos[y] Sin[z] - 22) + 110 Sin[w] Sin[y] Sin[z] = x1 b := Sin[w] (Cos[x] (-110 Cos[y] - 170) + 110 Sin[x] Cos[y] Sin[z] - 22) - 110 Cos[w] Sin[y] Sin[z] = y1
Can maple be used to plot a phase portrait of this differential equation? (x,y)' = ( -2x - y , y - x^2 +x) Any light you can shed on the problem will be much appreciated. Thanks!

I want Maple to execute the following code over and over again (exepct for with(combinat) of course)

with(combinat):
unassign(anames(user)):

How do I answer this question using maple?

 

For the curve of intersection of the surfaces

5xzy + xyz + 10e -98 =0

tan(xyz-2) + ln(3x + y + z -7) =0

find at the point (2,1,1)

a) T (unit tangent vector)

b) dT/ds

c) k (curvature)

d) N ( unit normal vector)

e) B (binormal vector)

f) dT/ds

g) t (torsion)

 

Hi
How to get from the differential equation:
diff(x(t), t, t)+c*(diff(x(t), t))+k*sin(x(t)) = 0;
print(`output redirected...`);               / d  / d      \\     / d      \                 
              |--- |--- x(t)|| + c |--- x(t)| + k sin(x(t)) = 0
Hi, how can I generate (and plot) an array of points that are defined by a recursive formula, for example the points specified by
Hello colleagues,
Here I have for you two questions:
 How to learn to see the indexed variables, whether they are literal or standard? Without the need whattype:
whattype(x[2]);
print(`output redirected...`); # input placeholder
                                   indexed
whattype(`#msub(mi("z"),mn("1"))`);
First 1867 1868 1869 1870 1871 1872 1873 Last Page 1869 of 2219