## 6 Badges

16 years, 246 days

## Programming and Saving Pictures...

Maple
Hello, I have a script in Maple that generates a function that I want to plot for many different values of one of its paramters. I was wondering if there is a way to construct a program that will make these plots for a number of different values for that parameter, and save these plots as JPEG files each time. for example, I want to be able to do this: 1- epsilon = 0.001 2- run program that generates function 3-save the resulting plot as a JPEG image called epsilon001 4- epsilon = 0.002 5 - run the program again ... and so on. Is there a way to do this in Maple?

## Getting rid of the red arrows...

Maple

If I have two consecutive lines of code and I want to insert a line of code between these two, what I do is I go to the top line and press CTRL J or go to the bottom line and press CTRL K.  This creates a red arrow (the type that indicates a new line in Classic Maple Worksheets), but I'm in the non-classic maple worksheet and I don't want those red arrow there.

## Finding out whether or not a function is...

Maple

If I have a function of R.  I want to find out if there is an R value for which the function is positive.

And if possible, what that R value is.  I graphed the function for a whole bunch of ranges of R values, but there's only so much I can do with graphing.

This is somewhat similar to command in  MATLAB "isreal(p)" which returns true if p is a real number and false if p is imaginary, but instead I want to know if the function is positive for ANY values of R.

## Manipulating Polynomials...

Maple

If I have a polynomial in terms of x, is it possible to extract the coefficient of x^2 easily (without copying and pasting)?

The coefficients of the polynomial are large and ugly and not worth typing out.

If there's no command for getting the coefficient, perhaps I could map my polynomial (which is, say, P=ax^3 + bx^2 + cx+d) to a vector space where x^3 = (1, 0, 0) = v1, x^2 = (0, 1, 0 ) = v2, x = (0,0,1) = v3 and P = av1 + bv2 + cv3 + d.  And then the coefficient of b would be the dot product of P with v2.  But I don't know how to do this either!

## saving worksheets?...

Maple

I have a worksheet saved, but if I try to continue where I left off, Maple has forgotten what all the variables mean and what their values were.

It's not like I have to retype everything - the commands are still there - but I have to press enter about a hundred times to reenforce what the meanings of all the variables were.

Is there a way to save it in such a way that you don't lose such information?

 4 5 6 7 Page 6 of 7
﻿