MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed


I'd like to add to my density plots, a vertical bar in one of the sides of the grid,which contains the colour range used in the plot, and the numerical values associated with the colours (eg

How can I do that?

Additionally, can I plot in the same grid an one-dimensional function of one of the variable?




I would like to do a nested sequence (or for loop) but the number of iterations is not necessarily fixed: I tried doing the following: nestedseq:=proc(numtimes,middle) return cat(seq(`seq(`,i=1..numtimes),middle,seq(`,j[i]=[1,2,3]) `,i=1..numtimes)); end proc; But then I get a string with the desired command but I cannot evaluate it. Is there a better way to do these iterated sequences? Thanks a lot,

I want to isolate T1, a variable with literal subinidice.Like the other variables

`#msub(mi("m"),mn("1"))`*(`#msub(mi("T"),mn("1"))`-T)*`#msub(mi("C"),mi("p"))` = -`#msub(mi("m"),mn("2"))`*(`#msub(mi("T"),mn("2"))`-T)*`#msub(mi("C"),mi("p"))`I

used the command "solver", "Isolate Expression for" And by choosing `#msub(mi("T"),mn("1"))` , maple returns nothing.

So i have what i presume to be a rather simple question, for someone anyways, but not me. I have to plot a solid circle (radius=2) on the plane z=0. Not sure how to approach this as the closest i've gotten is doing implicitplot3d(x^2+y^2=4,x=-2..2,y=-2..2,z=-2..2) however it just shows the cylinder rather than a solid circle on the z=0 plane. It needs to be in 3d so i can display another graph with it. Any ideas? Thanks in advance.


I have solved a system of partial diff. equations with ind. variables (x,t) with two dependent variables.After solving I get something like this,

> solu := pdsolve({eq1, eq2}, ibc, numeric, time = t, range = 0 .. .5, spacestep = 1/2560, timestep = 1/180);
    module () local INFO; export plot, plot3d, animate, value, settings; option

Hello everybody,


#Is there an automatic way to transform equations like this

(-42.62500000*omega^2+1400.)*A[1]+(-12.00000000*omega^2-1000.)*A[2] = 0;
(-12.00000000*omega^2-1000.)*A[1]+(-5.475000000*omega^2+1000.)*A[2] = 0;

#in a matrix like that?

C := Matrix(2, 2, {(1, 1) = -42.62500000*omega^2+1400., (1, 2) = -12.00000000*omega^2-1000., (2, 1) = -12.00000000*omega^2-1000., (2, 2) = -5.475000000*omega^2+1000.});

without copy/paste each element?

Thank you,



can you help me "i need maple code to solve poisson equation by multigrid method"




I am using the codgen package to get gradient of a function GRADK := codegen[GRADIENT](SK)

where SK is a very lengthy term with variables x1 to x18

And then I use

GRADKopt := codegen[optimize](GRADK);

I need to convert this to  C++. The problem is the codgen of the gradient is creating the differentiation function D() in the RHS which makes it hard for me to covret it to Matlab or C++. Is there any way I can fix this



Hi everyone,

is it possible to change the default font size for new documents and even the maple output (blue expressions) so that every thing is smaller by default? I coulnd't find an option to apply globally.




Cousin Prime Pair...

November 09 2009 klmwkevin 4

How do i create a procedue to find cousin prime pair.

I need to find the 2009th pair

Please help!



Hello, I've recently started using maple 13. I am working on a project for school where I am attempting to use several independent variables to try to predict a single dependent variable. The nature of the project is that there is currently no known answer, and therefore I have been using regression analysis through maple on each individual independent variable on the dependent variable. I was difficult to find a way to preform a goodness of fit test on the data through maple, but I eventually saw a way on this site to compute the R^2 value.

alright being ragging for a couple hours now and have finally come to this place for help so here goes. The math question is the following "Have Maple compute the Nth Taylor polynomial for arctan(x) about x = 0. So now you have a formula that looks like: π≈ 4 times the Nth Taylor polynomial for arctan, evaluated at x = 1. There's nothing trigonometric on the right-hand side of this formula. It's just a polynomial. So we can use this to approximate π numerically. Use it to find π to 5 decimal places. "


The question is attached as a maple 12 document. Please take a look. It is probably very easy when you know how to do it.

I have ODEs system of Hamilton-Jocobi-Bellman(HJB),in which x(t)and y(t) are status variables,lembda1(t) and lembda2(t) are co-state variables,n1 is the inital condition and n2 is the transversality condition. I try to find its numeric solutions with BVP method, but I cann't. So, would somebody help me?

First 787 788 789 790 791 792 793 Last Page 789 of 1146