Christopher2222

5785 Reputation

24 Badges

16 years, 351 days

MaplePrimes Activity


These are answers submitted by Christopher2222

I'm guessing you want to plot the value of B, C and D as it approaches infinity

You can use the seq command and put in a list

a:=[seq(your sum,n=1..whatever)]

then use listplot(a) and you can view what happens to the values as you approach infinity.  You won't need many points to see what happens.

Great!

Cool, found out you could also use the indexing or map to select specific positions in a list of larger element lists.

ie

w:=[[1,2,3,4,5],[3,4,5,6,7],[5,6,7,8,9],[2,3,4,5,6]]:
z:=map(w->w[[3,4]],w);

                       z:=[[3,4],[5,6],[7,8],[4,5]]

now using my original example trying to get one side of the values to map to negative doesn't work

b := [[1, 2], [3, 4], [5, 6], [7, 8], [9, 8], [7, 6], [5, 4], [3, 2]]:
c:=map(b->b[ [(-1)*1,2]],b)

             c:= [[1, 2], [3, 4], [5, 6], [7, 8], [9, 8], [7, 6], [5, 4], [3, 2]]

I would like to get (in my example here)  c := [[-1, 2], [-3, 4], [-5, 6], [-7, 8], [-9, 8], [-7, 6], [-5, 4], [-3, 2]]

How can we do that?

Thanks. 

Okay how about swapping the xy pairs in the list? 

I could use the seq command again and just swap the order of how I put them into the list.  From the list of x,y pairs I've created how could I swap them?  I was thinking map or zip, even transform from the plottools options but I've had no luck. 

hmmm, you must have a fast computer.  Mine is about three years old now.   Your little times and heights program hangs my computer.  I had changed max(f~(L)) to map(f,L) so it would work in Maple 12 but something seems to have it stuck.

For Maple of course.  You don't need nice pictures to explore scientific data.  I just wanted to visualize the data in a different way.  Besides, the challenge to get it to work in Maple is gratifying, isn't it?

 

Thanks. 

Eventually I was thinking of adding 100 or so.  It's an extension to my earlier thread on an expanding curve, but this was a different enough topic to warrant a new question.  And that's a neat trick on the symbolsize. Eventually I'm going to use many more points

 How would I get those points to pulsate at different times only once? 

 

I believe " ~ " was introduced in 13

Okay map works great!  and it's just as quick.  Nice job, the nice rounded peaks was what I was aiming for.  Now just to get them occurring at different times and then at various heights.

Yes, thanks Robert and Alec.  I started this project using Maple 12, Alec when I run yours the animation blanks out, but it's nice you can just plug in a list of points.  Although it took my computer 60 seconds before I was able to run the animation.  I'm thinking of using a about a data set of 1000 points.  I could live with 100 points if 1000 was too much for maple to handle but I think with that many points is going to take a long time.

In any case this afternoon I started to do something similar to what Robert was doing except with display.

display(seq(plot3d(t*sqrt(x^2+y^2)/(x^2+y^2), x = -10 .. 10, y = -10 .. 10), t = 0 .. 5), insequence = true)

 

 

Stones being dropped into a pond is a good analogy of what I am attempting to do. 

Basically a disturbance occurs at a certain location (x,y) and I want to visualize it as rising inverted parabolas or cones on a 3dimensional plot.

So for an example, I'll try to get three point disturbances at say (1,2,0) (3,3,0) and (4,1,0) to occur all at once.   

plot(25-25*exp(-.3*x),x=0..30)

**edit ** I answered too fast before I realized this may be a homework question. 

None-the-less I don't believe this model of productivity.  Just out of curiosity where did this model of productivity come from?

Airline traffic could be another way to look at it. 

In any case, I agree that thinking of an idea and trying to get it to work in maple can be quite challenging at times.  It's a nice excercise in ingenuity and sometimes fun.  Sometimes there is great satisfaction in getting something to work in maple that no else thought of, or hasn't been done, or wasn't thought could be done, or by applying Maple in ways no one else thought of is very satisfying.  Perhaps something like this could be in a new topic section in the forum?  Yes I'll pose an idea over there related to that topic shortly. 

Have a look at the application on the maplesoft website.  You could probably use the application located here -

Contour plot in 3d space -  http://www.maplesoft.com/applications/view.aspx?SID=3905 

Yes MatrixPlot3d does not exist.  I meant matrixplot and i think it's what I should be using.

It appears that SurfacePlot does the same thing as surfdata, taking rows of data. 

Essentially what I want to do is use x and y points representing the coordinates of a particular point in an area of land and then plot the z values of those points representing the height of the ground. 

Basically just mapping the terrain using x,y,z data points.  I tried surfdata but it doesn't accomplish that, it seems to act exactly like SurfacePlot does. 

I tried that but for some reason it doesn't look right.

with(Statistics):
SurfacePlot(x,y,z)

 I think Matrixplot3d is what I want but then I'd have to convert all the list points into a matrix.  Just wondering if there was a way to do it directly from points.

The website has search fields for the date.  And the address bar is an html ending in aspx .

I know I should be using sockets and there was at one time a page on adeptscientific with the topic "is it raining in moscow" and a link to the worksheet which has been under construction for the last 2 months so I am unable to know if the document still exists.  I believe it's from 2007 but much has probably changed however the general rules to pull data from a website should still apply, no?

First 35 36 37 38 39 40 41 Last Page 37 of 47