MaplePrimes Questions

I'm trying to do an integral like this:

F(y) = int(x^-3 delta(1-y/x^1/2),x=1..2)

any advice?

Thanks

I spent the last 2 hours searching in the Help commands for the command that returns the length or size of a given ordered array or list.

e.g. I have Thing:=[3,7,6,5]:

I want the function that returns the value 4 for the size of Thing.

I am really surprised that such an operation is so difficult and hard to compute that it is never in any of the Help menus.

Hello,

I am working on a homework assignment for a Maple class and am hung up on creating adjacent lists within a list.  I know that I need to use the seq command with a i=1..(end) condition, but that code only creates the list, not the lists within the lists..

Here is the actual problem statement:

Consider the list

monthList := [ january, february, march, april, may, june, july, august, september, october, november december ];

Hi

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 http://casimirinstitute.net/coherence/density_plot.gif)

How can I do that?

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

 

Thanks

S.

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.

Hello,

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,

Ternox

hi

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

thanks

 

 

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.

 

thanks.

 

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

I need to find the 2009th pair

Please help!

 

Thanks

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.