Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi:

   I wonder how can I constrain the definition of a procedure so that it either takes a polynomial or a list or set of polynomials as input arguments?

is there anything in Maple like

a:= proc(p::polynom or set[polynom])

....

end proc:

Thanks,

Peter

Help!! I have a few questions that I need help with. 1. How do I find dy/dx of a point that I found in a previous problem? 2. Given a function f(x)=(2*x-1)*sin(pi x/2): a. How do I find the value of f ' (3)? b. How do I find the point on the graph of the function that has an x coordinate of 3. c. How do I find an equation for the line tangent to the graph at the point found in part b? I'm stuck and need some assistance, please. Gino

There has to be an 'easy' way to solve this problem in Maple, but right now I am drawing a blank!  Given a sequence of random (but distinct) integers in a list, find the both the longest increasing and descreasing subsequences; finding the sequence of indices into the origninal sequence is probably the "best" answer.  My T.A.

I solve 100 differential equations to get the numerical solutions for specific independent variable x=1, how to plot those 100 points?

Hello,

I am wondering if anyone knows why Maple gives different results calling this directly and applying the definition.  For example:

 

int(1/(4*sin(x)-3*cos(x)), x = -(1/2)*Pi .. (1/2)*Pi, 'CauchyPrincipalValue')

-(2/5)*ln(2)

 

vs.

 

 

limit(Int(1/(4*sin(x)-3*cos(x)), x = -(1/2)*Pi .. arctan(3/4)-e)+Int(1/(4*sin(x)-3*cos(x)), x = arctan(3/4)+e .. (1/2)*Pi), e = 0, right)

-(2/5)*ln(2)-(1/5*I)*Pi

 

hey, does anyone know if I am using the solver and would like to make sure that all my outcomes are positive real number, is there a way to put in a constraint? thanks

I'm a new user, and here is what puzzled me.

The system of two linear equations are solved below.  Great!

Hi, Could anybody help me with the command that can check group multiplication of permutations in Maple? For instance, alpha=(1234)(56) and beta=(125)(36) So, alpha*beta=(135264) or beta*alpha=(153426) Not sure how to check it in Maple. thanx a lot. antonio

I've made this proc to solve the absolute orientation problem, but I'm not sure if its correct...

I've got two sets of points, one called 'Actual' and one called 'Ideal'. Each set has n points.
I want to find rotation matrix R and translation matrix t which I can apply to the points in Actual so that the mean squared error, e, between the points in Actual and Ideal would be minimum.
e = 1/n (Summation from i = 1 to n) ||Ideal[i] - R.Actual[i]||^2


centroid := proc(l::list)
> local i,Centroid;

For which value of c is the area between f(x) and g(x) minimal?  f(x) and g(x) are both continuous   ( in the interval [0,1] )        

> g := x-> piecewise(0<=x and x<=c, m1*x+b1, c<x and x<=1, m2*x+b2);

f := x-> x^3;

 

 

Good Morning everyone and happy easter

I have a short question on Maples Eigenvectors procedure. I want to diagonalize a Matrix A, which works works perfectly using the following code:

A:= some quadratic (complex) float matrix

(l,L):=Eigenvectors(A):

B:=L . DiagonalMatrix(l) . MatrixInverse(L):

 

Excecuting this code tells me, that A=B, so it works.

 

I recently installed Maple 11 and have just been looking at the Maplet Builder.  I'm having trouble with MathMLViewer.  In the simplest case, I created a maplet with 2 elements, a MathMLViewer and a button.  I set clickButton1 to evaluate the expression MathML[Export](1) with MathMLViewer1 as the target.  Then I ran the maplet and clicked the button, expecting to see 1 in the viewer.  Instead an error box titled Dispatch popped up saying, invalid input: XMLTools:-NSXML:-Parser:-processOutputString uses a 1st argument, str, which is missing. 

dsolve(diff(r(t),t$1)=-r(t)*(-1+r(t)^2));

                       1                                  1           
     r(t) = ------------------------, r(t) = - ------------------------

Okay, I have a simple 5 X 5 matrix.  How do I view it as an image?

 

With a very large image 1000 X 1000, I can left click on it and view the matrix in a spreadsheet and then click on a tab that says image and view that matrix as an image.  How do I do that with small maticies?  I can't figure it out.

I have an  ode system, and use  2 D Math  (I don't know how to copy here, so I type by hand)

x'(t) = -y(t) + x(t) (1 - x^2(t)  -  y^2(t)),

y'(t) = x(t) + y(t) (1 - x^2(t) - y^2(t)).

I would like to introduce  x(t) = r(t) cos(Theta(t)), y(t) = r(t) sin(Theta(t)) and manipulate the equations further.

The problem is the left hand side. In one case I obtain Dx(t), in the other case (r(t) cos(Theta(t))' without calculation on it.

I ask some help. Thanks.

First 2052 2053 2054 2055 2056 2057 2058 Last Page 2054 of 2219