## Save a worksheet session...

Asked by:
I have a large system of equations that takes a good hour to solve. Each time I save and reopen the worksheet there is another lengthy recalculation on execution after which other operations are carried out. I know how to save individual variables for reuse but what I would like to do is save the session so that the I can pick up from where I left off. Is this possible?

## Nested Verification

Maple

Nested verification can be done in Maple using the following command,

```VerifyTools:-AddVerification('nested'=proc(x,y,ver::verification)
if whattype(x)=whattype(y) then
if x::Vector then verify(x,y,'Vector'('nested'(args[3..-1])))
elif x::Matrix then verify(x,y,'Matrix'('nested'(args[3..-1])))
elif x::Array then verify(x,y,'Array'('nested'(args[3..-1])))
elif x::array then verify(x,y,'array'('nested'(args[3..-1])))
elif x::set then verify(x,y,'set'('nested'(args[3..-1])))
elif x::list then verify(x,y,'list'('nested'(args[3..-1])))
elif x::relation then verify(x,y,'relation'('nested'(args[3..-1])))
elif x::range then verify(x,y,'range'('nested'(args[3..-1])))
else verify(x,y,args[3..-1]) fi
else verify(x,y,args[3..-1])
fi end);```

## Testing objects for equivalence

by: Maple

UPDATE!!! I found that my blogpost appers in Maple reporter. You should know, that this blogpost was just a question about how to solve my problem better. Alec Mihailovs gave me and aswer and his solution of testing nested objects is much better. If you still want to use my piece of code, you should remove "set object" form "convertAMVStolist" procedure and replace all occurrences of "hastype" with "type" (as mentioned in comments below).

This piece of code should be able to test two objects (not of every type) for equivalence (like testeq() does). The benefit is, that it should be able to test also nested objects. Is there any other and more simple way how to do that? How to test nested objects in sets?

## How can I verify the equality of two more complica...

Asked by:
Hello, can you help me with my problem? If I want to verify two objects like this > a:=exp(I*x)=0; > b:=cos(x)+I*sin(x)=0; I can use the command > verify(a, b, 'relation(testeq)'); But how can I verify equality of more complicated objects, for example > a:={exp(I*x)=0, x^2-x}; > b:={cos(x)+I*sin(x)=0, x*(x-1)}; The command > verify(a, b, 'set(testeq)'); is (of course) not enough. Is there a way how to do it? How to compare the objects recursively? Mayby the solution is to write my owv verification object, but I don't know how to do it. Is it possible to define a procedure and use it in such way?

## Transforming Equation Topic...

Asked by:
Hi All, Firstly, I tried doing a search on the forums but couldn't find the answer, so my apologies if this has been covered before. All right here it goes... say i've got the following eqn: A = Bx^2 + Cx + D and I want to make B the topic of the equation. How would I do it in Maple? Please note that I'm completely new to Maple, and I'm aware that the above equation isn't the proper syntax. Thanks in advance for your help... cheers! Ganesh

## How do I get this double integral with MAPLE?...

Asked by:
Please, could anybody help me with this integral, where y is higher than 0? Int(Int(1/((1+y*(cos(x)+cos(z)))^(1/2)),x = 0 .. pi),z = 0 .. pi); Thank you a lot for help. D. Reyes CBPF-Brazil.

## call to Eigenvectors never returns...

Asked by:
Hi,
I'm trying to use Eigenvectors on a 7x7 matrix (in maple8 on linux). The process
never returns and its size continually grows (>200 MB before I kill the process).
I am new to maple, but have successfully used Eigenvectors on a different (sparser)
7x7 matrix. I'm assuming that either a general 7x7 matrix is too hard for
maple to solve analytically, or something about the degeneracy of my matrix is
causing problems? btw, Nullspace works fine on the matrix. Any help would be
appreciated. I added the assumptions hoping that would simplify the solution,
but it doesn't seem to make any difference. Below is the code.

