Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

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.

I tried using 'maple tag' but the preview came out bad. So here's a clipboard copy of my maple code:

> f := proc (x, d) options operator, arrow; (1/4)*Pi*x^6-(3/5)*Pi*x^5+(1/60)*(30*x^3-72*x^2+80)*arctan(d/sqrt(x^2-d^2))*x^3+(2/3)*Pi*x^3+(1/60)*d*sqrt(x^2-d^2)*(16*d^4+x*(8*x-27)*d^2+2*x(3*x^3-9*x^2+20))-(1/60)*d(27*d^2-40)^3*log(x+sqrt(x^2-d^2)) end proc;
print(`output redirected...`); # input placeholder

I tried

taylor(f(x,d),x=0,d=0,4) but it didn't work. How do I do this?

I am having issues combining multiple graphs into one.  I have 2 sets of points that are defined as p1 and p2, and I have 2 functions defined as p3 and p4.  Here is the command & what it gives me when I try to graph them together...

> plots [display](p1, p2, p3, p4);

 

Hi everybody, probably a very basic question for most of you! I created a function with 2 lops n=1 to 10 and m=1 to 10. Each loop (n,m) I have a certain value for the local variable Xlocal. I want to know how I can put those value of Xlocal into a matrix. The place where I want to put it is (n,m) Matrix[ (1,1) (1,2)] [(2,1)(2,2)] Thanks a lot
First 1956 1957 1958 1959 1960 1961 1962 Last Page 1958 of 2223