## Tabs - or lining up columns...

Hi Am trying to tidy up a printout of two columns in M version 7, such that the second column is lined up. Using the tab character \t in the printf statement does not seem to work - it just shifts a fixed number of spces, rather than go to a tab stop position. The following Maple code is very klutzy: however its redeeming feature is that it does work. Sample Maple code: #Create a long string of spaces (26 spaces between " ") aspac:=CharacterMap( "ABCDEFGHIJKLMNOPQRSTUVWXYZ", " ", cat(a,a) ); #NB a is the first 'word' - see output below #spac is a string of spaces to ensure alignment

## solve a recursive equation in 2 variables...

Hi Maplers: I'm probably spoiled, but maybe Maple can actually solve the following type of problem and I just haven't figured out how. Solve a recursion equation in two variables: f(m+1,n+1) = some expression involving combinations of f(m,n) etc. I am impressed with "rsolve" that magically finds solutions to f(m+1)=... i.e. a single variable. With great effort I have managed to figure out my 2-variable problem using generating function techniques, but perhaps Maple can do the whole thing in one great big single step. Does anyone know if such a thing exists? I can't find anything in the Help.

## numerical differentiation / fdiff...

Is there a way to use fdiff for functions, which allow only numerical input? It seems that fdiff is sending symbolics and that would not work in my case of interest (and I want to avoid to code such stuff, especially how to get the appropriate step size automatically ...). Related to Maple I only find this (general) source, but no according paper: M. Monagan, E. Cheb-Terrab A numerical differentiation routine for computing single, multiple and partial derivatives to arbitrary precision. This enables us to compute numerical values of derivatives of special functions for whic

## how to print a matrix...

I would like to know how to print a matrix using the TextBox command from Maplets, because always print a message "Matrix(3, 3, [ [ 1,1,1],[1,1,1],[1,1,1 ] ], datatype = anything, storage = rectangular, order = Fortran_order, shape = [])", for example. Another doubt is if it's possible to print text and equations using the MAthMLViewer without erasing the previous print in the Maplets (to each program output a line is added in the MathViewer). I would be grateful for any hint. Adriene Pfeifer restart:with(LinearAlgebra):with( Maplets[Elements] ): test:=proc() local M; M:=Matrix(3,3,1);

## Plotting during procedure execution...

I was using a procedure for linear systems solution (Gauss-Seidel) and in way to obtain information about the solution convergence I would like to obtain a graph during the procedure execution by Maple that may be ploted in a Maplet window. Does anyone have some suggestion on as I can make this? I am very grateful to anyone who may help.

## CodeGeneration...

Hello, I desire a different version of CodeGeneration[Fortran], and at the recommendation of the Maple 10 help system, copied the files in 'C:\Program Files\Maple 10\samples\CodeGeneration\Fortran77' and started making some very minor changes (i.e., changing .ne. to /=). However, I have not been able to work out how to load this modified file into Maple. The help system points to CodeGeneration:-LanguageDefinition:-Add(langname, moddef) function. The key is, I guess, is to load the modified file into moddef. I do not see how I can do this. Cheers Dave

## Chess / Checkers...

Has anyone ever used Maple to help with winning at chess or checkers ? v/r, Dan

I'm taking Discrete Math and we are supposed to use Maple to submit assignments. It did not seem to work for many examples given on McGraw Hill's online learning center. My first concern is how to load the rosenlib given at http://www.mhhe.com/math/advmath/rosen/r5/student/maple.html -------------------- The Maple Supplement This book is a supplement to Ken Rosens's text Discrete Mathematics and its Applications, Fifth edition. It's entire focus is on the computational aspects of the subject. To make use of the code found in this supplement you need to make use of a special library that has been developed to supplement Maple for this book.

## Too much space between lines in MathMLViewer...

How do I change the spacing between lines in the MathMLViewer?

## brownstone down...

I'm aware that this probably is not the right place to post this, but is there anybody who can do something about brownstone.net being unreachable? I have to convert a BIG LaTeX-file this weekend for students to work on starting Monday and have been unable to connect for the past twelve hours or so.

## weird RegSubs...

I am trying to get students to solve inequalities. They have to enter intervals and I modify their response-string before processing it. Something weird happens when using RegSubs. I have reduced the behaviour to the following maple*-code: expr := convert("\$RESPONSE",string); with(StringTools); expr1:=RegSubs(",(.+)[)]"=",Open(\\1))",expr); evalb(expr1="(0,Open(1))"); This returns true when I enter "(0,25)" (without the quotes of course; you can replace 25 with anything you like). So, instead of the parenthesised .+, the \\1 just yields a 1. When I execute the code in my own Maple10, the correct substitution is made. I think our server runs Maple9. Any comment is appreciated.

## how to solve this equation?...

this is the differential equation of second derivative. because i learn Maple not long. the equation name is 'eq5' > eq5:=D(D(x1))=(a1*fx1+a2*gx1)*D(x1)+(a1*fx2+a2*gx2)*D(x2)+(a1*fxt+a2*gxt); x1(t),in the file. if you interesting ,just download the file to help me to solve this problem. regards. View 1984_diff equ.mw on MapleNet or Download 1984_diff equ.mw
View file

## Problem with document mode...

In document mode: 1) when i start a row with (math mode): 1+2 then press ctrl+= (and Maple intert the result 3) i can't continue writing on the same row 2) when i start a row with (math mode): 1/a then press ctrl+= (and Maple intert the result 1/a) i can continue writing on the same row why? Maple 10 last patch Thank you