Hi all,
Given two functions f(x)=x^2-1 and g(x)=2x+1 we can plot the following command
restart:f:=x^2-1:g:=2*x+1:plot([(f),(g)],x=-2..4,y=-2..8);
We have a local extreme of -1. Which command should I use to give me the local extreme where -2 <> 2??
Thanks in advance

find all the prime numbers from 1 to 100 using if condition and loop bye maple 9.5

Hi,
Given a function f(x)=x^2 i would type the following command
restart:f:=x^2:plot(f,x=-10..10,y=0..10);
how do I get the graph to show f(x) as a dotted line??
thanks in advance
Robert

Hi to all.. Maybe a beginner's question: How to configure Maple to automatically execute a worksheet as soon as it is loaded? I use Maple 8 on Windows XP and don't want to do Edit/Execute worksheet. Maple is opened via an external batch file. Also, that worksheet produces a graphic file. How to modify the worksheet so that the graphic is automatically saved in a c:\Picture directory after being produced? Thanks for your kind help, Pierre

Hi, I am using Maple to carry out some structural analysis of a beam member. Now, i am facing with a programing problem and I need your help desperately. The beam member being studied can either be in tension or compression. Compressive or tensile reponses are governed by an equilibrium equation and whether or not this equation produces a valid solution. At first, the member is assumed to be in compression and compressive reponses lead to the equilibrium equation. If this equilirium equation does not produce any solutions then the initial assumption is incorrect and the tension case is considered. My problem starts here. I want to make the program switch automatically between compression and tension cases but I dont know how to construct the 'switching criteria' which is " the equilibrium equation does not produce any solution"..So my questions are:

I currently have some MathMLViewers in my maplet and I don't want them to have vertical scroll bar at all times. Does anyone know how to switch vertical scroll bar off for MathMLViewer?
Also, is any way that I can have two windows dispaly at same time so I can change window focus by clicking window?
Last question, is it possible to display multiple items in ListBox by using
Set("ListBox_Name"('value') = blah, blah, blah);
Looking forward for your respond, thank you.
Tracy

Hi, All, I am calculating the staircase fraction ...............................1 ..........f(n) = 1 + ------------- .................................1 .......................2 + --------- ...................................1 ...........................3 + ----- ................................4 + x ........................................x ............................................x ................................................n (I have to use the dots to fill the space, all below input format deblank the front space) I have no idea on how to write a loop to calculate this.

Is there a link to download a demo copy of Maple 10? THanks!!

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

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

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

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

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.

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

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