Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
Hi, I'am trying to solve a nonlinear (spring) ODE like: > ode := A*(diff(x(t), t, t)) + B*(diff(x(t), t)) + R(x(t)) = 1; ...So, I defined a nonlinear (elastic-plastic) resistance function R(x(t)): > xLast := 0; RLast := 0; Rmax := 1; > R := proc (x) > local RR, dx; > global xLast, RLast, Rmax, K; > dx := x-xLast; > RR := RLast+K*dx; > if Rmax <> elif RR <> end if; > xLast := x; RLast := RR; > return RR; > end proc; ...Set up the ODE: > xLast := 0; RLast := 0; > ode := A*(diff(x(t), t, t))+B*(diff(x(t), t))+R(x(t)) = 1;
Is it possible to dislay two functions in different scales in the same diagram? E.g. one function taking values in the range 1..10 and another taking values in the range 0.01..0.1. The reason I want to do this, is to display functions (on different scales) which interact in the same diagram so they can be easily compared. I can, of course blow one function up, but I find that slightly dissatisfying, as the numbers loose their meaning, and understanding the plot becomes more difficult. If this is not possible, is there a way I can effectively export the ploted 'data' and redraw the graphs in another more suitable program? Any tips or help appreciated.
Hi! I'm searching for a useful guide of the MapletBuilder (for Maple 11). I know how to create Boxes 'n' Stuff. Now I want to assign commands to the buttons,which should be executed by pushing them but I don't know how to do that. By that I mean where to put them and what kind of commands exist or do I have to use. I need a guide with some examples. It would be great if anyone could help me. Thanks paience
Dear All, I seem to be having trouble with 0^n in maple, can someone help? Essentially, I have a complex function that simplifies under certain conditions to
f:=1.*0.^n/factorial(n);
but
sum(f,n=0...0);
gives 0. Whereas,
evalf(subs(n=0,f));
gives 1. Any ideas? Thanks Colin
Can Maple be used to test infinite series for convergence ? Are the many tests for convergence already built-in Maple ? Thanks, v/r,
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: Image and video hosting by TinyPic 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.
First 2089 2090 2091 2092 2093 2094 2095 Last Page 2091 of 2224