## 744 Reputation

15 years, 46 days

## listplot...

On thing that you can try is the list plot that is found in the plots package. You could try some thing like the following: plots[listplot]([seq([t^2-1, t^3-t], t = 0 .. 5)]); Scott

## plotting...

In Maple you need the functions that your are plotting to evaluate to a number. Therefore, each of your variables will need to be known to be able to plot it. You can solve the functions and use the pointplot function to plot those points. Scott

## Try the PS/2 connection...

I have found that the classic interfaces of Maple will not accept the wheel movement when the Mouse is plugged into the USB port. If the mouse is plugged into the PS/2 spot, it appears to work. If you have one of those connectors that change the USB to PS/2, you should be able to get the wheel working easily. This must be due to some software difference between the two connections. Scott

## parse...

Once you have read in the number from the text file, it will be a string. Pass this string to the parse() function and assign it to a variable. That variable can then be manipulated as you wish. For example if your text file is called input.txt you could do something like the following: > sinput:=readline("C:\\input.txt"): > input:=parse(sinput): Scott

## 2D input versus 1D input...

The example that that you have given will work if you enter it as 1D Math (not the 2D Math that will give you that error). I would suggest that if you are going to nest an 'if' statement in this form, it is best to use the 1D Math input. For 2D Math input, you can enter that same function in the following form: G := proc(i,j) if is(i,even) and is(j,even) then 1; else 0; end if; end: It appears to be different ways that the parser will treat the input as it is executed. I hope this clears up your confusion. Scott

## parse...

Once you have read in a string that is of a Maple procedure, you can pass it to the parse function. This should output the function that can be passed to a eval statement to get the response. See the parse help page to get more info on this function. Scott

## ETC folder...

If you are having trouble finding this file, it is in the ETC folder within Maple 10. Therefore if you are on a Windows, the default location is c:\Program Files\Maple 10\ETC for Linux/UXIX it could be /home//maple10/ETC where the first part may be different depending where Maple 10 is installed. For a Mac installation it is in the following location /Library/Frameworks/Maple.framework/Version/10/etc Scott

## Plus/Minus...

I am not completely sure what you are referring to since you don't need any special function for the multiplication of the functions/equations. What might be confusing you is that when you are plotting sqrt(x), Maple is only taking the +ve range. Here is a worksheet on how you can get both the +ve and -ve range of the plots. Download file: 185_pmplot.mw (View Live Worksheet on MapleNet) Scott Maplesoft Technical Support

## Maple Notation...

The problem here is that Maple is parsing this the arrow procedure differently when using the 2D Maple notation. If you switch to the 1D Maple, the code will work just as it did for you in Maple 9.5. Scott Maplesoft Technical Support

## textplot...

There is a function called textplot (part of the plots package) that allows you to add some text on point of a plot. You can then combine the textplot with another plot by using the display command. See something like the following: with(plots): p := plot(sin(x), x = -Pi .. Pi): delta := 0.5e-1: t1 := textplot([1/2*Pi, 1, "Local Maxima (Pi/2, 1)"], align = ABOVE): t2 := textplot([-1/2*Pi, -1, "Local Minima (-Pi/2, -1)"], align = BELOW): plotsetup(ps,plotoutput=`plot.ps`); display({t1, t2, p}); Scott

## This appears to be an evaluation issue...

Depending on the exact call sequence of the plot command it may either need a evalf command or maybe Maple is evaluating the evalf command too early. You can get a correct output by creating a function with your equation with an evalf command with it. You can try something like the following: F1 := t-> evalf(eval((2^x/factorial(x))^(1/x), x = t)): plot(F1,0..25000); Scott

You should be able to do this in one line by adding something like the following: > solve(2x-a/x+a - x+3a/a-x = a^2/a^2-x^2 + 3,x); You can make the output a bit more readable if you do something like the following: > x=solve(2x-a/x+a - x+3a/a-x = a^2/a^2-x^2 + 3,x); You should also watch how you write the function especially if you are using 1D input since you input equation was effectively 2x-a/x+a-x+3-x=1-(x^2)+3 Scott

## Plotting a procedure...

The cause of the error is that to pass a procedure to the plot command you need to change the plot call. In your case you should change the plot call to plot('VattR(r,1)',r=1.1..1.2); the single quotes will tell the plot command to hold off the evaluation of the function till the plot command subs in the values of r. There are two examples of how to call procedures in the help page "plot,function". Scott Maplesoft Technical Support

## This has been found...

This bug has been found and the Maple developers are working on a fix for this. Scott Maplesoft Technical Support

## Try turning to turn off Autosave...

If saving the worksheet before executing solves this problem, it is likely the Autosave procedure. I would suggest that you turn off the AutoSaving option. You can turn this off if you go to the Maple 10 menu and click Preferences then uncheck the Autosave option. This bug has been discovered and the Maple developers are working on this. This should solve the problem but saving before you execute the worksheet is good no matter what, just in case something happens. Scott Maplesoft Technical Support
﻿