## ...get an answer out of the NLP-problem...

I'm using maple to optimize a certain problem. I have two matrices, A and B both of size m by n. Now I want to maximize alpha(a scalar) such that Bx>=alpha*Ax for arbitrary x. So I gave maple the following problem: input:=evalm(A&*X): > output:=evalm(B&*X): > for i from 1 to m do > constraint[i]:=output[i]-alpha*input[i]>=0; > od: > Constraints:=seq(constraint[i],i=1..m); > sumconstraint:=add(x[i],i=1..n)>=10; oplos:=NLPSolve(alpha,{Constraints,somconstraint},maximize=true,assume=nonnegative); My problem is that maple sometimes can't come up with an answer and tells me:

## Summation of piecewise function...

end

'pv:=p2'); %The variable a is matlab variable 'm:=m');'m1:=m1');'f:=piecewise(x>=pv[i], 1/(m1), x<pv[i], 0)')﻿maple('r:=sum(f,i=1..m1)');

## LDAP with SUN...

Help!  Is anyone using MapleTA authentication with the LDAP on SUN serves.  It requires a two step authentication that I do not understand.  It would be helpful if someone has an example of how this is done.

## Quaternions - Error?...

Hello!

I got the Quaternions package (version 2007) from MapleSoft:

www.maplesoft.com/applications/app_center_view.aspx

Now I type in the following statements:

## Is there an advanced formatting training aid? I wa...

I'd like to have better control over formatting. It seems that Maple will put one image next to another but will only allow 1 line of text next to the images. Is there advanced formating control available?

~Rich~

## To derive a matrix...

Hallo to everybody I have some problem with the partial derivation of a matrix... I want to derive all the term of a matrix for "x". The matrix contains symbolic variable that are functions of x,y,t.  How can I do that? I attach to you my sheet,I hope that you can help me

thanks a  lot

alberto

## maple code...

How do i get 20th iteration for following fixed pt problem

x = exp(-x/2)

## heat equation...

hello..

i really need your help..

i am given an assignment about heat equation and i need to solve it by using Maple.

i know nothing about Maple even never use it before.

this is the question:

Consider the heat equation ut(x,t)=0.2uxx(x,t) with the following boundary and initial condition:

u(0,t)=u(1,t)=0, t beetween 0 and 0.1

u(x,0)=100sin(pi*x), 0<x<1 take h=0.1 and k=0.01

## Calculus...

Prove that vectors , and are coplanar if and only if vectors ,

## Simulation and solution to SDEs with jumps?...

Hi all,

I am looking for toolboxes that can handle simulation and solution of
SED with jumps, say levy processes, jump diffusion processes, etc.
Could anybody give me some pointers to really good ones in Maple and
Matlab? I did google search myself and have some findings... however I
would like to know some really good ones and popular ones so I can
discuss with fellow users more conveniently...

Thanks!

## Choose an interval?...

Hi!

I want to set up a question where students first should do some calculation (p-values actually). Next step would be to see if this value is an element of intervals given by me. It seems reasonable to attempt constructing a multiple choice question, but there could be alternatives. In the case of a MC, the alternatives could be like the following:

1. <0.005

2. 0.005-0.01

3. 0.01-0.02

4. 0.02-0.025

5. 0.025-0.05

6. 0.05-0.10

7. 0.10-0.15

8. >0.15

## Newton-Rhapson procedure...

I'm trying to construct an iterative procedure NR1(f,x0,N) where f is a function, x0 is an initial estimate (which can be complex) and N the number of iterates.

Given:  xk+1=xk - f(xk)/f'(xk), k=0,1,2....,

Now for example by defining f:= x-> x^2-2 and inputting x0=1 and N=10 i should be able to check that my procedure calculates sqrt(2) correctly.

This is what i've got so far.....