MaplePrimes Questions

Hello, I'm creating a rolling thin disk (rolling without slip) in the MapleSim, the model like the picture below (Fig. 1).

 

       ...

I am trying to write a script that will read in vector files using ImportMatrix, perform a simple calculation then output a matrix file using ExportMatrix.

 

The difficulty I am having is that I would like to do this on a number of files,

eg.

for i from 1 to 600 do

Mi:=ImportMatrix(rowi):

do calc....

ExportMatrix(matrixi,Mi):

end do:

The variable i is in italics...

I want to model this game (I want an ensemble average and a time average)

50% chance you get head=win 50%
50% chance you get tails= lose 40%
Starting capital =100

First of all I need a very large binary matrix(1..100000,1..100000) however not
even that I can do fast enough in maple!

I tried:

rtable(1 .. 1000, 1 .. 2000, frandom(0 .. 1, .5), subtype = Array, datatype = float[8], fill = [0, 1])

it is somewhat fast but it does not do what I want ie binary ...

I'm trying to solve the following

 

> de := proc (omega, l, M) options operator, arrow; diff(y(r), `$`(r, 2))+(2*r-2*M)*(diff(y(r), r))/(r*(r-2*M))+(omega^2*r^2/(r-2*M)^2-l*(l+1)/(r*(r-2*M)))*y(r) = 0 end proc;

How to use maple get the nth term of sequence A: 7 + 77 + 777+ ... to n terms.

please help me!!

Thanks!

I am trying to fit some data to a model.

The model is given by this equation.

A*(C/B)^(2*B)*(B-1)^(2*(B-1))/(205*10^9*(2*B+1)*(sigma^2-(650*10^6)^2)*sigma^(2*(B-1)))+(C-sigma)^2*A/(205*10^9*(2*B+1)*(sigma^2-(650*10^6)^2))

> with(Statistics);
> X := Vector([819.4, 795.6, 788.8, 782.0, 776.56, 763.64, 748.28, 724.42, 717.40, 711.28, 707.20, 680], datatype = float);
> Y := Vector([5.3*10^4, 7.8*10^4, 9*10^4, 9.5*10^4, 10^5, 1.2*10^5, 1.37*10^5,...

hello,

I have been asked to show that the parametric representation of this curve is given by 

x(t)=cost/1+sin2t and y(t)=sintcost/a+sin2t.

The curve is defined by (x2+y2)2=x2-y

The polar representation of this curve is given by r2=cos(2theta)

 

Help!

 

Thankyou

I need to make one "DensityPlot-point" (similar Statistics [DensityPlot] or histogram in 
Matrixplot) of a set of points (x, y). 

The set of points (x, y) was generated by the procedure.

Is there a way to generate it?

Thank you.

I'm trying to understand the various ways to do pattern matching. The problem is that sometimes the patterns seem to matched against a normal form that's different from the one displayed. For example can somebody explain to me why the last pattern match fails below?

> patmatch((1/2)*Zeta+(1/3)*Zeta^5, conditional(Zeta^n::posint*y::anything+z::anything, n >= 3), 's'); s;
true
[n = 5, y = 1/3, z = (1/2)*Zeta]
> patmatch(Zeta^2+(1/3)*Zeta^5, conditional...

Thank you for Assisting me to solve the PDE, Now please would you tell me what F5 means (in other words, explain to me the solution) and also could you how to test if the solution satisfies the initial and boundary conditions.

Please help me plot the graphs of the following equations:-

eq1 := diff(E[X(t)], t) = lambda-delta*E[X(t)]-beta*E[X(t)*V(t)];
 eq2 := diff(E[Y(t)], t) = -delta*E[Y(t)]+beta*exp(-rho*tau)*E[X(t)*V(t)];

eq3 := diff(E[V(t)], t) = gamma+N*kappa*E[Y(t)]-mu*E[V(t)]-beta*E[X(t)*V(t)]
NB:- E[X(t)]= the expected value of variable X at time t. 
Please help me know how to input this...
> restart;
> with(LinearAlgebra);
> tolerance = 10^(-3); x1km1 := 0; x2km1 := 0; x3km1 := 0; for k to 2 do k := k; x1k := 1/4*(5-x2km1+x3km1); x2k := 1/3*(-4+x1km1-x3km1); x3k := 1/5*(1-2*x1km1-2*x2km1); evalf(x1k); evalf(x2k); evalf(x3k) end do;
1
5
-
4
-4
--

q1.mw

This equations should have numerical solution, but they can’t be calculated. The result is too long, and include ‘RootOf’

It just like this:

> t := 15000; S := solve({n = b+2*c+f+2*g, (a+b+c)/(a+b+c+p+q+f+g) = 5*(1/10), q^2-3.47*p*10^27*t^(3/2)*e^(-10.97*10^4/t) = 0, n*b-(2.407*a*10^21*8)*t^(3/2)*exp(-18.27*10^4/t) = 0, n*c-(1/2)*(2.407*b*10^21*5)*t^(3/2)*exp(-32.035*10^4/t...

Regards,

I need help with solving an equation. I have the following equation:

24*b[0]+24*b[1]*xi+24*b[2]*xi^2+(2*(-12+24*xi))*(b[1]+2*b[2]*xi)+(2*(-12*xi+12*xi^2))*b[2]+P[cl]*L^2*(-12*xi+12*xi^2)

to this equation I applied the comand: series(%,xi) and as a result obtained:

24*b[0]-24*b[1]+(72*b[1]-72*b[2]-12*P[cl]*L^2)*xi+(144*b[2]+12*P[cl]*L^2)*xi^2

My question is: the way to solve this equation in the manner I need is setting the coefficients...

Hi, experts

 

I have an array which is empty, say

 

f:= []:

 

is there away to check if it's empty? I want to do something like in Matlab:

 

if isempty(f)

......

end

 

Many thanks

Kyle

 

First 1662 1663 1664 1665 1666 1667 1668 Last Page 1664 of 2428