MaplePrimes Questions

Hello,

 

I am trying to maximize

Hi im trying to get maple to output different combinations from a list of elements ( without using any packages ). 

for example I have a list :

  here each { } is one element and I need to do combinations in 3's soo I want it to return:
  order doesnt matter and I dont want repetitions.
1. {2,8} {2,4,6,7,8} {4,6,8}
2. {2,8} {2,4,6,7,8} {1,4,8}
3. {2,8} {2,4,6,7,8} {1,4,8,9}

Some calculus problems are worked out with the differential formatted as a function prime (f', G', etc.). How do I enter a function with the prime symbol so that Maple will treat it consistently? I recall entering f'(x) once in the legend of a Plot. The legend, as output, was in 2D format d/dx(f(x).

Another variation on my question is this: If I enter diff(x^2,x), or d/dx x^2 in 2D Maple, and calculate, I get 2x. If there a way to enter f'(x^2) to get the derivative?

I have a 2D ode system. Let the interior equilibrium points be x1 & y1. It is easy to get the Jacobian matrix with the code

> with(linalg);
> with(DEtools);
> J := jacobian([H, K], [x, y]);
 
where H & K are the RHS of odes. But I need the higher order terms by transforming x=x1+u, 
y=y1+v in matrix notation. Please give me the code. 

How to find the sum of the series sum(3^(-n)*floor((1/7)*2^(n+2)), n = 1 .. infinity) with Maple?

A more serious formulation is the following. Let us consider the cartesian product
 {1, 2, 3, 4, 5, 6, 7, 8} x {1, 2, 3, 4, 5, 6, 7, 8} as a subset of the plane xOy. What is its maximal subset which does not include three points belonging to a straight line? How to find this with Maple? I don't know the answer. My hypothesis is the number of the elements of that set is about 10.

Hello,

 

I have a very basic question: how to make a list of matrices?

For instance, this doesn't work:

for i from 1 to 4 do
M[i]:=Matrix(2,2,[[1,i],[i,i^2]]);

od;

 

Many thanks!

I am very new to Maple. I would be very grateful if someone could teach me how to write a command in an Maple worksheet to do the following:

Let u(x) be a function of x.

How can I introduce an abbreviation of derivatives so u1x (or u_{1x}) is the first derivative of u(x) with respect to x, i.e., u1x=\partial u/\partial x; u2x (or u_{2x}) is the second derivative of u(x) with respect to x, i.e., u2x=\partial^2 u/\partial x^2; u3x (or u_{3x}) is the third derivative of u(x...

Hello,

I was wondering if there is any function to represent matrices into linear equations. For an example,

if A=Matrix([[1,2],[2,3]]) , B=Matrix([[x[1]], [x[2]]]) and C=

Is it possible to simplify for example the expression

5^2 * 5^(1/2)

to get

5^(5/2) ?

 

PS: I am sorry if it was asked and answered, I can't find it.

I have defined a function q(t) in Maple as:

q(t):=ln(cosh(t));

I then calculate it's 15th (!) derivative and assign it a name:

diffq(t):=diff(q(t),t$15)

 

I wish to maximize this function on the domain [0,50], so do the following:

I use combinat[randperm] in MapleTA to get random permutations. But everytime I call the corresponding question bank, I get the same sequence of permutations. Even a randomize();with(combinat);randperm... doesn't change this behaviour but every single student should get different homeworks. Any idea?

In economics, variables are always real and often positive.

With assume(x>=0) I can set this for individual variables. But with many variables it is arduous.

Is it possible to set by default all variables to >=0 and define ony the exceptions individually?

Thanks you !

With Maple I get the following result

A*x^`beta` = R-A*`beta`/(x^(1-`beta`)*(1-t))

For easier interpretation I would prefer the following, equivalent form:

1/(1-t) * 1/(R-A x^beta) = 1/(A*beta) * x^(1-beta)

I tryed a lot,...

Hi!

I have to maple worksheets: one called test.mw and another called wholecode.mw. I read a file with

read(filename); from both .mw sheets.

but then test.mw file gives me a correct result while wholecode.mw does not execute the linalg commands. For example, in filename there is:

for i from 1 to 8 do

    s:=col(A,i);
    A1[i] := dotprod([1, x1, x2, x3], s);

od;

while test.mw gives the result wholecode.mw just gives

First 1657 1658 1659 1660 1661 1662 1663 Last Page 1659 of 2428