Unanswered Questions

This page lists MaplePrimes questions that have not yet received an answer
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.
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 am using maple 11. I have an HP printer which I verified is working corrrectly. I have a document made in document mode that I stored in a file, and when I print it sometimes it comes out ok and sometimes it comes out with everything about double size and I don't know what I am doing to cause the double size. When this happens I go to file, print preview and click on double page, and then single page at the top and everything seems to print ok in normal size again. But now I just completed another document and tried to print it out and it printed again with about double size letters but when I go to file print preview, double page and single page are not enabled and I don't know why and consequently I have no way to print out this document.
I am using OpenMaple (kv->rtableCreate or RTableCreate) to allocate large rtables which I then fill with data before returning to Maple. It seems to be slow. For example, a table with 120 Mwords takes 1 second to allocate and 0.640 seconds to fill. I suspect this is because the table is initialized to zero. I would like to skip this initialization and maybe use malloc to allocate the table, however I want it to behave like a normal Maple object (ie: garbage collected if not referenced, etc). The documentation says it is important to set rts->foreign to true, but it doesn't say why. Will this prevent garbage collection ? I would also like to know the purpose of rts->foreign.
Maple Professionals: I wish to prgramm a greedy heuristic in maple and would be more than grateful, if someone could help me, since I am no expert in programming. The problem is a simple stocking problem. There are two parts I wish to stock in my warehouse. I know their demand, delivery time and item cost. From the demand and the delivery time I can calculate the expected backorders given a specified number of units in stock based on a poisson distribution. In the greedy heuristic step by step I increase the stock of all items by 1 and then calculate the reduction in expected backorders divided by the item cost (some kind of "bang per buck"). I then compare the reduction over all items and increase the stock by one for the item with the highest reduction.
Maple needs commands to interpolate and plot large data sets. Consider the following:
# generate data
data := convert(LinearAlgebra[RandomMatrix](10000,2,generator=-100000..100000),listlist):
data := sort(map([op], [op(op(table(map(`=`@op, data))))]), (a,b)->evalb(a[1] < b[1])):
data := Matrix(map(proc(a) [a[1],a[2]/200.] end,data), datatype=float[8]):

# now suppose I take this data and...
f := CurveFitting[BSplineCurve](data, x);
plot(f, 0..100);
Someone trying to do this with real data (and 10000 points is small) will experience the following problems:
Maple needs proper sparse linear algebra. That means a data structure where row or column operations (good luck getting both) can be done in linear time and algorithms such as structured Gaussian elimination or iterative methods run in O(A) time, where A is the number of non-zero elements in the matrix.
Maple 11's implcitplot command contains a cool option to reduce the line count of a plot. I would like a separate command for this, along with the corresponding generalization (level of detail) to 3d plots. I think it would be good to apply this sort of thing automatically to make plots faster and also to make larger more detailed plots possible. I also think that the 3d plot facility is far too limited in terms of the number of polygons it can handle. It should be replaced with something capable of "millions of triangles per second", because that's what any $10 integrated graphics chip ca
How do I use Maple to apply depth-first search to a graph to obtain a depth-first search of numbering of the verticies. Once again I need to input my graph in order to retrieve this information. How does Maple provide this info based off my graph?
This is my system: rho * diff(diff(delta(x, y, t), t), t) = (y ^ 2 / 0.2e1 - d ^ 2 / 0.8e1) * Y * diff(diff(diff(diff(xi(x, y, t), x), x), x), x) + (((2 * G + lambda) * v - lambda) * diff(diff(xi(x, y, t), x), x)) + 0.16e2 * Q(t) ^ 2 * y * (d ^ 2 - 0.2e1 * y ^ 2) / d ^ 4 / b ^ 2 / l ^ 2 / e; diff(delta(x, y, t), y) = v * y * diff(diff(xi(x, y, t), x), x); i = 0.8e1 * Df * Q(t) / d ^ 2 + l * Lp * (int((2 * G + lambda * (v - 1)) * diff(diff(xi(x, y, t), x), x), x == (0..b)) + Y * d ^ 2 * int(diff(diff(diff(diff(xi(x, y, t), x), x), x), x), x == (0..b)) / 0.12e2) + diff(Q(t), t); My objective is to obtain the expression of delta,xi and Q to the space coordinates(x,y) and time,t.The other letters are constants. Can the maple do this? I try with pdsolve but obtain this error:
I need to solve following ODE: ODE:= y(f)*(diff(y(f), f, f))+50.0*f -50.0*f^2= 0 Subject to boundary conditions: BC:= (D(y))(.5) = 0, y(0) = 0 I used BVP method : dsol2 := dsolve({ODE, BC}, numeric, method = bvp[midrich], y(f), range = 0 .. .5) But I got " Error, (in dsolve/numeric/bvp) division by zero" Can someone please tell me what I can do. Thanks, http://maplenet.maplesoft.com/maplenet/worksheet/mapleprimes/4384_BVP.mw
Something I hadn't tried until today was calling into a DLL with Maple. I was surprised at how easy it is. Once inside a DLL, the sky is pretty much the limit as far as passing the data around between applications for realtime plotting and even passing to device drivers for other processing or even I/O in WinXP.
Is it possible to get/set the view option of a plot component using the DocumentTools package? I'm trying to plot a function containing a parameter whose value is controlled by a slider component. When I adjust the view using rightclick->manipulator->scale and then move the slider, the graph reverts back to the hard-coded scale in the original plot command. I'd like to set a default scale, then allow a user to set the scale using the scale manipulator and have that new scale persist through the next slider manipulation.
Did anyone here attend the 2006 Maple Conference ? If so, is anyone willing to share some of the papers from the collected proceedings ? I would just like to see what new exciting developments were created from the global Maple community. v/r,
i create an availability function for my markov model in which use constraits like 2 maintenance tresholds and some maintenance duration, mean time between failures. i want to determine the mean time between inspections value which max. the availability and plot its graph... should i have to give exact numerical values or is there any other ways to solve it..
First 242 243 244 245 246 247 248 Last Page 244 of 253