MaplePrimes Questions

In exercise is Trees-- How do I use the breadth-first search algorithm to find a spanning tree for a connected graph. (Start with A, and use alphabetical order whrn there is a choice for a predecessor). So the bottom line is I have a graph and listed in the text and I want to import it in maple in order to figure out the above info. I have used the command prompt but none seem to have what I am looking for. I am a new user, I have tried to modify preset graphs, however I need to have the ability to determine data from my graphs. Please provide help. I am also trying to use the (ISTREE) function but it still does not provide me with the data I am looking for.
I got a set of instructions that i need to compute but i cannot put it all to work like one program or algorithm. i can only put it in bits. I have figured out how to put in Bessel function of a first kind, then how to derive it and few other things. But I am having trouble putting it all together. It isnt connecting for some reason. I assign name and then sub. I guess I don’t know how to do the algorithm. Maybe some other stuff is wrong. Im not sure. I hope someone here can help me perform these computations. I am at a beginner lever and hope you guys can help me out here. At the moment I have access to Maple7. Somebody from the department may help me get Maple11.
I want to use Compiler:-Compile for a function with a numerical vector v:= [1.0,2.0,3.0,4.0]; as initialized variable. The help refers to CodeGeneration/Details where it says: "The CodeGeneration functions can analyze some rtable type declarations and constructors within procedures. Data types, dimensions and ranges are recognized, but most options are ignored. The only initializer accepted is a list. Dimensions and ranges must have integer values ..." I did:
foo:=proc(x::float)
local v::Vector(1..4,datatype=float[8], order= Fortran_order);
v:= [1.0,2.0,3.0,4.0];
return x*v[1];
hi.. if i have the command like this(below), how can i plot histogram in a range (0..1)? data1 := (RandomTools:-Generate)(list(float(range = 0 .. 1, method = uniform), 100)) after that, how about the source code for random generator in maple10? can anyone help me? thanks...
hi! Can Somebody tell me how to implement the equivalent of Mathematica's Split function with two arguments: Split[list] splits list into sublists consisting of runs of identical elements. Split[list, test] treats pairs of adjacent elements as identical whenever applying the function test to them yields True in Maple. Thanks, Raj
Hi! I'm trying to plot a graph of (u^2/sin^2(k))-(v^2/cos^2(k)) where the value of k varies. i've found the kind of command that plots multiple lines on the same graph: plot({seq((x-k)^2,k=0..5)},x=-10..10); but am not sure how to change it to produce a graph with multiple lines on for my function which has both u and v that vary. Thanks
Hi I need to animate the Screw of Archimedes using maple, I tried animate3d and insequence=true and both don't work. This is the screw. plot3d([a*cos(x),a*sin(x),3*x],a=-15..15,x=1..8*Pi,axes=framed,scaling=constrained,color=gold,numpoints=4000,style=patch); This is the center cilinder. with(plots):plot2:=implicitplot3d([x^2+y^2=40,z],x=-15..15,y=-15..15,z=1..24*Pi,axes=framed,color=yellow,numpoints=5000); I should also make a function that "lays" on the screw, and a point should be visible going upwards, this should make the water that gets pumped up by the rotating move.
Need help pointplotting series of curves. thanks, TL

Maple Equation

Maple Equation

Maple Equation

Maple Equation

I have a long file and i would like to only pick up some parts to run sometime. Does anybody know how to change multiple commander lines to miltiple comment lines? What i know is that # can change one commander line to comment line. Thanks a lot!
Hi, all! Perhaps this is an obvious question for experienced users, but it's given me some trouble as a newbie... many thanks for anyone who can help me with this... I'm trying to find a way to return the indices of a selected subset of an array (or matrix, or whatever, I'm not picky.) Here's a simple example of what I'm talking about. Here's some actual Maple input/output that I ran:
> foo := Array( 1..10 , i -> i ) * 2;

           foo := [ 2 4 6 8 10 12 14 16 18 20 ]

> bar := select( x -> ( x mod 3 = 0 ) , foo );

           bar := [ NULL NULL 6 NULL NULL 12 NULL NULL 18 NULL ]
This is my system: rho * diff(diff(delta(x, y, t), t), t) = (y ^ 2 / 0.2e1 - d ^ 2 / 0.8e1) * Y * diff(diff(diff(diff(xi(x, y, t), x), x), x), x) + (((2 * G + lambda) * v - lambda) * diff(diff(xi(x, y, t), x), x)) + 0.16e2 * Q(t) ^ 2 * y * (d ^ 2 - 0.2e1 * y ^ 2) / d ^ 4 / b ^ 2 / l ^ 2 / e; diff(delta(x, y, t), y) = v * y * diff(diff(xi(x, y, t), x), x); i = 0.8e1 * Df * Q(t) / d ^ 2 + l * Lp * (int((2 * G + lambda * (v - 1)) * diff(diff(xi(x, y, t), x), x), x == (0..b)) + Y * d ^ 2 * int(diff(diff(diff(diff(xi(x, y, t), x), x), x), x), x == (0..b)) / 0.12e2) + diff(Q(t), t); My objective is to obtain the expression of delta,xi and Q to the space coordinates(x,y) and time,t.The other letters are constants. Can the maple do this? I try with pdsolve but obtain this error:
I have a function with two arguments and want -- as the first argument gets fixed -- to transform it to a function with just one argument. The difficulty is that I use for the function definition the same symbols as in the worksheet where those symbols are assigned to numerical values. The main problem is, as the following minimal example shows, that the variable A is not evaluated during the definition of function g(). > a:=1: > b:=2: > f:=(a,b)->a+b; (a, b) -> a + b > A:=3.5: > g:=b->f(A,b); b -> f(A, b) > g(0); 3.5 # O.K. > A:=4:
I want to creat a Matrix A with every emement in A Digits:=20,How can I do?A:=Matrix(n,n,?) waiting for your help!
Hello, I have a simple problem of the type; x = L(x)*x Where x is a column vector (2) and L(x) is a 2 by 2 matrix (function of x). I want maple to solve this equation for x. I just don't know what is the function to do this ("solve" doesn't work).
how can i import data from an excel spreadsheet into maple10? (please don't tell me i can only to it with maple11). cheers, jake
First 2259 2260 2261 2262 2263 2264 2265 Last Page 2261 of 2354