## Assign a symbolic solution in a vector to a variab...

Asked by:
I have a vector containing a variable >vec1; var1 I have another vector containing a symbolic solution. >vec2; a + b + c I wish to assign a + b +c to var1 so that >var1; a + b_+ c How do I do that? All of my usual methods seem to come unstuck.

## Page number not printing...

Asked by:
Hello, I'm working on a document and I decided to print it out to do some editing. I have enabled page numbers, and when I do a print preview I see the page numbers at the bottom of the all of the pages. But when I print out the file, the page number appears at the bottom of the first page but not on any of the next pages. This happens both when I print it to our office printer and when I print it to a PDF file. Any suggestions?

## Two Maplet questions...

Asked by:
1) How do I view the source code of, say, ``` (Student[Calculus1][AntiderivativeTutor])(); ``` 2) I'm using a Maplet where a student will enter an expression into a MathMLEditor. I then want to compare this expression to one that the computer has already generated, to see if they can identify the inside function in a composite function, for instance. Once they enter their expression into the Editor, I use a Get command to extract it, and MathML[Import] to turn it into Maple expression to compare it with the computer-generated one. This works fine with functions like 1/x^9 (which you can type in easily into the editor), but really causes problems with ln(x) or sin(x). If you type in "sin(x)" into the Editor, MathML[Import] will interpret that as

## OpenMaple calling Maple procedure from C++ environ...

Asked by:
Hello All Dear Maplesoft professionals, I have a classic internal Maple procedure. It works by call in Maple session like this MyProc[Function]([3/5,7,4.25], ["blue","red","gold"]); I am planning to call it from OpenMaple application (fast and correct and many times). The members of lists will change many times at .exe session (user dialog). What the best way to call it from C code 1. Function Conection DagProc = EvalMapleStatement(kv, "MyProc[Function];"); 2. ???? What kind manipulation by data [3/5,7,4.25], ["blue","red","gold"]

## Inline math....

Asked by:
I just uploaded the file Georgeworksheet18.mw. I am looking for a result such that when I collapse the document block I see the statement The answer to 4+3 is 7. on one line. I would like it so that if I expand the document block, and change the command line to 4 + 4 and then collapse the document block I will see The answer to 4 + 4 is 8. Is there any way to accomplish this? View 2292_GeorgeWorksheet18.mw on MapleNet or Download 2292_GeorgeWorksheet18.mw
View file details

## Rational Approximation: Minimax...

Asked by:
Dear Maple users, I am trying to use Minimax to create a rational approximation to a function over a specified approximation interval. But, I keep getting the following error message. Can someone help? > with(numapprox): > Digits:=50; Digits := 50 > minimax(tanh(sqrt(x))/sqrt(x), x=1..10^4, [13,14]); Error, (in numapprox/remez) error curve fails to oscillate sufficiently; try different degrees Thanks, Adnan.

## Definite Integral...

Asked by:
Hi; Is there any way to find a closed form of the following integral by maple, where theta is a real constant. cheers Sayed int(x*exp(-I*x*theta)/sinh(1/2*Pi*x),x=-infinity..infinity);

## Increase Acuracy of Plot3d??...

Asked by:
The problem i have is this, the plot that i am suppose to recieve is one that looks like the 'pointplot3d' below, yet i recieve something which doesn't. Any suggestions as to how to circumvent this? with(plots):Digits:=15: > Omega[0,1]:=.825352549049169: plot3d(MathieuCE(0,Omega[0,1],r*I)*MathieuCE(0,Omega[0,1],theta),theta=0..2*Pi,r=0..1,coords=ellcylindrical,axes=FRAMED); points1:={seq(seq([T/100,2*Pi*S/100,MathieuCE(0,Omega[0,1],2*Pi*S/100)*MathieuCE(0,Omega[0,1],I*T/100)],T=1..100), S=1..100)}: pointplot3d(points1,coords=ellcylindrical, axes=FRAMED, color=red, style=wireframe);
﻿