## 105 Reputation

18 years, 160 days

## Sudoku...

Has anyone written a MAPLE program to solve sudoku puzzles?

## Inserting two columns into text...

Maple
Is it possible with Maple 10 to change a document so that in the middle, there are two columns? One might imagine having some text describing how data was gathered where the text is spread over the usual six inches or so. Reading on down the document, the style might change to two columns: a graph of the data in the right column and comments on the data in the left. After this, the document could revert to the normal six inch, full line text. Did I not see something such as this in a demo at the Maple Summer Conference?

## work around for a problem in dsolve, num...

Maple
Of course, there are big differences in dsolve and dsolve numeric. But also there is a difference that is subtle. It would be nice if this subtle one were not there. It may be that there is an easy work-around. Of course, the complication that is at the root of the problem may not be subtle at all. Look at the results of these two situations. First situation. > restart; > h[0]:=t->(1+t)*t^2*cos(t): > sol1:=dsolve({diff(y(t),t)=-h[0](t-1),y(0)=h[0](0)},y(t)): > h[1]:=unapply(rhs(sol1),t): > sol2:=dsolve({diff(y(t),t)=-h[1](t-1),y(1)=h[1](1)},y(t)): > h[2]:=unapply(rhs(sol2),t): > plot([[t,h[0](t),t=-1..0],[t,h[1](t),t=0..1], [t,h[2](t),t=1..2]],color=blue); Second situation

## multiple animations...

Maple
A student in my PDE class asked about having two functions in animation at the same time. Here is how I suggested doing this: > f:=(t,x)->sin(t)*x*(1-x); > g:=(t,x)->cos(t)*x*(1-x); > N:=50; > for n from 0 to N do J[n]:=plot([f(2*Pi*n/N,x),g(2*Pi*n/N,x)],x=0..1): od: n:='n': > plots[display]([seq(J[n],n=0..N)],insequence=true); Is there a simpler way? Jim Herod

## Is g the same as f?...

Suppose you have a complicated expression g for what you expect is a simple function f. Suppose also that you cannot find how to simply, combine, expand g in order to get f. What can you do? What I typically do is graph f and g, or graph f minus g. I thought I overheard someone at the Maple 05 Conference say there is a command that checks to see if f and g agree on some mesh. If they do, the command makes some response. Is there such a command? I know I should have interrupted the conversation and asked details, but I didn’t. Maybe someone can help now.
 Page 1 of 1
﻿