Putnam done with Maple

Maple

The William Lowell Putnam Mathematical Competition, often abbreviated to the Putnam Competition, is an annual mathematics competition for undergraduate college students enrolled at institutions of higher learning in the world (regardless of the students' nationalities). One can see some problems and answers here. I find it remarkable that a lot of these problems can be done with Maple. Here is a sample (The DirectSearch package should be downloaded from http://www.maplesoft.com/applications/view.aspx?SID=101333 and installed in your Maple.).

rsolve({a(k)=a(k-1)^2-2,a(0)=5/2},a)#2014,A-3

 (1)
 (2)

 (3)

 (4)

 (5)

 (6)

 (7)

 (8)

 (9)

 (10)

 (11)

 (12)

 (13)

 (14)

Hope the reader will try to continue the above.

methods for solving systems of nonlinear equations...

Hi all!

I do a small calculation and get a system of 6
nonlinear equations.
And "n" is the degree of the equation is float.

Here are the calculations that lead to the system.

restart;
with(DirectSearch):
B:=1:
q:=1:
l:=1:
n:=4.7:
V:=0.05:
N:=1200:

kappa:=Vector(N+1,[]):
theta:=Vector(N+1,[]):
u:=Vector(N,[]):
M:=Vector(N,[]):
Z:=Vector(N,[]):

M_F:=q*(6*l*(z-l)-z^2/2):
M_1:=piecewise((z<l), l-z, 0):
M_2:=piecewise((z<2*l), 2*l-z, 0):
M_3:=piecewise((z<3*l), 3*l-z, 0):
M_4:=piecewise((z<4*l), 4*l-z, 0):
M_5:=piecewise((z<5*l), 5*l-z, 0):
M_6:=6*l-z:
M_finish:=(X_1,X_2,X_3,X_4,X_5,X_6,z)->M_1*X_1+M_2*X_2+M_3*X_3+M_4*X_4+M_5*X_5+M_6*X_6+M_F:

kappa_old:=0:
theta_old:=0:
u_old:=0:
M_old:=0:

step:=6*l/N:
u[1]:=0:
kappa[1]:=0:
theta[1]:=0:

for i from 2 to N do

z:=i*step:
kappa_new:=kappa_old+B/V*(M_finish(X_1,X_2,X_3,X_4,X_5,X_6,z))^n*step:

theta_new:=theta_old+1/2*(kappa_old+kappa_new)*step:

u_new:=u_old+1/2*(theta_old+theta_new)*step:

Z[i]:=z:
kappa[i]:=kappa_new:
theta[i]:=theta_new:
u[i]:=u_new:
kappa_old:=kappa_new:
theta_old:=theta_new:
u_old:=u_new:

end do:

So,my system:

u[N/6]=0;
u[N/3]=0;
u[N/2]=0;
u[2*N/3]=0;
u[5*N/6]=0;
u[N]=0;

I wanted to use Newton's method, but I don't know the initial values X_1..X_6.

Tried to set the values X_1..X_6 and to minimize the functional
Fl:=(X_1,X_2,X_3,X_4,X_5,X_6)->(u[N/6])^2+(u[N/3])^2+(u[N/2])^2+(u[2*N/3])^2+(u[5*N/6])^2+(u[N])^2:

with the help with(DirectSearch):
GlobalOptima(Fl);
But I don't know what to do next

Please, advise me how to solve the system! I would be grateful for examples!

How do you close all the paragraphs in a maple wor...

I use maple worksheet to organize a derivation, etc.

But most of the paragraphs and subparagraphs should normally be closed.

But after executing the file (using !!!) every paragraph is opened.

We need better ability to control the opening/closing of paragraphs.

How do I close ALL paragraphs.

Also, how do I close all TOP level paragraphs (but not subparagraphs).

Thanks, Chee

Graph a displacement over a domain...

Where u and v are the displacement components in x and y directions respectively.

Exploration Mathematics with Maple through Embedded...

Maple 18

Today science professionals in engineering software used to only work on the desktop and even just looking to download and use mobile apps math; but they are not able to design their own applications.Maplesoft to set the solution to it through its Maple package; software supports desktop and mobile; solves problems of analysis and calculation with Embedded Components. To show this we have taken the area of different mathematical topics; fixed horizontally to a certain range of parameters and not just a constant as it is customary to develop. This paper shows how the Embedded Components allow us to develop mathematics in all areas. Achieving build applications that are interactive in mobile devices such as tablets; which are used at any time. Maple gives us design according to our university or research need, based on contemporary and modern mathematics.With this method we encourage students, teachers and researchers to use graphics algorithms.

CSMP_PUCP_2014.pdf

Coloquio_PUCP.mw

Lenin Araujo Castillo

Physics Pure

Computer Science

Compiller Error...

Hi,

I used to use windows 32 bit, but I have 64 bit windows now. I installed the MapleSim 6.4 and Maple 18 and try to run the simulations that I created with the 32 bit windows. I have this error 'Unable to compile (rc=1), please try again, and if that fails verify your Windows compiller installation'. Could you please let me know what should I do to eliminate this problem?

Best

Onder

Optimization problem about piecewise integration p...

Can maple solve maximization problem like

q := proc (a, b, c) options operator, arrow; .2*b+.1*c end proc;
print(`output redirected...`); # input placeholder
(a, b, c) -> 0.2 b + 0.1 c
w := proc (a, b, c) options operator, arrow; .7*a+.1*c end proc;
print(`output redirected...`); # input placeholder
(a, b, c) -> 0.7 ab + 0.1 c
e := proc (a, b, c) options operator, arrow; .7*a+.2*b*c end proc;
print(`output redirected...`); # input placeholder
(a, b, c) -> 0.7 a + 0.2 b c

with(Optimization)

Maxmize(int(min(100+(.7*a+q)*(1/2), a), q)+int(min(100+(.2*b+w)*(1/2), b), w)+int(min(100+(.1*c+e)*(1/2), c), e)-a-b-c-ab-ac-bc)

Error, (in Optimization:-NLPSolve) cannot convert procedures to piecewise

Thanks alot if you can help me.Urgent! Really appreciate.

Export multiple worksheets to pdf ...

For different reasons I need to ocasionally export a number of Maple worksheet in a folder to pdf files. Is there a way to automate this? I would want that the worksheet is opened, output removed, then executed and eventually exported to pdf. It can take quite a while to do this manually for about 50 worksheets.

Simple Physics Problem...

I have two Reissner Nordstrom black holes that are near extreme. How do I show they move?

Plot command for solution to DE after the answer o...

y(t) = _C1*exp(-1.*t)*sin(.57736*t)+_C2*exp(-1.*t)*cos(.57736*t)

The answer i got for a DE raised in mapleprime is given above.

What command do i write now to get a plot of the same?

Ramakrishnan V

I National Congress of Civil Engineering

Presentations of the first national congress of civil engineering developed at the University Cesar Vallejo. From 10 to 12 November 2014.

CONIC_UCV.pdf

(in spanish)

Lenin Araujo Castillo

Physics Pure

Computer Science

Numerical intgration...

#DeHoog f4(t)

 >
 (1)
 >
 (2)
 >

How is it possible to numerically integrate the function containing Diract delta function.

The following code for example is failed to answer and makes computer memory full.

Could Maplesoft support some investigations of po...

One of my post graduate students chose the theme "Discrete Wavelet analysis of medical signals with Maple" for her thesis. I test, is it possible to support such reearch be Maplesoft &  what may be the form of such support, if it is possible?