find all the prime numbers from 1 to 100 using if condition and loop bye maple 9.5
Given a function f(x)=x^2 i would type the following command
how do I get the graph to show f(x) as a dotted line??
thanks in advance
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.
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!!
With mapleSTUDIO you can plot functions in 2D and 3D. Animating your plots won't be a problem any time. This is the easiest way to plot your functions.
You can use it here online on mapleNET or you can download it and run the worksheet on your Computer. For adding new components to this worksheet I will only change the file on mapleprimes, but the name and the URL will be the same. So you should bookmark the mapleNET-URL for using the newest version of mapleSTUDIO. You can also add my Blog to your Feed-Reader, so you will know, when a new version is available.
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)
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];
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?
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.
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.
I'm sorry, this seems like such a trivial question, but how do I input information into Maple on different lines without executing the execution group? For example: Rather than [> EntryGenerators[Add]("NumDigits",[["5", ],["10", ],["20", ],["50", ],["100",]]); I would like to enter it as [> EntryGenerators[Add]( "NumDigits", [["5", ], ["10", ], ["20", ], ["50", ], ["100", ]]); But I can't seem to get a new input line without executing the group. Any help here would be greatly appreciated! Thanks, Joe