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 have defined a function and a matrix
f(x)
A[2000,1]
The matrix consists only of numbers; no variables.
Is is possible to use the function on the matrix and thus get a new matrix where all the entries are the transformed values?
- Kasper

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.

Thanks to J. Tarr, Georgios Kokovidis and others I got my dataset imported into Maple as a matrix. After having done some computations on it, I would like to export it again to an Excel file. Is this possible?
- Kasper

I would like to calculate
int( (1/4)*x^3*BesselY(0,x)*BesselK(0,x),x=0..infinity);
In an article authors say it is 1/(2*pi).
Could help me anybody?
Sandor

I'm taking a Maple course and I cannot figure out how to convert from a number to binary (without using the convert(#,binary)). So far I have
toBinary:= proc(x::posint)
local n, k;
n:=x;
k:=0;
while n > 0 do
k:=
and I'm not sure where to go from here. I know that I need to find the remainders and decrease my n and then put it into a list and then concatinate in the reverse order.
Can someone help me out?
Thanks
Rachel

Can Maple import a bitmap and then use it in a plot?
If it can, can the orientation of the bitmap be changed in the plot?
It would be much quicker and would look nicer than using the internal drawing facilities.

Dear Comrades,
I'm trying to solve a system of coupled integral equations. Does anybody know how to use IntSolve? And what's the shared library? Do I have to download IntSolve from somewhere? And is this the best way to spolve integral equations if I did?
Regards,
Andrew

Hello,
I know it is possible to catch errors using traperror and lasterror...
But is it possible to also catch warnings in any way? It seems they are only messages that are printed on the screen. So, using OpenMaple/C, they can be extracted from the textCallBack stream (using id 5)... but is this also possible in the Maple environment itself, and if so, how?
-- Regards,
Franky.

New info on the "label=" question. I open a new work sheet and enter solve({x^2-y^2=y,2*x*y*=x}). The answer returned includes RootOf(_Z^2-3, label=_L2). Then I copy and paste that solve command after the next prompt and solve the same exact problem again. This time I get the same exact answers EXCEPT that the label is now _L5 and if I solve the same exact problem a third time I get a third label. I can only conclude that the label has nothing to do with the solutions to the problem. This makes me wonder what then is the purpose of a label? Why is it returned? What significance should one attach to it? I don't want to get bogged down about what the spec says or whether this is a bug.

I would like to import a big dataset in Maple and this is giving me some difficulties.
Although Maple does have an Importdata-command, I can't figure out exactly how it works. The dataset I want to import is an excel file consisting of 2000 observations with 7 variables. Can this be done and made usefull in Maple, or do I really have to sit down and learn SAS..?

View 285_maple11introductoryprogrammingguideexercise1.6.mw on MapleNet or

Download 285_maple11introductoryprogrammingguideexercise1.6.mwView file details
I'm going through the introductory programming guide for maple 11, and I recently worked on some exercises.
Instead of just computing, I tried to create a procedure for the first exercise of exercise set 1.6 on page 21.

I have a system of equations where unkowns are functions of variables
` > eqns:= {a(s,y,z,t)+2*b(s,y,z,t)=0,3*a(s,y,z,t)-5*b(s,y,z,t)=0}; `

I would like to get the matrix associated to the system.
I tested genmatrix but maple returns `equations are not linear `
Anyone have an idea of how to do this?

I have a large set and I would like to do the following efficiently:
1) use selectremove to split off a part of the set, based on a function f
2) map a function g onto the selected set
3) (optional) map a function h onto the removed set
I don't actually need 3) however I think it would be useful.
My problem is that the function g is easily computed while computing f, so something like the following is 2x too slow:

S, R := selectremove(f, big_set);
S := map(g, S);

On the other hand, g outputs a result of a different type, so I can code g to return the identity unless the condition in f is satisfied:

I get RootOf(_Z^2-3, label = _L2) in an answer. My understanding is that RootOf _Z^2-3 would be a root of Z^2-3=0 or plus or minus the square root of 3, but after reading the RootOf help sheet I still cannot figure out what label = _L2 means. My gut feeling is that it means one of the two roots, either -sqrt(3) or +sqrt(3) but that bothers me because I think that both are ligitimate solutions to the problem. Could someone please explain what label = _L2 means? The help sheet says something about label=e where e can be anything which wasn't at all helpful. Thanks. P.S. The problem that provided this issue is solve({x^2-y^2=y,2*x*y=x}) and in the second equation the x on each side should not be cancelled because x=0 is one solution.