## Poor plots, spacecurve wont display either...

Hello.

When I m working on my laptop the plots wont show as it would on my stationnary machine. The surfaces is smooth without any grid and spacecurves dont display at all.

I have tried to uninstall and install maple without sucsess. This is maple 2016

## Approaching Putnam 2015 problems with Maple

by: Maple

The well known William Lowell Putnam Mathematical Competition (76th edition)  took place this month.
Here is a Maple approach for two of the problems.

1. For each real number x, 0 <= x < 1, let f(x) be the sum of  1/2^n  where n runs through all positive integers for which floor(n*x) is even.
Find the infimum of  f.
(Putnam 2015, A4 problem)

f:=proc(x,N:=100)
local n, s:=0;
for n to N do
if type(floor(n*x),even) then s:=s+2^(-n) fi;
#if floor(n*x) mod 2 = 0  then s:=s+2^(-n) fi;
od;
evalf(s);
#s
end;

plot(f, 0..0.9999);

min([seq(f(t), t=0.. 0.998,0.0001)]);

0.5714285714

identify(%);

So, the infimum is 4/7.
Of course, this is not a rigorous solution, even if the result is correct. But it is a valuable hint.
I am not sure if in the near future, a CAS will be able to provide acceptable solutions for such problems.

2. If the function f  is three times differentiable and  has at least five distinct real zeros,
then f + 6f' + 12f'' + 8f''' has at least two distinct real zeros.
(Putnam 2015, B1 problem)

restart;
F := f + 6*D(f) + 12*(D@@2)(f) + 8*(D@@3)(f);

dsolve(F(x)=u(x),f(x));

We are sugested to consider

g:=f(x)*exp(x/2):
g3:=diff(g, x\$3);

simplify(g3*8*exp(-x/2));

So, F(x) = k(x) * g3 = k(x) * g'''
g  has 5 distinct zeros implies g''' and hence F have 5-3=2 distinct zeros, q.e.d.

## 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.

## Writing out a problem set in on the computer...

For solving problem sets, I have a pdf template I created for myself that has a header with a blank for the class name, TA, professor, date, etc. In addition to this header, I had a margin on the left to scribble questions I had and to holepunch.

I used to print out the template and write on the template and turn in that as my pset.

I am nowthinking of doing everything on the computer. Writing out all of the problem set on the computer. Combining stuff from maple, combining handwritten stuff from the computer using a digitizer. However I want to write it all on top of the my template that I created, which is a pdf file. I can turn the pdf into an image file if need be.

What would be the easiest way to do what I want? To open a program that automatically sets that pdf as the template and easily lets me handwrite stuff I want and paste in maple code?

Right now if I tried my idea, I would basically be constantly copying and pasting stuff from maple and my digitizer drawn pictures/equations into one file and it would be very clumsy.

Basically there are problems that I do partially on maple and I just want to unify all my work into one easy, printable file.

## Problem with fsolve...

Hi everyone

I'm currently working on some mandate distribution using "Jefforson's Method" but I have run into some problems.

The general form of the calculations I do is as follows:

d:=fsolve(m = floor(v1/x)+floor(v2/x), x)

But in the case of m=5, v1=4969 and v2=208 it does not work. If I change v1 a bit it works as a charm but when
4960=<v1=<4969 it does not.

Can any of you figure out why?

The equation surely has a solution (well, a lot of solutions). I can figure some out just by estimating and trying. Furthermore, wolfram alpha easily gives me several solutions:

http://www.wolframalpha.com/input/?i=5+%3D+floor%284969%2Fx%29%2Bfloor%28208%2Fx%29

So how come I cannot get Maple to solve it?

## OS X Mavericks and Maple Problems

by: Maple

Two problems surfaced when I upgraded my Mac to Mavericks (OS X 10.9).

First, the old Java SE installation was removed (actually, some linkages were destroyed), so a Maple launch puts up a dialog "need to install Java." Apple hasn't yet (10/23/13) updated the software database links --- installation fails with a "can't find software" error. I reinstalled Java using the version at http://support.apple.com/downloads/DL1572/en_US/JavaForOSX2013-05.dmg. (The links can be redone, it's just easier to reinstall.)

Second, the (new?) structure for /Library/Frameworks made my Maple license invalid. I dug out the old email with my activation code, then re-activated.

And all is now copacetic.

## Problems with 17.01...

Yesterday I’ve updated to the new Version 17.01 and now I’ve the problem that I cannot enter  ‚}‘ and another problem is an exponent e. g. x^2. To enter it I have to write x^22. The first number is not shown in the worksheet.

I hope someone can help me to solve this problem.

by: Maple 16

 >

## Cursor Problems in 16.02...

I just updated to 16.02, and now the (writing) cursor has horrible problems, especially in text groups. Basically, it is erratic or unmoveable.

In a text group, if I move a cursor down by pressing <enter>, it will not move up with the arrow keys, or it disappears and then appears in previous groups. or a new cursor appears in the line above, but the old cursor remains, or ...

In an execution group, it does a lot of the same things, but not quite as erratic.

## Problem with implicitdiff...

Hey all,

Just started using maple for one of my university courses and am having some problems trying to implicity differentiate a question in one of the problem sheets I have to do.

I am trying to find y' for cos(exp(xy)) = x and the command:

implicitdiff(x = cos(e^xy), y, x)

results in a FAIL. Am I doing something wrong?

Thanks!

## different answeres for a unit code !!!...

hey

I have wired problems with maple !!!

I run a code twice, I get 2 different answers !!!

I have uploaded the code ! just run it twicw and see the numerical values of alpha and beta at the end ! new_idea_gf.mw

## Physics: Bead on a rotating hoop...

Hello,

I am working on a physics problem that involves a bead on roating hoop. You need to use Lagrangians to solve this problem but this is not where i am strugling. My school expects us to use maple because it is the program the provide but none of the teachers know how to usem it (they use mathmatica) so they cant help us. We have the equation: θ"= [ω2*cos(θ)-(g/R)]sin(θ) and the initial cond. θ'(0)=0 and θ(0)=θ

## input loop data into a matrix...

First of, thank you commenters, you have helped me so much in the past!

I am doing a matrix inversion with random numbers and I would like to loop the process, and have each inverstion go into a matrix, such that the matrix will be a bunch of rows ( i number of rows) and three columns (the matrix inversion yeieds three values)

`> for i to 2 do;> > a1h := Generate(float(range = 0.1316881e-2 .. 0.1359706e-2)); a1f := Generate(float(range = .317149811 .. .327463626...`

## create math page exercises to print for my daughte...

I'm creating a table of random math problems for my daughter to print out.  How do I get more columns?

a := rand(1 .. 15):
b := ["+", "-", "x", "/"]:

for i to 15 do
print(cat(a(),b[rand(1..nops(b))()],a(),"_____")):
print(``):
end do;

13x4_____

## still have problems...

still have problems,
1.
restart:
f := proc (x) options operator, arrow; piecewise(0 <= x and x < 4, 50, 4 <= x and x < 5, 0, 5 <= x, f(x-5)) end proc;

plot(proc (t) options operator, arrow; evalf(Int(f, 0 .. t, epsilon = 0.1e-3, digits = 15)) end proc, 0 .. 20);

in the above figure,there is a discont point in the interval [16..18],but in fact,it's a continuous curve.

2.
how to use fsolve deal with two periodic functions?

 1 2 Page 1 of 2
﻿