Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
I want a function depending on n1 and n2, and a1 and a2, more or less in the following way: sum( sum( ((if ((j1*k1/n1 +j2*k2/n2+k2/n2 > 1/2) &and (j1*k1/n1 +j2*k2/n2 >1/2)) 1 else 0), j1=0..n1), j2=0..n2). How do I write in maple the previous expresion?. That is.. how may I write MYfunction( n1, n2) = sum( sum( BOOLEAN , j1=0..n1),j2=0..n2); where BOOLEAN stands for terms involving j1,j2,n1,n2 and other "constants"? Thanks in advance! Jacques
several beams are connected by gemel one after another, the 1st is fixed at one end on the roof, and the last is driven by a force(fx,fy vector summation) at the end point. i am using lagrange method for the virtual displacement of angle theta[i] , and momentum balance in 2 direction (x,and y)to build the model. in the last step, i got an ODE system of 2nd order, but i cant code in maple to solve it. i think it is solveable, (6 equations, 6 unknowns). Kindly let me know how to write the code to solve it! below is the code.

> restart:
interface(warnlevel=0):
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
beams:=proc(n,la,ma)
global l,m,x,y:
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:

Consider the task of sorting a list of complex floating-point numbers by magnitude. First Attempt The usual method to do this in Maple is with the sort procedure. By passing a boolean-valued function that computes then compares the magnitudes of two complex numbers, we can sort the list. The following procedure shows how this is accomplished.
sort1 := proc(L)
    return sort(L, proc(z1,z2) abs(z1) <= abs(z2) end proc);
end proc:
A disadvantage of this approach is that the absolute-value procedure is called twice every time a pair of numbers is compared. For a long list, the time spent in the absolute value routine dominates the computation time.
Is there a way to do a Symbolic Computations under Max-Plus Algebra? For instance, linear algebra computations under under Max-Plus Algebra. I would like to appreciate any comments on it.
I need to search for primitive polynomials of degree n over finite fields GF(q), where q is a PRIME POWER. I have major difficulties doing that, especially when I wish to fix one of the coefficients of the polynomial. On the other hand, polynomials over GF(p) pose no problem. Does anybody have any experience in this? PLEASE HELP!
Hi there everyone. I have recently been trying to plot fourier transforms. After taking the fourier transform of a particular function of the time domain for example a sinusoid. I get a sum of terms each with a translated Dirac function. When I try and plot the series of Dirac functions it doesnt work in the sense that there is nothing displayed. The plot initializes but there are no Dirac functions. Is there a way to plot Dirac Functions? thanks
Dear Maple Users, I have the following problem: How to find the best-fitted function P(x,y) = ax+by+cxy+d to the following data: i= 0, 1, 2, 3, 4 , 5 , 6 , 7 xi= 150, 152, 154, 156, 156, 157, 158, 158 yi= 134, 136, 106, 61, 90, 124, 41, 135 I know that in Maple functions that can solve interpolation and approximation problems with one variable are implemented. But how to solve the problem with two variables? Best regards, Wieslaw Kotarski kotarski@gate.math.us.edu.pl
Hi to everybody I'm a new user of Maple How can I solve this system? > eq1:=1039.44*Diff(Diff(ck(r),r),r)+80960*Diff(ck(r),r)*Diff(p(r),r)+80960*ck(r)*Diff(Diff(p(r),r),r)=0; / 2 \ | d | / d \ / d \ eq1 := 1039.44 |---- ck(r)| + 80960 |--- ck(r)| |--- p(r)| | 2 | \ dr / \ dr / \ dr / / 2 \ | d | + 80960 ck(r) |---- p(r)| = 0
hi everyone , please help me to sort out this problem ... suppose i have a matrix 1 2 3 ? 2 ? 2 1 6 where ? are unknown values . what i want to do is to "Fill in the missing values by the respective attribute means. " How i will do it matlab? please help me as soon as possible ...
I have been experimenting with overloading existing Maple functions by creating an appropriate package, as described in the "overload" help. It works fine in general. I was hoping to change the definition of `abs` on type Vector to be sqrt(V . V) in this way, but the change does not work because `abs` already has an alternative definition on this datatype and it seems that built in functions take precedence over overload versions that one has added. Is there any way of achieving this? Grateful for any pointers.
Maple usually has white background and red font. How to set font black and background color in light grey? Should I use "Format"--"Styles"? But why each time when I build new file I lost the previous style setting?
weights in Statistics[NonlinearFit] within M10:

what does that do exactly - stupid me can not find from the help
saying "weights = Vector -- Provide weights for the data points"
Does that mean the points are weighted (i e the count multiple)
or does it do (fct(x_i) - approx(x_i) )^2 / weight_i or what?
If i save a sheet in M10 and open it then it shows tildes
dispite having interface( showassumed = 0 ) in my ini file.
In M9.5 that was ok (using WIN ME in both cases, classical
interface of course ... and having asumptions in the sheet)

How this ugly behaviour can be avoided?

Trying to calculate the determinant of matrix A i have to add extra details to the function (integer) to get result (for example): Det(A) - does not work for me, but - Det(A) mod 10000 (or 10^n); - does and gives the result (honestly it took me a while to get it clear, i mean to get Det(A) work). I think it's not the way it is supposed to work. In help it's simply clarified that Det(A) function should give the result of determinant of matrix A, without any additional integers like mod :/. I can't figure out this riddle.. (i've started using maple 3weeks ago, and mostly for algebra and geometry). Any help pls? Do i have to change any settings? Tnx, in advance =).

I want to know how to send mails to multiple email addresses using PHP code. Thanks. http://www.hytechpro.com
First 2156 2157 2158 2159 2160 2161 2162 Page 2158 of 2164