Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

The following type of difference in behaviour, due to deterministic ordering of sets as introduced in Maple 12, may affect implementations of some algorithms.

    |\^/|     Maple 11 (X86 64 LINUX)
._|\|   |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2007
 \  MAPLE  /  All rights reserved. Maple is a trademark of
 <____ ____>  Waterloo Maple Inc.
      |       Type ? for help.

> seq(x, x in {a,b,c,d,e,f,g}) assuming d>0;
   ...

 

please help me here:

I have:

a(n):=(27720*n^(6)+83160*n^(5)+93030*n^(4)+47460*n^(3)+10689*n^(2)+819*n+5)/(27720*n^(7)+97020*n^(6)+132300*n^(5)+88200*n^(4)+29400*n^(3)+4410*n^(2)+210*n):

now i want to multiply by (n+1/2) that is

a(n)*(n+1/2)

now i want to express it in a simples form. may be like this:

c(n) + d(n)/p(n)

 

 

 

 

Hello, this is probably painfully simple but I cannot figure it out... so there it goes

there are four set of equations, but only one solution can be assigned to the parameter p (which is the outcome of R1, R2, R3, or R4).

1: if `and`(x4 = 0, x1 > 0) then assign(solpR1) end if;

2: if x2 = 0 then assign(solpR2) end if;

3: if `and`(x1 = 0, x4 = 0) then assign(solpR3) end if;

4: if `and`(x3 = 0, x1 = 0) then assign(solpR4) end if;

Hi experts, I generate two random variables R1 and R2 R1 := random[normald[mu[1], sigma[1]]](1000); R2 := random[normald[mu[2], sigma[2]]](1000); Now I want just the positive numbers of it and save them under K1:=R1^+ K2:=R2^+ Thanks for your help! Regards, Marc

Hello, I am new with Maple and I am searching a function for the following problem:


I have a vector,
V:=[1,4,8,2]
the maximum of this vector is 8, but I want to know  where the maximum ist. Here it the third entry of the vector.
Is there a function in Maple which gives me the 'place' of the maximum (here 3)??
 

Thanks for your help.

Helena
 

I am new to the joys of Maple and have become a bit stuck.  How do I find the solutions of the following function:

23*sin x + x - 1 = 0

Do I need to plot a graph first and go there?

Many thanks,

Dante.

Dear experts, I use a procedure called Powell. The result of the procedure are the 5 values below. I want to save those results in another variable called MS, but only the second and third value. > Powell(f, Xmin0); [-411.761866103766574, [17.6242885977129257, 82.3757114023303752], 10, 110] -> MS:=(17.62,82.37) The second problem is that I want to put Powell into a double loop. Just for understanding: --> N=1 till 10 M=1 till 10 Powell(f, Xmin0); End M; End N; So that I get 100 values of MS:=(....,....). That I want to save in a matrix.

1. Use the given info to solve the triangle. C=135degrees, c=45, B=10degrees

2. A 10-meter telephone pole casts a 17-meter shadow directly down a slope when the angle of elevation of the sun is 42degrees. Find the theta, the angle of elevation of the ground.

3. Use the Law of Cosines to solve the triangle. a=75, b=52, c=52

4. On a map, Orlando is 178 mm due south of Niagra Falls, Denver is 273 mm from Orlando, and Denver is 235 mm from Niagra Falls:

a. Find the bearing of Dever from Orlando.

b. Find the bearing of Denver from Niagra Falls.

In problems 2-5, use the given info to solve triangle ABC (if possible). If 2 exist, list both.

2. A=15degrees, a=5, b=10

3. A=43degrees, B=98degrees, c=22

4. B=110degrees, a=4, c=4

5. A=75degrees, a=2.5, b=16.5

6. If a regular octagon is inscribed in a circle with radius 16, what is the length of one side of the octagon?

7. Find the area of triangle ABC if a=4, b=5, and c=7.

8. Let v be the vector with initial point (o, 10) and terminal point (7, 3). Write v as a linear combination of the standard unit vectors i and j.

Hello, I am currently using Nelder Mead for an optimization problem. I used the following code taken out of the Maple Library (www.maplesoft.com/applications/app_center_view.aspx?CID=1&SCID=18&AID=1198) Concerning this code I have 2 questions: 1. The optimized values I get are sometimes negative. My solution should be limited on positive optimization values. I am not sure how to implement this. 2. The optimization is running quite slowly. Any suggestions how to improve the running time? Here are the most important parts of the code:

Hi to everybody, I'm computing these polinomials:

restart;
 pol:=(-1)^n/(2^n*n!)*(1 - x)^(-a) * (1 + x)^(-b) *diff((1 - x)^(a+n)* (1 + x)^(b+n),x$n);
 Lx:=unapply(pol,n,a,b);
 theta1(2) := Lx(2,0,0);

 

How can i expand the summation? i would like to have something like that:


evalf(theta1(2));
simplify(%);

How do I solve

int(int(exp(cos(theta)*sin(phi))*sin(phi), phi = 0 .. Pi), theta = 0 .. 2*Pi)

?

I think it is equal to

2*Pi*(int(sin(phi)*BesselI(0, sin(phi)), phi = 0 .. Pi))

but Maple also does not solve this integral?

 

Does anyone know how to solve these integrals (with or withouth Maple)?

Are there other programs that can solve these kinds of integrals?

(beta*p-beta-p)*alpha/(p*(beta-1)) reduces to alpha+beta/p assuming 0 < alpha, alpha < 1, 0 < beta, beta < 1, alpha+beta = 1. How do we show this with maple? Thanks.

u=[-2        v=[ 1           w=[3

      -5             7a               3

       5]             -2]              a]

Im newbie to Maple and trying to solve the following pde numerically:

PDE:=diff(u(t,z),t )-v*diff(u(t,z),z) = D*diff(u(t,z),z$2 z)z) -k*u(t,z);
ics := {D*`&PartialD;`(u(t, 0))/`&PartialD;`(z) = v*(C-u(t, 0)), D*`&PartialD;`(u)*(t, L)/`&PartialD;`(z) = 0, u(t, 0) = C};

sol := pdsolve(eval(PDE, {D = 1, k = 1, v = 1}), eval(ics, {C = 10, D = 1, L = 1, v = 1}), numeric, time = t, range = 0 .. 1);
Error, (in pdsolve/numeric/process_IBCs) improper op or subscript selector

I do not know how to correct this error. PLease help. Thank you.

First 1951 1952 1953 1954 1955 1956 1957 Last Page 1953 of 2219