## Procedures...

Does anyone know how to write a procedure for simpsons rule using the trapezium rule. I wrote a procedure for the trapezium rule but it wont let me put it in the simpsons rule. Maple keeps saying that local is wrong. Please help!

## piod controller...

i WANT TO DEVELOP A MICROCONTROLLER BASED PID TEMPERATURE CONTROLLER.THE USER WILL SET THE DESIRED TEMPERATURE THROUGH KEYBOARD.I WILL BE USING A TEMPERATURE SENSOR(IC LM35DZ) WHICH WILL BE INPUT TO MICROCONTROLLER 8051 WHICH WILL IMPLEMENT PID ALGORITHM TO CONTROL A RELAY AND HENCE EITHER TURN ON A HEATER OR A COOLER.AN LCD WILL ALSO BE INTERFACED TO DIPLAY THE SET TEMPERATURE AND ACTUAL TEMPERATURE. I DO NOT KNOW THE C CODE FOR THIS.IF ANYONE HAS WORKED ON SUCH KIND OF SYSTEM ,THEN PLEASE SEND ME THE CODE.I WILL BE REALLY VERY GREATFUL

## Does maple has sleep function?...

When I execute a proc of Maple, Can I make the process sleep for several seconds? Just like other programming languages sleep function. Thanks.

## Find tangent...

I have an equation lets say f(x). I derivate it then I need to find the equation of the tangent that touches f(x) at two different places.

## Use Chebyshev approximation for curve fitting....

Hello. Im courius if there is any (easy) way in Maple to do a Chebyshev curve fitting. I havent been using Maple mutch and I cant say that I really understand how the chebyshev approximation works, but i want to do a comparison between the Least Square Criterion (with the funktion: a*x + b) and Polynomial Interpolation and the Chebyshev Approximation (with the exp: a*x + b). The Least Square and the Polynomial are both options in the Curve Fitting Assistant (in Maple 11), but not the Chebyshev (is it becouse its somehow inferior to the least square?). And by the way, please note if I write anything wrong (spelling, grammar, etc etc..). English is not my native language.

## Plot a sequence...

I just got this problem and I don't know how to plot it. Plot the first 300 terms of the sequence a(1) = 0.8, a(n+1) = 4a(n)(1-a(n)). I can tell maple to calculate the first 300 terms, but I don't know how to graph it. this is the command i used for calculating those terms. for n from 1 to 300 do a(n+1):=4*a(n)*(1-a(n));od;

## Implicit differentiation (finding extreme values)...

Hello, I have a problem with this implicit equation: > eq:=(x^2+4*y)^2+(x+y^2)^2=65 I can find the tangent line for a point on the curve, e.g. (-2,1). This is the slope on the point. > a:=subs(y=1,x=-2,implicitdiff(eq,y,x)); It will give this tangent line. > tanline:=a*(x+2)+1; Here's a plot: But now I want to find the locations of its extreme values. That's where I got stuck. The tangent line must be horizontal so dy/dx = 0. So I have to the implicit equation for the condition dy/dx=0. For explicit functions it's not that hard, e.g.:

## Solve equations system...

> p:=x->log[b](x); p := x -> log[b](x) > o:=x->b^x; x o := x -> b > fsolve( p(x) = o(x) , {x,b} ); Error, (in fsolve) number of equations, 1, does not match number of variables, 2 I need to find the location (x,y) where they touch each other, thanks for the help.

## Getting numerical results when using symbols?...

What do I have to change in the settings to get numerical results from simple expressions using symbols? In other words, when I enter something like 2 x pi or e, I want the numerical answer, or rather something that reads 6.28... As it is, it just returns 2 x pi again.

Maple

Inspired by my own post The art of linking, I here bring an expanded version (I hope that it does not appear too self-centred to do so): You can link to other parts of MaplePrimes, or to external webpages, using the HTML tag `a` with its associated attribute `href`. This tag and its attribute you may enter by pressing the link-image  (please disregard the black background), which is located above the area where you enter your text, the result being `<a href="http://">` The part between the two "'s is where the address of your link, the socalled URL (Uniform Resource Locator) must be inserted. Below, four typical link situations are treated:

• Linking to a thread: Taking as an example the thread in which the above post appears, you could write (for long URL's, as this one, use copy-paste to avoid typos) `<a href="http://www.mapleprimes.com/forum/why-does-evalb-evalf-10-0-evalf-10-0-float-1-0-30-false">The other thread</a>` which would appear on the screen as The other thread.
• Linking to a specific post: Each post in MaplePrimes has its own unique ID. It can be found by placing the mouse over the link `email this comment` of the post to which you want to link, and then reading of a five-digit number at the end of the line at the lower left of your screen (in Microsoft Internet Explorer). A link to that post is then created by appending to the URL of the thread itself the following code: `#comment-.....`, where for `.....` the five-digit ID has to be inserted. It was William Spaetzel who originally told me this. Taking as an example the above post, which has the unique ID `11566`, you could write `<a href="http://www.mapleprimes.com/forum/why-does-evalb-evalf-10-0-evalf-10-0-float-1-0-30-false#comment-11566">The other post</a>` which would appear on the screen as The other post.
• Linking to or showing a picture: First of all you have to upload your picture using `my files` under `Navigation`. Having done so you can copy-paste the text in the column `Download Link Code`. This text contains both the HTML `a` and `image` tags. You can then choose to keep the full text, thereby having a clickable image (a link to the image), or you can manually strip away all `a` tags (remember the ends also) thereby having a non-clickable picture, as I have above.
• Linking to an external web page: Taking Maplesoft as an example, you could write `<a href="http://www.maplesoft.com/">Maplesoft</a>` which would appear on the screen as Maplesoft. The part `target='_new'` has been automatically inserted by the MaplePrimes system (click on `Input format`, which is located below the input text area, to see the various input formats), and so it need/should not be entered manually.

## Maple V (1996) vs. Maple 11 (2007) .ps exporting...

I am exporting 3d shapes generated by plot3d/surf3d to postscript, here is a comparison between my 11-year old copy of Maple from when I was a Freshman (left), and my current version(right): torus :( I've pretty much given up fiddling with the settings in Maple 11 to improve the quality; at this point, I'm wondering if anyone has any idea how to modify the .ps file itself to get rid of the thin diagonal lines that go through every quad in the (right) version. If it's simple enough, I could write a perl script to post-process my plots...

## Matrix-generation...

Hiya! I'm at a loss for how to properly generate a set of n x n-matrices of the form [-1]; [[0,-1], [-1,0]]; [[0,0,-1], [0, -1, 0], [-1, 0, 0]] ... and so on, for n from 1 to an arbitrary value. I've had a good look at the constructer options for Matrix() but failed to spot the proper solution. I'd like to do so in a loop or seq, so I can perform the needed operations on them, without having to keep a lot of arbitrary variables. Any good hints or tips?