MaplePrimes Posts

MaplePrimes Posts are for sharing your experiences, techniques and opinions about Maple, MapleSim and related products, as well as general interests in math and computing.

Latest Post
  • Latest Posts Feed
  • I have been working on equations containing trig functions, using manual methods, Maple's solve, and Maple's Roots, each as a check on the others. Up to now, I've been able to resolve discrepancies, but Roots balked on the following problem, and I don't know why. _EnvAllSolutions := true; solve( {sin(3*alpha) - 0.34},{alpha}); {alpha = 0.1156 + 0.8159 _B27~+2.094_Z39~} with(Student[Calculus1]):Roots( sin(3*alpha) - 0.34,alpha = 0..12); [ ] Roots doesn't like 0.34 & some other constants but the following with constant 1 does give me an answer: with(Student[Calculus1]):Roots( sin(3*alpha) -1,alpha = 0..12);
    The command > contourplot(-1,x=0..1,y=0..1,contours=[0],filled=true); is supposed to fill the whole space with red (color for negative values) but it does nothing this is also problem once I need to define a piecewise function which is constant according to some condition, e.g. > f:=(x,y)->piecewise(x>1/2,x*y,-1); > contourplot(f(x,y),x=0..1,y=-1..1,contours=[0],filled=true); this should fill the entire half plane x>1/2 with red, it fills only part of the first quadrant...
    The simpliest version of my problem is this: > f:=(x,y)->fsolve(sin(x+y+z)=1,z) > f(5,5); still ok but now: > plot(f(x,5),x=5..10); sais: "Error, (in fsolve) x is in the equation, and is not solved for" it seems as Maple would not first evaluate x:=5 and then solve f(x) :'(
    I am looking for a program that will accept equations containing trig functions, determine whether they are identities, & if so, display the proof line by line. For example,the following equation can be proven to be an identity in about 11 steps: sec(u + t) = (cos(u)*cos(t)+sin(u)*sin(t))/(cos(u)^2-sin(t)^2) If such a program does not exist, I think it might be a useful exercise to write one. Alla
    i wish to know how to install my Maple 10 onto my laptop which uses Windows Vista.
    Hi, folks. I don't have much experience with Maple. At the moment I am trying to get an idea how the underlying algorithms for polynomial root-finders compare. For example, I believe MATLAB creates the companion matrix for a polynomial to then solve for its roots (eigenvalues). NAG routines use the method of Laguerre. NETLIB routines use the Jenkins-Traub Algorithm. What is the underlying algorithm used by Maple to compute the roots of polynomials?
    I'm trying to solve cos(x/2) = 1/2. Both manual methods & graphing indicate that the two smallest nonnegative solutions are 2Pi/3 and 10Pi/3. However, Maple gives me > {x = 2/3*Pi-4/3*Pi*_B2+4*Pi*_Z4}; Maple agrees that the smallest nonnegative solution is 2Pi/3. The second solution is 2Pi/3 - 4Pi/3 = -2Pi/3. This is coterminal with 4Pi/3 but it is also coterminal with the apparent correct answer 10Pi/3. But how would I know that from Maple's answer?
    Hi community, Could you please shed some light on the algorithmic implementation of Local optimization library. I'm confused about the difference between Local Vs. Global Optimization in terms of the algorithms being used. Is it the same algorithms for L vs. G Opt. with an improved version of the same algorithm in the Global package. Or it is completely different algorithms.... Thanks in advance
    If one has ever used an XML editor, one knows the frustration of you having to do the bulk of the work locating mismatched or unclosed <> tags. Let us view tags as delimiters on sets and subsets. Consider the case where the XML editor has checked all beginning and ending tags and found an equal number of beginning and endint tags of a given name: a, b, etc. Nevertheless, even though we have an equal number of and tags and and tags is wrong syntactically because the "set" "intersects" with the "set" non-trivially, yet neither set is a proper subset of the other. Certainly, if a computer algebra system such as Maple can determine set overlaps like this, then

    Stephanie Rozek chats with Fr. Mike May, from St. Louis University, during the Joint Mathematics Meetings in San Diego. He discusses his work with Maple, and especially how he uses it to teach courses in cryptography. A recording of his lecture “Using Maple worksheets to enable explorations of cryptography with minimal background” follows.

    I've made up a worksheet of the Top Ten Maple Errors, containing some of the common mistakes I often see newcomers to Maple commit (especially in the setting of my Introduction to Mathematical Computing class). I hope you will find it useful in trying to avoid those mistakes. Of course this is only a personal list, and not exhaustive. Please feel free to argue the merits of other items that should be included in the list. Here is the link: Download 4541_topten.mw

    For the past decade Doug Meade, at the University of South Carolina, has created and maintained a two-page document with essential Maple commands. The first version was created for Maple V, Release 4, in January 1998. n update has been created for each version of Maple (except Maple 10) as it was released. The document has become pretty stable - hence the omission for Maple 10. Here are links to the complete set of documents he has created

    Comments, corrections, and suggestions for improvement are welcomed. Please contact the author by e-mail.

    How can one add something that will show up as < in the Subject line of a posting here?

    The goal is to have it show up properly both at the top of the post itself as well as in the "Recent comments" right-sidebar.

    Regardless of whether the "Input format" is "Plain Text" or one of the HTML variants, a literal, typed < shows up as blank in the final displayed Subject field. Ie, it gets treated as HTML.

    But with Input format as HTML, a literal, typed < displays as a nicely marked up < symbol in the Subject field but shows as raw source in the "Recent comments" field.

    Is there any way to enter < symbols in the Subject line so that they appear properly in both locations?
    In Math Mode in a Maple worksheet, how do I type something such as L := [1, 2, "abc", "a", 7.0, infinity]; for x in L do if type(x, 'string') then print(x); break end if end do on multiple lines? Also, please show me in the online Help menu the explanation for how one makes such line breaks without setting off execution. I got Maple last August. I have searched the online Help menu for any mention of a line break but have not found it. Thank you.
    I want to get the entire solution set for cos(x) = -1/2. Maple gives me {x = 2/3*Pi-4/3*Pi*_B15~+2*Pi*_Z15~}; Can someone interpret this for me, character by character? Allan
    First 213 214 215 216 217 218 219 Last Page 215 of 308