Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
eqn :=-p*(l^2-a^2)^(3/2)+a^3*q; l is letter not number if want to find a .....a =??......plz use maple to find the answer i use hand to do it, so the answer is a = (p^(1/3)*l)/sqrt(p^(2/3)+q^(2/3)); but i use Maple it gave me different answer.... so plz help!

This is a program discribing the dynamic behavior of a N pendelum system. When I tried to comparae the result of different initial conditions, I found that every time i run it, the graph will be different.

I know that double pendelum system is a typical chaotic system, is this the reason why i have different result for each time?

Here I attach the file, but plz rename it to ***.mws file before run, b/c i wrote it in maple classic worksheet.

> restart:
interface(warnlevel=0):
with(SolveTools):with( plots ): with( plottools ):
with( DEtools ): with( PDEtools ):
g:=9.81:
x[0][2]:=0:
y[0][2]:=0:
#initialization function of each beam,in this function, we should give 3 variables, n=the number of this #beam, la=the length of this beam, ma=the  mass of this beam,q=the initial angle of the beam,and qt=the initial angle velocity of the beam
beams:=proc(n,la,ma,q,qt)
global l,m,x,y,theta,icq,icqt:
icq[n]:=theta[n](0)=q:
icqt[n]:=D(theta[n])(0)=qt:
l[n]:=la:           #length of  beam n
m[n]:=ma:           #mass of beam n
#initialize the positions of each beam
x[n][2]:=0:        #the x position of the end point of each beam
y[n][2]:=0:        #the x position of the end point of each beam
x[n][1]:=0:        #the y position of the center point of each beam
y[n][1]:=0:        #the y position of the center point of each beam
end proc;
#define the forces that applied on the end of  beam n
Force:=proc(n,fm,fn)
global fx,fy:
fx[n]:=fm:
fy[n]:=fn:
end proc;

I'm having difficulties in using the Heaviside function in Maple. My heaviside function is (t-tau), and I'm having trouble integrating tau from zero to t. After integration, the expression still shows an integral. Is it because when tau = t, the heaviside becomes zero? Any and all help is appreciated. Attached is the actual sheet. The 2nd to last and last steps are the steps or concern.... **** This problem has been overcome *****
How do use an equation to create a list/array?

e.g y=x*5+1

for x from 0 to 1 in increments of 0.1

answer should look similar to:
[0,1]
[0.1,1.5]
[0.2,2]
[0.3,2.5]

Has anyone been able to use the statopts option in the Bootstrap command which is in the Statistics package in Maple 10? Note the following sequence of commands > with(Statistics) > Bootstrap('Mean', [1, 2, 3, 4, 5], replications = 6, output = array) print(Matrix(1, 6, {(1, 1) = 2., (1, 2) = 3.39999999999999990, (1, 3) = 2.20000000000000016, (1, 4) = 2.79999999999999982, (1, 5) = 3.60000000000000008, (1, 6) = 2.20000000000000016})); [2., 3.39999999999999990, 2.20000000000000016, 2.79999999999999982, 3.60000000000000008, 2.20000000000000016] According to the documentation which is attached as a PDF file it appears that this command should work.
Does any body know if there is a function like interp1 available in Maple or at least what is the easiest way of establishing a look-up function in Maple. I have a n*2 matrix of data (x, and f(x) in each column) and I would want to interpolate data from this matrix. This is actually one of the applications of interp1 function in MATLAB...
I'd like to gauge interest in an online session on authoring Maple documents using new features in Maple 10: document blocks, embedded components, tables, autoexec code, task templates, embedded assessment, 2d math, etc. Would you participate in such a (free) session? -Laurent
Similarly to searching of digits of π, Maple can access other Internet resources. In particular, here is an example of accessing MAGMA through William Stein's online SAGE/MAGMA/PARI calculator,
Will mentioned in his blog a problem of finding the first occurence in π the given sequence of digits - a birthday, for example. It can be done in Maple through the search engine at http://www.angio.net/pi/piquery as follows,
Hello dear Maple users! I have the following problem that I am trying to solve with maple. I have a set of data points (i made these up for now, the real set has more points) x:=( 1,2,3,4,5,6,7,8 ) y:=( 1,2,3,4,5,6,7,8 ) z:=( 3,1,3,2,4,7,7,9 ) Now, I know how to surface fit this and get maple to formulate an equation for z=f(x,y) with the following statement: w:=(Statistics:-Fit(a + b*x + c*y + d*x^2 + e*x*y+f*y^2,
Hi. There is a command called genvecs in mathcad and i wonder if there is something similar in maple. Or can somebody tell me how to make the same in maple. Regards M
has someone a sheet about percolation theory ? I put a very simple one on my blog: percolation
Can maple do this ? and how .... I know you can do the graph, but I need to know if maple can do my problem. ex: Y(t+1) + Y(t) = (-1)^t and y(0) = 2
Hello,

I am looking for an explanation for the following behavior :

> f := proc(x) somefunc(x) end proc:
> a := table([variable=z]):
> f(a);
somefunc(a)
> f(a) assuming z::real;
somefunc(table([variable=z]))

Why is 'a' replaced with its corresponding table in the second case? And is it possible to use the name 'a' in the return value?

-- Thanks for any reply,

Franky.
Hello!

I´m Trying to do numerical integration for a function defined by a product of characteristic functions. I either receive the message " Error, (in unknown) too many levels of recursion " or "error, (in evalf/int) unable to handle singularity". What should I do?

f_1:=(x,y,z,w)->piecewise(x+w > 0 , 1);
f_2:=(x,y,z,w)->piecewise(x*w - y*z > 0,1);
f_3:=(x,y,z,w)->piecewise((x+w)^2 - 4*(x*w - y*z)<0,1);
prod:=(x,y,z,w)->f_1(x,y,z,w)*f_2(x,y,z,w)*f_3(x,y,z,w);

I want to integrate prod, with all four variables ranging from -1 to 1.

Thank you, Bernardo

First 2204 2205 2206 2207 2208 2209 2210 Last Page 2206 of 2215