Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi. I have an excel data file.

IDEALLY, I want to import the results of the formula in cells C3:C7.

But it doesn't like it. Reports 0's

When I convert the range to result to values in cells D3:D7 it imports no problem. But I don't want to do this step.

any ideas?

Book1.xls

import.mw

 

 

 

Lett_L_rot_AL_MapleQuestion.mws

If the attached program is run, at the end are two animation outputs.  One is of two letters A; the other of the single second A being animated.   The second letter A animation works fine, but in the former it "blips" on Continuous animation, and on 'single cycle' the A totally disappears.  I'm using the same number of frames, 48, for each. 
   Prior to that is the letter L which is meant to give the illusion of it rotating, and the letters A getting out of the way.

   Any help on ridding the "blip" most appreciated. 

 

Hello, 

I study mainly subjects that fall under umbrella of number theory, but i have specified a little further in the worksheet. This is really a request for assistance, because in as much as i have met so many brilliant people online via social media etc,  I would always love to meet more, and especially ones who are more experienced in this field. 

 

Basically i am too cheap and old to think about going to a good university, so I am trying to get free advice from the people who have probably completed doctorates in the relevant field. Got to be honest I say.

 

Anyway my contact email is at the top of the attached worksheet.

 

First thing that stood out to me about the distributions produced in this worksheet is how sparse the number of points is for N=17 relative to all the other values of N.

EXAMPLE_FOR_MAPLE3.mw

 

Edit: Another example worksheet added.

MAPLE_EXAMPLE_13.mw

Hello, 
I have this code to solve partial equation, and I need to writdata in file .dat or.txt using table and loops or if there is another way 
Any help please,
Thank you 

 

``

restart

``

eq := diff(Tf(x, y), x) = diff(Tf(x, y), y, y):

Cl := {1 = Tf(0, y), (D[2](Tf))(x, 0) = 1, (D[2](Tf))(x, 1) = 1};

{1 = Tf(0, y), (D[2](Tf))(x, 0) = 1, (D[2](Tf))(x, 1) = 1}

(1)

``

pds := pdsolve(eq, Cl, numeric);

_m221385792

(2)

``


 

Download mapleprime.mw

is there a command line method for exporting plots as jpg files and gif files?

How do I create a wave in Maple such that the end which the wave hits of (fixed boundary condition) is formed of triangles rather than just a straight line. I have, 

with(plots):

animate(plot3d,[sin(Pi*(t-x))sin(Piy)Heaviside(t-x)-sin(Pi(t+x))sin(Piy)*Heaviside(t+x),x=0..4,y=0..1],t=-2*Pi..2*Pi);

Would I have to create a whole new formula or can I just add something to the code to give this different boundary? Or maybe I can use a different software other than maple, I just want to know which directions the waves will travel when they hit a ridged surface.

 

Say I wanted to create a five sides polygon, so the wave hits these two boundary conditions so i can see what happens next. (I added the two black lines in paint so it was easier to visualise)

How to translate the elliptic curve from the 4th to the 3rd curve with maple?

thanks.

 

Hi, I am using fsolve to find the roots x of a nonpolynomial expression f(x,a) = 0, using a loop for do to vary the values of the parameter a in small identical steps. At some stage, fsolve cannot find a solution. According to the Maple help, in this case fsolve returns a NULL sequence. I would like to know how to use the fact that fsolve cannot find a solution to break the loop with an if-then statement. 

How can plot  f := proc (x, y) options operator, arrow; sin(x)*cos(y) end proc

as surface and contour (contour is project on xy plan)

HOW I can find the function that satisfies these boundary conditions?

please help me.

Thanks

FUNCTION.mw

Download FUNCTION.mw

 

Hello!

I am trying to find a minimizer for the functional E (see Maple code), where u is in L2([0,rmax]) (Constraint) and u is approximated by a finite set of fourier coefficients in the basis {n*exp(ikx)}.

I don't have much expirience with maple so I could use some help solving this.

The codes I tried either show an erroer( unexpected parameters) or run a very long time until I interupt.

Do I have something wrong or can I reformulate the problem?

