MaplePrimes Questions

I can't undersand, how I can create linear actuator model in MapleSim and to add it in 3D-visualized project. (Like this, for example: http://www.hiwin.com/images/lai2_series_linear_actuator_large.jpg).

Can anyone share an example of such task or explain to me?

It is possible without electric motor and transmission.
An example of translational motion with a certain force will suffice.

Thank you in advance for your cooperation!

I'm writing this procedure to calculate a Julian date:

JD := proc (YY, MM, DD)

local A, B, z;

if MM = 1 or MM = 2 then

YY := YY-1; MM := MM+12

end if;

A := floor((1/100)*YY);

B := 2-A+floor((1/4)*A);

z := evalf(floor(365.25*YY)+floor(30.6001*(MM+1))+DD+1720994.5) end proc;

If I type:

JD(2018, 1, 11);  I get
Error, (in JD) illegal use of a formal parameter.

I cannot see where the illegal use is or why I get this message. I don't think I use anything out of the ordinary.

Could you help me please?

 

Thank you

 

Hi all!
I'm totally new using Maple (just installed right now) and need to solve this ODE using Runge-Kutta 4th order scheme. I found there's an inbuilt function for it but I just don't know how to use it.

Can anyone please help me out with this? I'm a bit in a rush and don't have too much time for trial and errors approach.

Much appreciate any help.

Hi

Sometimes when I'm solving an equation I get the result in the form of a constant multiplied by zero, instead of just the number 0.

Is it possible to remove that option so I won't get a confusing answer? I've attached a picture of an example here

Thanks!

2.mw
 

416*(1-tanh(rho*y)^2)^2*tanh(rho*y)^3-272*(1-tanh(rho*y)^2)^3*tanh(rho*y)-32*tanh(rho*y)^5*(1-tanh(rho*y)^2)

416*(1-tanh(rho*y)^2)^2*tanh(rho*y)^3-272*(1-tanh(rho*y)^2)^3*tanh(rho*y)-32*tanh(rho*y)^5*(1-tanh(rho*y)^2)

(1)

``


 

Download 2.mw
 

416*(1-tanh(rho*y)^2)^2*tanh(rho*y)^3-272*(1-tanh(rho*y)^2)^3*tanh(rho*y)-32*tanh(rho*y)^5*(1-tanh(rho*y)^2)

416*(1-tanh(rho*y)^2)^2*tanh(rho*y)^3-272*(1-tanh(rho*y)^2)^3*tanh(rho*y)-32*tanh(rho*y)^5*(1-tanh(rho*y)^2)

(1)

``


 

Download 2.mw
 

416*(1-tanh(rho*y)^2)^2*tanh(rho*y)^3-272*(1-tanh(rho*y)^2)^3*tanh(rho*y)-32*tanh(rho*y)^5*(1-tanh(rho*y)^2)

416*(1-tanh(rho*y)^2)^2*tanh(rho*y)^3-272*(1-tanh(rho*y)^2)^3*tanh(rho*y)-32*tanh(rho*y)^5*(1-tanh(rho*y)^2)

(1)

``

 How can I collect these  for  simplest form 

 

 

 

Hi,

I would like to ask a very basic question. The solution would indeed simplify my life!

I have a function called (eu) :

eu := -2*n^2*B^2+2*n*B^2*p-2*n*B^2*p^2+n*B^2-B^2*p+B^2*p^3+n*c*d

I would like to collect it with respect to two specific terms: (n-p+p^2) and (n-p+p^3), that would give me at the end:

eu := -2*n*B^2*(n-p+p^2)+B^2*(n-p+p^3)+n*c*d

Collect command gives me the following error meesage: "Error, (in collect) cannot collect n-p+p^2".

Would you have a solution for this problem?

Thanks in advance.

Basak

