Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi,

i need to remove all the elements from a matrix that are almost zero, for example, from this matrix:

matrix = (Matrix(2, 2, {(1, 1) = 1/1000000000000000000, (1, 2) = 1, (2, 1) = 1, (2, 2) = 1}))

i need to remove the smallest element, so the final matrix will be like:

matrix = (Matrix(2, 2, {(1, 1) = 0, (1, 2) = 1, (2, 1) = 1, (2, 2) = 1}))

Is there a simple way to do that? Maybe forcing Maple to use number above a threshold?

 

Thanks

 

the following program dont work

a := 1;
b := 2;
c := 3;
d := 4;
eq1 := a*x[1]-b*x[2] = 0;
eq2 := c*x[2]-d*x[1] = 3;
dd := fsolve({eq1, eq2}, {x[1], x[2]});
evalf(sin(dd[1]));

 

wouldyo please help me?

 

Hi,

This may be just my lack of maple syntax, however I cannot seem to find a way to add upper indicies in tensors (without first converting them to some other object, array, matrix etc)

In the physics package an example is just the metric tensor. 

I am trying to do something like this:

 

with(Physics);

add(g_[~mu,2], mu=1..2) 

Is there an easy way of summing upper indicies? Obviously lower indicies work, because the add/sum command recognizes the variable to iterate. 

Thanks in advance,

Age

 

 1) find  the direction in which f(x,y) increases most rapidly at the point P(1,2), and find the maximum rate of increase
of f at P.

Interpret 1) using the graph of f.

 

Let f(x,y) = 2+x^2 +1/4*(y^2)

Having solution of an inequations system, is there a way/function/algorithm to find a particular numeric solution (as simplex[minimize] can do) ?

ex:

Q := {1 < x - y, x + y < 1};

R := solve(Q);

      { x < 1 - y, y < 0, y + 1 < x }

manually it's easy to find some numeric solutions:


      y = -1, x = 1
      y = -2, x = 0

but I need an automatic way.

Thank you for your help
s.py

 

This Maple 13 so maybe things have been fixed. Here are four points whose convex hull consists of three points. Sometimes the result comes out correct, more often it does not. With numbers this small it shouldn't be an issue of roundoff. But changing digits changes the result!

Hi all

kx,ky is the wavenumber, how can I get the 4 cases of piecewise function according to kx=0,kx≠0 and ky=0,ky≠0. Thanks

J := `assuming`([4*(int(int(JJ*exp(-I*(kx*x+ky*y))*sin(2*l*pi*x/a)*sin(2*k*pi*y/b), x = 0 .. a, AllSolutions), y = 0 .. b, AllSolutions))/(a*b)], [k::posint, l::posint, a > 0, b > 0, JJ > 0])

Let a planar polygon P without selfintersections be given through the plottools:-polygon command.
How to find its triangulation as a set of triangles (The indication of common sides is desired too.) in an optimal way with Maple? This is used in the finite element method.

Triangulation

Hi all,

I am stuck with the following problem:

convert(cos(alpha), exp); works fine for me.

Once I have the trigonometric functions in a matrix, it does not work any more:

In the latter line, A keeps the trigonometric functions. Why is this the case? Is there any way to force maple to keep the complex exponentials instead of trigonometric functions?

 

I am using LinearAlgebra and VectorCalculus.

 

Best Regards

Wassja

Ok guys, so i have a bunch of datapoints in 3d (x,y,z)

I'm trying to calculate an equation using maple that will express z as a function of x and y.

I've been browesing around for like 2 hours now with no hope. Help?

 

Der Group,

 

after updating to OS X Yosemite the License data of Maple 18 are invalid. What can I do?

 

Yours

Berthold

Hi Maple friends.

If I have y=-x^2+9 and y=x+3, how can I find the area that is bounded by the functions? 

Easy enough to calculate by hand, but I need to use Maple to check my answers. Most preferably I'd like to use the Maple context menu to get the result, but any solution will be appreciated.

Thanks in advance.

Can anyone tell me where I can find tutorial explaining how to solve laplace transform? I need a tutorial that explains starting with simple resolution to advanced resolution.

Hi all;

I have following program for plotting numerous function using hybrid functions.

if g1(t) is arbitrary function and g2(t) is its approximate by hybrid functions, I want to have a table of g1(t)-g2(t) for different value of t. but the result is without numeric values. what part is wrong????

best wishes

OHB.mws

Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

How to calculate the Amplitude of two combined sinusoidal of different frequency and phase of a general equation as:

 

A sin(\omega_1 t)+B sin(\omega_2 t+\theta)


Thanks

First 1304 1305 1306 1307 1308 1309 1310 Last Page 1306 of 2223