Thank you!

Kainmuth

 

Minimizetest2.mw
 

restart

``

with(Optimization);

[ImportMPS, Interactive, LPSolve, LSSolve, Maximize, Minimize, NLPSolve, QPSolve]

(1)

rmax := 20;

20

(2)

n := 1/sqrt(rmax);

(1/10)*5^(1/2)

(3)

const := abs(c1)^2+abs(c2)^2+abs(c3)^2 = 1;

abs(c1)^2+abs(c2)^2+abs(c3)^2 = 1

(4)

f := proc (x) options operator, arrow; n*c1+n*c2*exp(I*x)+n*c3*exp((2*I)*x) end proc;

proc (x) options operator, arrow; n*c1+n*c2*exp(I*x)+n*c3*exp((2*I)*x) end proc

(5)

E := proc (c1, c2, c3) options operator, arrow; int(abs(diff(f(x), x))^2, x = 0 .. rmax)+.5*(int(abs(f(x))^2*w(x-y)*abs(f(y))^2, x = 0 .. rmax)) end proc;

proc (c1, c2, c3) options operator, arrow; int(abs(diff(f(x), x))^2, x = 0 .. rmax)+.5*(int(abs(f(x))^2*w(x-y)*abs(f(y))^2, x = 0 .. rmax)) end proc

(6)

Optimization:-Minimize(E(f(x)), const);

Warning,  computation interrupted

 

``


 

Download Minimizetest2.mw

 

Dear all , I' would like to join a group to produce quantum information tools in Maple

 

Is there any way to get random numbers in Maple with the Sobol method?

Thank you.

How to make Maple determine whether the following is a sequence with a rule behind it or just random fractions:

3^893/2^1415, 3^1040/2^1648, 3^2192/2^3474, 3^3776/2^5984, 3^3910/2^6197, 3^5514/2^8739

equation of ellipse

eqn := (1/32)*(x-16)^2+(1/2025)*(y+0)^2 = 1

only interested in the positive section

plots[implicitplot]([(1/32)*(x-16)^2+(1/2025)*(y+0)^2 = 1], x = 0 .. 18, y = 0 .. 60, scaling = constrained)

equation for arch length of function

int(sqrt(1+(diff(eqn, x))^2), x = 0 .. 16)

Doesn't seem like the best way to solve this.

Wanting to generate a general fomula I can then use in excel to calculate the arch length of the positive only section of the ellipse

any ideas of what the assumptions could be to have maple solve this?

 

eqn2 := (x-h)^2/a^2+(y-k)^2/b^2 = 1;
                               2          2    
                        (x - h)    (y - k)     
                eqn2 := -------- + -------- = 1
                            2          2       
                           a          b        
                             "(->)"

     [[                                            (1/2)]  
     [[          / 2  2    2  2      2        2  2\     ]  
     [[    a k + \a  b  - b  h  + 2 b  h x - b  x /     ]  
     [[y = ---------------------------------------------], 
     [[                          a                      ]  

       [                                            (1/2)]]
       [          / 2  2    2  2      2        2  2\     ]]
       [    a k - \a  b  - b  h  + 2 b  h x - b  x /     ]]
       [y = ---------------------------------------------]]
       [                          a                      ]]

eqn3 := (a*k+sqrt(a^2*b^2-b^2*h^2+2*b^2*h*x-b^2*x^2))/a;
                                                     (1/2)
                   / 2  2    2  2      2        2  2\     
             a k + \a  b  - b  h  + 2 b  h x - b  x /     
     eqn3 := ---------------------------------------------
                                   a                      
diff(eqn3, x);
                           2        2                
                        2 b  h - 2 b  x              
          -------------------------------------------
                                              (1/2)  
            / 2  2    2  2      2        2  2\       
          2 \a  b  - b  h  + 2 b  h x - b  x /      a
`assuming`([int(sqrt(1+(diff(eqn3, x))^2), x = c .. d)], [a > 0, b > 0, c >= 0, d > c]);
 

First 857 858 859 860 861 862 863 Last Page 859 of 2231