The program below is meant to use the  solve command to find the sides a, b, c of a triangle, given the lengths of the three altitudes, hA, hB and hC.  This program came from a higher version of Maple and I wondered what the word 'explicit' is meant to do in the  Sol->[solve({hA=(...statement.  The output just gives the name Sol - when I would have liked it to either give a solution for the sides in terms of the altitudes hA,hB,hC - or numeric float values.  For the attempted values of the altitudes all being equal to sqrt(30/2, the triangle is equilateral of side 1.

  Any suggestions to get this to work in Maple 7would be most appreciated.

Thanks,

   David

 

 

> restart:

# # # # # # # # # # # # # # # # # # # # # # # # # # # #

# Altitude exploration 

# Trying to obtain expressions for the sides a,b,c of a triangle
# given the altitudes.

# # # # # # # # # # # # # # # # # # # # # # # # # # # # #

#with(plots):

#with(plottools):

#with(geometry):

Sol->[solve({hA=(a+b+c)/a, hB=(a+b+c)/b, hC=(a+b+c)/c},{a,b,c}  )];  #,explicit)];

#  ???Is explicit needed?? Is it a Maple 7 feature?

 

abc:=simplify(eval(Sol,[hA=sqrt(3)/2,hB=sqrt(3)/2, hC=sqrt(3)/2]));  #should give a=b=c=1

gf:=eval(Sol, a=1);

 

Warning, the name changecoords has been redefined

 

I've always had problems with math and numbers.  My goal is to learn enough by myself so that I can take a college algebra class.  Do you have any products that I could buy as an individual which would assess my math skills and design a program to bring me up to speed so I can start with college math classes?

Any other advice on learning math as an adult is welcome.

Thanks

Hi Dears,

I know "randpoly" command of Maple and I need to generate some random polynomials with parametric coefficients. For this I used this command for input set {a,b,c,d,x,y,z,w} which {a,b,c,d} are parameters and {x,y,z,w} are variables. But, the generated polynomials were not interestting. For example, some polynomials such as $(a-b)xy+(c^2-a)x*y*z-a*b+(d-1)z^2w$ are interested for me. In fact, difference parametric coefficients is important. 

Could you please help me to generate them?

Sincerely yours 

I am interested in the 5 circle theorem of Miquel.  Search on the internet 'Miquel five circle theorem' for more details. I would like to prove this theorem using Maple, and also see if there is a generalisation to this for more than 5 circles.  I wish to find the points of intersection of the circles and am using the fsolve command:

fsolve({(x-x[i])^2+(y-y[i])^2-r[i]^2, (x-x[i-1])^2+(y-y[i-1])^2-r[i-1]^2}, {x, y});

I am using the curly braces for sets - as I can't seem to get it to work for [] lists.   The output gives something like {x=12.0005, y=4.65}.  I want to use these values to obtain straight line equations and verify that the lines formed by successive circles form a pentagram, with all vertices on the five circles.  I just want to get to the floating point values, without the x= part.  The type of the returned expressions is '=' - whatever that means!

    I'm also wondering if using the plottools and plots packages is sufficient - as opposed to the geometry pakage.

I'm interested in how many people have heard of this theorem.  Does it have any generalisations to 6, 7, ... circles?

Any help or comments gratefully received.

    David.   

Hellow dears!!!

Hope everyone is fine with everything. I want the animation of the numerical solution of ODE i,e., f4 for delta=[0,1.5]. Please see the attachment and fix my problem. I Shall be very thankful to you.

Graph.mw

Special request to  acer 13834@Carl Love ,Preben Alsholm 10271

As part of the class I am teaching in biofluid mechanics, the students are learning about the Buckingham Pi theory for finding dimensionless groups (pi-groups).  The process involves the dimensions of parameters in terms of their basic units of measure: mass, M, length, L, and time, T.  Fore example, fluid density is M/L3 .  A typical step is to represent a product of parameters in terms of these measures raised to exponents.  Here is an example

(M/LT)a(M/L3)b(L2)c

where the exponents a,b,c are to be determined. What command(s) will massage this form to look like

Ma+b  L2c-3b-a T-a  ?

Cheers

 

Greetings to all.

A basic Euler-MacLaurin Summation recently appeared at this Math.Stackexchange Link . Several users computed an asymptotic expansion for the sum given by sum(1/k^sigma, k=1..n) with sigma a parameter between zero and one. E.g. for sigma=1/3 we find

       2/3
    3 n                     1           1           7            13            247
    ------ + Zeta(1/3) + -------- - --------- + ---------- - ----------- + ------------
      2                     (1/3)       (4/3)         10/3          16/3           22/3
                         2 n        36 n        4860 n       26244 n       590490 n

Comparing this with Euler-Maclaurin Maple produces the following:

> eulermac(1/n^(1/3), n, 8);
       2/3
    3 n         1           1           7            13            247             1
    ------ - -------- - --------- + ---------- - ----------- + ------------ + O(-------)
      2         (1/3)       (4/3)         10/3          16/3           22/3      (28/3)
             2 n        36 n        4860 n       26244 n       590490 n         n

The sign on the second term is incorrect. I would be curious to know what is happening here. BTW Mathematica also yields a plus sign on this term, same as what was obtained at the link.

Thank you for any comments you may have.

Marko Riedel

with(plots):
xy := MatrixMatrixMultiply(Matrix([[cos(t),sin(t)],[sin(t),cos(t)]]),Matrix([[x],[y]]));
animate3d([t, xy[1][1], xy[2][1]], x = 1 .. 10, y = 1 .. 10, t = -Pi .. Pi,coords=spherical);
animate3d([x, xy[1][1], xy[2][1]], x = 1 .. 10, y = 1 .. 10, t = -Pi .. Pi,coords=spherical);
animate3d([t, xy[1][1], xy[2][1]], x = -10 .. 10, y = -10 .. 10, t = -Pi .. Pi,coords=spherical);
 
would like to see how it rotate a ball
 
First 881 882 883 884 885 886 887 Last Page 883 of 2428