Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I would like to have Maple reproduce the well known result that the geometric power series with first term 1 and common ratio x, with |x|<1, converges to 1/(1-x). When I do:

 

sum(x^k,k=0..infinity);

 

I get - 1/(x-1). Which is okay, but is there a way to force Maple to produce 1/(1-x)?

 

Thanks!

I have a function T = x*z(x), that I want to plot.

T should be drawn at the y-axis. But at the x-axis, there should not x be used, but z(x).

It shall look like:

 

T

¦

¦

¦

¦

¦-------------------------------------- z

Any idea how to do this?

BTW: I read, that Maple 16 has enhanced plotting functions. Is it worth the upgrade or are there just minor goodies?

Hello,

 

I am trying to maximize

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?

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:

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

INPUT:
  [1,2] + [3,4]*x
DESIRED OUTPUT:
  [1+3*x, 2+4*x] as a list

Right now I do the following:
  >  combined := evalm([1,2] + [3,4]*x);

combined := [1 + 3*x, 2 + 4*x]

 
  >  combined := convert(combined, 'list');

combined := [1 + 3*x, 2 + 4*x]

The reason I need to use...

First 1526 1527 1528 1529 1530 1531 1532 Last Page 1528 of 2224