MaplePrimes Questions

Can someone please let me know if there's a command which shows the name of the current (and running) worksheet? I would like it to be exported to an output file which is the easy part but I don't know how to automatically read it. Thank you very much.

i got kernel connection lost error when memory used reach 2.87GB

how to make it fully used 3.8GB ram, total 4GB ram

indexlistresult := [];
gaga := [seq(i, i=1..512];
nops(indexlistresult);
indexlistresult := [op(indexlistresult), op(gaga)];
nops(indexlistresult);
indexlistresult := [op(indexlistresult), op(gaga)];
nops(indexlistresult);
indexlistresult := [op(indexlistresult), op(gaga)];
nops(indexlistresult);
with(combinat):
gg := permute(indexlistresult, 3);

I actually had the same problem on Maple 16. When i go to plot an equation (usually on implicit plots) it just repeats the equation in blue text rather than showing any sort of plot. Im sure i am just missing a simple option somewhere, but for the life of me I cant find it. Any and all help would be appreciated. 

Hi,

 

I am trying to find the inverse of 8x8 generic symbolic matrix. Everytime I evaluate the program I get the following error:

 

Error, (in expand/bigprod) Maple was unable to allocate enough memory to complete this computation. Please see ?alloc

 

Can anyone guide me how to increase the memory allocation? And would that solve the problem for me?

 

Any help is appreciated.

 

Thanks!!

Hi all.  I have researched into this problem.  But I could not find a solution to this.

Here is an example.

I have a set of independent variables, say there are 5 of them.  They are 1. Gender 2. Age group 3. Full or part time 4. First language.

I have a set of dependent variables.  Let us consider for an example 6 of them.  They are (i) Develops breast cancer (ii) Develops skin cancer (iii) Develops lung cancer (iv) develops prostate cancer (v) Lives till 50 (vi) Lives till 60 ...

How do I perform the following prediction:

(A) If a person is male and above 50, what are the chances that he is likely to develop prostate cancer?

(B) If a person is female and works part time, what are the chances that she is likely to develop breast cancer and lives till 60?

I need to develop a code and formula to do this?  Can someone please advise?

Many thanks.

Kind regards,

Kris

I have a question that says write a procedure that takes a random graph and three edges of that graph and returns true if those edges share a common vertex. So I was thinking of something along the lines of

proc55 := proc (G, {a, b}, {c, d})

if evalb({a, b} = {a, c} or {a, b} = {a, d} or {a, b} = {b, c} or {a, b} = {b, d}) then print(true)

else print(false)

end if;

end proc;

 

I guess my main question is how do I put edges in the parameters line? It will let me write proc (G, a, b, c, d) but not proc (G, {a, b}, {c, d}).

Is there just something I'm missing or am I approaching this in the wrong way?

 

I have a proc as follows:

F:=proc(f,n)
L:=[f];
for j from 1 to n do;
J:=int(1/subs(t=x[j],L[j]),x[j]=2..x[j+1]);
L:=[op(L),J];
end do;
end proc;

I chose to use index variables. However when I try to apply a member of the output list as a function of the outermost limit, I do not get any output when I try to evaluate the function. I suspect maple is having trouble with the variables withing the integral. How can I make this work?

I'd like to have a function that I can evaluate:

g:=F(log(t),3)[3];
f:=unapply(g,x[3]);

f(2.1);

Thanks!

Dear all

I have one question regarding to dsolve.

Let say I have simple function,

 dx/dt =A+Bx

 dy/dt =A'+B'y

when I want to get graph of x as function of time or y as fuction of time, I can use 'dsolve'

For example, I can put "" soln:=dsolve ((ABOVE EQUATION, ICs),numerical,implicit=true) ""

                                     plot(soln,x(t) or y(t))

Also, When I want to get x value or y value as function of time, I can use soln(t), t could be whatever I want.

 

However, I want to get or draw graph " t " as function of x or function of y. For example, I want to know  t value when x=3 or I want to know t value when y=5. Above equations are simple, so I can calculate by hand. but I want to know which command I need or which ways are in MAPLE to get the value.

 

Thanks.

 

hi,

I am trying to plot the polygon but it isnt working. Please help

 

i put

triangle := polygonpolt3d ([13,11,12], [16,10,18], [14,10,7]) :

display3d (triangle)

I have a complicated equation which you can find in the file below. I want to multiply both sides of equaiton by cos(beta[1,j__1]*z) and integrate from 1 to L. I have many such similar equations so I decided to write a procedure to do these staffs for me.

Can you give me simple suggestions on how to write such a procedure. The procedure will take the "equation", "multiplier" and "limits of integration" as inputs and gives the "integrated equation" as the output. Integration is perfomed by the inert function "Int".

Many thanks.

Equation.mw

Hello guys

I have a question:

I have an equation like below. Always it has different order for example :

T1:=q3*(r^6)+q2*(r^4)+q1*(r^2)+q0:
solve(T1=0,r):
and sometimes:

T2:=q5*(r^4)+q6*(r^2)+q7:
solve(T2=0,r):
q0,q1,q2,q3,q4,q5,q6 and q7 are constants.

We know that for T1 It has two real answer and for T2 we have any real answer.

How can I specify generally the real answers for all of them?

I want to use these real answer for another equation.

Thanks

Hi.

I need you to answer to thos question using maple,

I have x'(t)=e^{2*x(t)}  + alpha -2*x(t),  where alpha is a constant in R.

I would like to compute the equilibrium points and if there is a saddle-node bifurcation.

Thank you very much.

 

I'm trying to solve a differential equation in Maple given by:

 when y(3) = -7.

 

I should get the result

but for some reason I get 

 

I solved it by writing:

 

I have Maple 18 if it makes a difference.

Hi, I have an equation and I want to plot it for a set of inequalities, is this possible or will i need to insert values for the constant?

 

So if i have the equation;

 

y=(X_0-aX)/a+(X_0-bX)/b, can I plot y given that: X_0>bX and <aX

 

 

Hello.

I have a line integral and i want to calculate and graph this line integral.

The line integral comes from a physical problem, the integrand is good in the interval [0, 2*Pi] and the value of the integrand at zero = the value of the integrand at 2*Pi.

The problem is when i use the trapizidal rule to calculate the line integral.

The results is so bad, i.e.  the value of the line integral at zero not equal to the value of the line integral at 2* Pi.

where is the problem.

Any one could help me.

First 1373 1374 1375 1376 1377 1378 1379 Last Page 1375 of 2428