yasskin

38 Reputation

4 Badges

15 years, 24 days

MaplePrimes Activity


These are replies submitted by yasskin

This was grade 4 not age 4.

Phil Yasskin

I was unaware of the MultiSeries package which is obviously addressing these kinds of problems.

My hope is that most of this functionality will eventually be incorporated into the standard asympt, series, limit and assume commands, because students blindly accept answers and may be unaware of when they need to bring in a more powerful package.
Thanks

Phil

In designing a 2D or 3D plot it would be nice to be able to know the default vertical range before or inside the plot command. It would be useful for padding the plot. Here's a 2D example of the code I would like. First, access before the plot command:


> rng:=DefaultVerticalRange(x^2+3,x=-2..3):
> hgt:=rng[2]-rng[1]:
> lrng:=min(0,rng[1]-0.1*hgt):
> rrng:=max(0,rng[2]+0.1*hgt):
> plot(x^2+3,x=-2..3,lrng..rrng):

Second, 2 versions of access inside the plot command:

> plot(x^2+3,x=-2..3,min(0,DefaultRangey[1]-0.1*(DefaultRangey[2]-DefaultRangey[1]))..max(0,DefaultRangey[2]+0.1*(DefaultRangey[2]-DefaultRangey[1]))):

> plot(x^2+3,x=-2..3,view=[default,min(0,DefaultRangey[1]-0.1*(DefaultRangey[2]-DefaultRangey[1]))..max(0,DefaultRangey[2]+0.1*(DefaultRangey[2]-DefaultRangey[1]))]):

There are other uses for knowing this. For example you might want to reflect the graph through a horizontal line at the top of the plot. or rotate about a point at the center of the plot. For some purposes a DefaultHorizontalRange and a DefaultRangex might also be useful. For that, you might want to allow the argument to be a full plot structure such as the result of a display command.

Phil Yasskin

It would be nice to have an option in the in 3D plots to have stereo viewing with 2 color glasses. A sample can be seen at

http://www.math.tamu.edu/~yasskin/maplets/stereo/

The worksheet to produce these is available on that page. I used a rudimentary method of taking a 3D plot and rotating it by Pi/72=2.5deg about the z-axis and changing the color. A correct implimentation would need to know the current viewing angle produced by dragging with the mouse, and then rotate about the current vertical axis.

A correct implimentation has been done in Java by Paul Seeburger at Monroe Community College at his page

http://web.monroecc.edu/manila/webfiles/calcNSF/JavaCode/CalcPlot3D.htm

 
 

Congrats. It's well deserved.

Your Sockets method seems much more basic. I assume it works for POST too.

Thanks,

Phil

Your Sockets method seems much more basic. I assume it works for POST too.

Thanks,

Phil

With verboseproc=2, eval(HTTP) shows that SendRequest is local to the module. It is not exported. So eval(HTTP:-SendRequest) and showstat( HTTP:-SendRequest, 10 ) give nothing. Is there a way to see the whole HTTP module including the SendRequest command?

Phil

With verboseproc=2, eval(HTTP) shows that SendRequest is local to the module. It is not exported. So eval(HTTP:-SendRequest) and showstat( HTTP:-SendRequest, 10 ) give nothing. Is there a way to see the whole HTTP module including the SendRequest command?

Phil

Thanks all for the replies.

 

I tried things:

The command

Get("http://www.math.tamu.edu/~yasskin/");

works in 11.02 and 12 both Classic and Standard but the help page only exists in 11.02 standard. And you have to have the quotes.

 

The command

Get("http://www.math.tamu.edu/~yasskin");

returns
  301, "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
        <html><head>
        <title>301 Moved Permanently</title>
        </head><body>
        <h1>Moved Permanently</h1>
        <p>The document has moved <a href="http://www.math.tamu.ed\
        u/~yasskin/">here</a>.</p>
        <hr>
        <address>Apache/2.2.4 (Linux/SUSE) Server at www.math.tamu\
        .edu Port 80</address>
        </body></html>"
1) There are no headers, even though the help says there will be. Why not?

2) Also it appears you have to have the final /.

Thanks all for the replies.

 

I tried things:

The command

Get("http://www.math.tamu.edu/~yasskin/");

works in 11.02 and 12 both Classic and Standard but the help page only exists in 11.02 standard. And you have to have the quotes.

 

The command

Get("http://www.math.tamu.edu/~yasskin");

returns
  301, "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
        <html><head>
        <title>301 Moved Permanently</title>
        </head><body>
        <h1>Moved Permanently</h1>
        <p>The document has moved <a href="http://www.math.tamu.ed\
        u/~yasskin/">here</a>.</p>
        <hr>
        <address>Apache/2.2.4 (Linux/SUSE) Server at www.math.tamu\
        .edu Port 80</address>
        </body></html>"
1) There are no headers, even though the help says there will be. Why not?

2) Also it appears you have to have the final /.

Thanks! Where is that documented? Phil
Thanks! Where is that documented? Phil
Page 1 of 1