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!

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

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

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.

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.

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;

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.:

> 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.

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.

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.

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...

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?

Hi guys.
How do I plot the solutionpoint from an optimization as a function of a parameter in an effective way?
The problem I'm struggeling with is the following. I'm interested in the optimal E of
V := (E,a) -> int(-1/2*E*(-r+E)/r*((1/2*r)^(-1+a)*(1-1/2*r)^(-1+a)/Beta(a,a)),r = E .. 2);
for any given a, given 0<>

I am trying to write a procedure that uses LinearAlgebra[SingularValues].
For some reason, the line
U,S,Vt := LinearAlgebra[SingularValues](covariance, output=['U','S','Vt']);
causes the procedure to give the error message:
Error, (in LinearAlgebra:-LA_Main:-SingularValues) invalid output (U) specified
However, outside the procedure the same line works perfectly.
Any help will be much appreciated!

Hi,
I was wondering if there is a way to use Document Components or Maplet Elements from Java?
Is there a file that has the library for these components?
I use the Netbeans environment, has anyone set up that environment to use Maple libraries?
Thanks,
Art