## Plotting from a data file...

Hi there. I'm trying to make a 3d pointplot by calling an xyz .txt file. It's for a simulation I'm running in Maple, but with results that need to be viewed with gnuplot. It's simply easier to interact with the plot in Maple while I'm still building the code. The data looks something like below (okay, what you see isn't monospaced, so it doesn't line up as nicely as I had in the original post. You get the idea though - first number is x, the next is y, the other is the intensity): (x) (y) (intensity) #these titles aren't actually there 0 0 1 0 1 2 0 2 3

## non-linear equations...

Is it possible for Maple to remove non-linear terms from an equation? I want to use taylors therom on F(V+v, S+s) and get the answer back without its non-linear terms. (N.B. V,S are constants and v,s are variable) cheers gillersuk

## Steepest Descent Method...

Hello, My name is Kostas and I am new in the forum. I am new in Matlab as well. I am trying to get some advice in executing a code that I found on a book "Numerical Methods using Matlab". The code is as follows: function [xo,fo] = opt_steep(f,x0,TolX,TolFun,alpha0,MaxIter) % minimize the function f by the steepest descent method. %input: f = ftn to be given as a string ’f’ % x0 = the initial guess of the solution %output: x0 = the minimum point reached % f0 = f(x(0)) if nargin < 6, MaxIter = 100; end %maximum # of iteration if nargin < 5, alpha0 = 10; end %initial step size if nargin < 4, TolFun = 1e-8; end %|f(x)| < TolFun wanted

## lists...

How do I append lists? An example is a1:=[1,2,3]; a2:=[4,5,6]; Desired result is [1,2,3,4,5,6]. Now I a3:=[seq(a1[i],i=1..3),seq(a2[i],i=1..3)]; That is not very elegant. Also how do I find the dimension of a list? Like dimension(a1); 3

## How do I find where to lines intersect?...

Hi again people, I have just another little quick question and that is if I graph two polynomial functions on an interval is there a way to find where the two polynomial intersect each other? Can it be done without graphing? Again I need accuracy to 3 decimal places. Thanks again.

## How do I get maple to do a higer order derivative?...

Hi people, I am actually taking a maple practice test and am wondering how would I go about doing a higher order derivative of this function. f(x) = sin(x^2/(x^10+2))*e^(2*x) I would like to find the 8th deriavtive at x = 0 to 3 decimal places. The answer is 112.000 but i would still like to know how to solve it as in the real test there will be one just like it. If someone could give the algorithm that i would put it in that would be great. Used the help feature but it was not all that helpful. Thanks in advance. Tabish

## Maple is not recognizing greek-alphanumeric symbol...

Before I upgraded, I would input Δx:=2 and Δx would be a single variable. Now I input Δx:=2 and I get "Error, illegal use of an object as a name" If I input Δx [enter] it returns Δ x as though they are multiplied. How do I input greek-alpha combo variables again? Thanks for any help. BE

## Restrictions of parameters fit ??...

Hi, I have a problem with fit parameters restrictions. I would like to give restrictions of the parameters of my fit in order to get the best fit parameters, but the "parameterranges" seems to be not in function. my function is following: > y1 := piecewise(0 <><>

## Writing ODEs in text...

I'm trying to write a document in Maple 10 that includes some ODEs. I want these to be either text or math inputted in the form dV/dt = V [f(S)-r] (where V is a function depending on t and f is a function dependent on S that I want to introduce later in the document). It would be good if they could be inputted in math form so that they have labels but ideally i want them in a clear non-Maple form like above rather than somthing like V'(x)= V(x)*[f(S) - r] which is what I keep getting (or other similar things like it including Maple solving V'(t) and outputting zero which is not at all what i need)

## subs issue....

I am trying to use the subs command to take a general solution to a differential equation and apply some numerical values. I can't seem to get the system to recognize the values I am substituting for. Consider the following: m*diff(y(t),t,t)=-m*g+sigma*A*diff(y(t),t); (1) y(0)=h,D(y)(0)=0; (2) dsolve( {(1),(2)} ); (3) subs( {A=2,m=50},rhs((3)) ); Everything works fine. If, on the other hand I impose any kind of constraint on A or m in the original equation then the substitution fails (nothing happens). Clearly the system has tagged the value for A and m as something other than their original name. Since the system doesn't report this name change how can I make substitutions after a symbolic manipulation like this?

## Have a 2d plot of a 3 variable polynomial?...

Hi, I'm new to Maple so please forgive me if this seems really easy but I can't seem to find it in help anywhere. Basically, I have an equation that is a function of x, y, and t (where t is time). Instead of a 3-D plot, I would like to display a 2-D plot with x-axis and y-axis and have 5 lines of the equation at various intervals of t (t=0, t=1, t=3, t=5, t=20, etc.). Thank you very much for the help, KC

## Saving Plots from a Maplet...

Does anyone know if there is a way to save plots in a maplet? The following does not produce the expected .ps file: