Tim Van Dusen

378 Reputation

6 Badges

14 years, 101 days

MaplePrimes Activity

These are questions asked by Tim Van Dusen

I was wondering if there is a way to animate a plot composed of points from a listlist. The points are x/y cordinates read from a file and then placed into a listlist for plotting. In other words, I'd like to use the animation controls to animate the drawing of the plot shown below. tListList := [[2.3, 1.1], [3.4, 2.3], [4.3, 5.6], [5.3, 6.7], [7.2, 8.9], [12.4, 2.5], [13.4, 12.5]]: with(plots); with(CurveFitting); tSpline := BSplineCurve(tListList, v): plot(tSpline)
I was trying to do something that I thought would be really simple - without success - then it occurred to me what was missing... a couple of quotes. There's other ways to do the same thing, but this is just the way I was trying to do it. sum all primes up to a certain count. ithprime returns prime up to cnt ( no quotes required ) no quotes required -- sum(ithprime(b), b = 1 .. 5)  #adds 2,3,5,7,11 sum all primes up to a certain number. quotes are required -- tprime := proc (s) if isprime(s) then s else 0 end if end proc sum('tprime(n)', n = 1 .. 12)  #adds 2,3,5,7,11
Sooner or later, you'll like see the following "tip" in with the tips that load when you start Maple, but in case you've overlooked it you should really give this one a try. Just type in: ?examples/index
Thanks to you, I now find myself anticipating the "silver" leaf - I'm pretty close, you know. :-) My biggest decision now is whether I should delay the inevitable for a while, or just "go for it"
I've noticed that if I'm not connected to the internet and load a worksheet in Maple-11 document mode, it more often than not loads with question marks on some of the lines. It never happens when I'm connected to the internet. Is there some kind of connectivity between Maple-11 and the internet? If anyone else can try this, please do and let me know what happens. I discovered it when I was working on my cable modem and wasn't connected for a while and was loading various worksheets in maple and began seeing the question marks. Then when I plugged the cable back in they stopped showing up.
1 2 3 4 Page 2 of 4