MaplePrimes Questions

Hi, my procedure takes about 163 sec to calculate the list. Are there ways to accelerate this (except lowering the amount of points) ? Does my 4 core processor have an advantage here ?

restart;
f := rsolve({s(1) =0.3, s(n+1) = a*s(n)*(1-s(n))}, s, makeproc):
g := (n, i) -> eval(f(n), a = i):
t := time(): L := [seq(seq([i, g(k, (1/320)*i)], i = 800 .. 1280), k = 200 .. 300)]: time()-t;
 

#leave the plot out if you want

I have to create a procedure that decodes an encoded message using a 2x2 matrix and a row vector.  (Alphanumeric is a 95 character string)

So far I have A:=Matrix(2, 2, [[17,22], [4, 53]]); B:=Vector[row]([19,82]); as my two matricies, and have writtten this as my proc:

 

This a sample program that I wrote which is supposed to test a function that I wrote "proj" to project a function onto a basis.  In particular, in this example I use a Fourier mode.  When I project a function which is a sum of two terms I get an incorrect answer.  When I project each term I get the correct answer.

Any ideas why this yielding an inconsistent result?  Also, if maple has it's own version of proj that is more stable I'm happy to use that.

For a given galois field, suppose there is such a polynomial function mapping from GF(q) to GF(q):
x^(q+m)+x^(q+m-1)+x^(q+m-2)+...+x^(1).
I can use x^q-x=0 to "reduce" it to such the following form:
x^(q-1)+x^(q-2)+x^(q-3)+...+x^(1)

now, the problem is whether this is the only method (x^q-x=0) to reduce a polynomial function mapping from GF(q) to GF(q)?

Thanks a lot.

Hi, what are possible ways to exchange data between Maple and solidworks ? Assume i have a Matrix -created in Maple- that contains 3d data for a CAD model. Is it possible to pass this data to solidworks ?

 

Thanks

 

# I want to maximize the following function:
((2*c+a-d-2*b)*delta-(1/2)*c+(1/2)*d-b+a)^2/(9*b-9*a):

# under this constraints:
b-a >= c-d:
c-d-b+a <= (2*b-a-2*c+d)*delta:
(2*b-a-2*c+d)*delta <= 2*b-2*a-2*c+2*d:
a = x[min] .. b:
c = d .. y[max]:

# and I have the following values:
x[max] := 10:
x[min] := 0:
y[max] := 10:
y[min] := 0:
delta := 1:
b:=2:
d:=5:

# I have tried to find the maximum with NLPSolve and the option 'maximize':

I have 5 matrices, Hmatrix[1], and so on.

I can test

map(IsDefinite,Hmatrix)

Maple gives the 5 answers.

How can I test using map the negative_semidefinite property?

Thanks.

Hi how to calculate improper integrals with the tutors and (if possible) showing the procedure step by step? Let’s take my homework as an example. Calculate: > int(1/((1+x^2)*(1+4*x^2)), x = 0 .. infinity);  

Hi, is there a detailed list of differences between those 3 product lines of Maple ? Maybe additional packages for the pro version  ? Are worksheets, created with one version, completely compatible to other ?

 

Thanks

Hi,

 

I am kind of new with using maple, and I am hoping that someone can give me some help on nonlinear curve fitting.  I checked out the help topics, and I thought that I had put everything in correctly, as per the help file.  However when I try to do a fit to data, nothing is returned.  Here is what I have input:

 

So, I have r^3=1/64. I need help finding r

Hi all, I'm not good at maple, so need a help from experts. I'm using Maple v.12. -part of the code- ... de2:= # Nonlinear DE is here # ics:= X(0) = 1, (D(X))(0) = 1; sol:= dsolve({de2, ics}, numeric, method = rkf45); (or sol := dsolve({de2, ics}, x(t), numeric, stiff = true, range = 0 .. 200);) Error, (in f) unable to store '1.0000000024691*{1.}^2+2000010000.' when datatype=float[8] -end of the code- As you see above, It's a simple process to solve DE. so most of the DE, like (1) below, is solved very well through the code. But my case is (2). I could see error msg as you see above.

Good day, I cannot run this maple, why?

I need help!

I'm trying to plot a sphere, and then shade-in the bottom one-third of it.  Is that possible?

Also, I then need to plot a sphere with 8 approximating disks.

Does anyone have any ideas of how to do these?

First 2142 2143 2144 2145 2146 2147 2148 Last Page 2144 of 2428