## 273 Reputation

19 years, 166 days

## MaplePrimes Activity

### These are answers submitted by jaytreiman

I need some clarification since the solution below does not require any actual optimization by Maple. I am assuming that you have numerical values, not ranges, for A, B, C, D, E, and F. Your first constraint is a linear constraint, either a*x+b*y0, the answer is 0. If they are parallel and k>0, a simple computation will give you the G such that the lines are identical and that gives you your infimum. (It is a minimum only if you have a*x+c*y<=k. ) From here you can get a point on the line x*E-y*F=G that is in your half-plane. This can also be reformulated as a linear programming problem. Is that what you want?

## You can animate the plot....

Another way to do this is to animate the plot. plots[animate](k*x^2 - k*x^4,x=-2..2,k=-8..8,view=[-2..2,-8..8]);

## The order of evaluation may be your prob...

Try defining a function like that below. It does the trick for a disk. Similar functions may work for what you are doing. ```f := proc(x,y) eqn1 := eval(subs({x1=x,y1=y},(x1-t)^2 + y1^2 <= 1)); solve(eqn1,t); end proc; ```
``` ```
``` One possibility.... Answered: jaytreiman 273 November 26 2007 0 0 Does the following give you an adequate display? maple("printf(MathML:-ExportPresentation(du(0)/dx=b));"); If not, there is some mathml generated by Maple that I edited to give the "usual" form in the attached file. MathML file Plotting quadric surfaces.... Answered: jaytreiman 273 October 02 2007 0 0 Sorry, I did read new threads from the bottom and didn't notice the new threads on the same topic. Would a moderator please combine the threads. Which version of MapleTA are you using?... Answered: jaytreiman 273 September 11 2007 0 0 I have had some problems with MapleTA 2.51 not generating MathML occasionally. Is that the version you are using? I am interested in the version since I hope to move to 3.0 by January. You can save your variables and reload t... Answered: jaytreiman 273 July 11 2007 0 1 For everything that is said, Maple will not exactly reproduce what you have gotten. It will change orders and forms of some output. It is inelegant, but you can use the "save" and "read" commands to keep the state of your worksheet for when you return. This is done by naming all output, even that which is not displayed. One then writes all of the variables to a file using the "save" command. At the top of your worksheet, after any "restart" and "with" commands but before any other executable commands, one adds an appropriate "read" command to load all of the variables. I suggest putting the "restart," "with," and "read" commands inside an autoexecute group. It would be nice if Maple had a command to save the state of all variables and output, named and unnamed, before exiting so that you could easily restart where you stopped. What is the g you are getting?... Answered: jaytreiman 273 June 11 2007 0 3 Attached is a worksheet with the commands. Here is the worksheet. If I am reading your commands correctly, you should see (approximately): > y = x^2; > solve((1),y); > g := unapply((1),x); > g(2); > The item labeled (1) is an equation. The equation does not assign a value to either x or y. When you unapply x to this equation you get a function whose output is an equation. As you can see, g(2) gives y = 4, an equation. I hope this helps explain the behavior you are seeing. View 108_unapply_example.mw on MapleNet or Download 108_unapply_example.mwView file details matrixDE... Answered: jaytreiman 273 May 29 2007 0 0 If this is a system of differential equations, try matrixDE from the DEtools package. This works for me.... Answered: jaytreiman 273 February 16 2007 0 0 The code I would use to get the MathML is \$a = range(-5,5); \$b = range(-5,5); \$c = range(-5,5); \$eq = maple("printf(MathML[ExportPresentation]((\$a)*x+(\$b)*y+(\$c)*z = 0)); "); Then in the question itself I simple put \$eq This gives me the desired equation with no problems. How to do this.... Answered: jaytreiman 273 January 19 2007 0 0 The problem is with an assumption about the kernel. If you copy the installation file to a directory on your hard drive. Make a copy of the file, say LinuxInstaller.bin.bak. The use the following command to commment out the offending line. cat LinuxInstaller.bin.pak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > LinuxInstaller.bin You can then use the installer. This is the same method as I used to install Maple 10 on SUSE 10.1 and for Ubuntu 6.10. This technique can be found on the Ubuntu community forum and varius other places. ```
``` 1 2 3 4 5 Page 5 of 5 ```
``` ```
``` ﻿ .ui-dialog{font-size: 90%;} .shareTitle { font-family: 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; font-size: 1.1em; font-weight: bold; font-style: normal; color: #3366CC; } .shareTopic { font-family: 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; font-size: 1.1em; font-weight: bold; font-style: normal; color: Black; } .shareMain { width:400px; height:490px; /* boder radius*/ -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; border-style:outset; padding-top:5px; } .roundBody { /* boder radius*/ -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; border-style:outset; padding-top:5px; } .sharelink { background-image:url("/images/share/link2.png"); background-position:0 25%; background-repeat: no-repeat; float: left; width: 255px; padding-left: 24px; margin-top:10px; margin-left:20px; } .shareButton { cursor:pointer; text-decoration:underline; } .textInput { width:329px; color:Gray; margin-top:10px; margin-left:20px; resize: none; } .FBtextInput { width:250px; color:Gray; margin-top:10px; margin-left:5px; resize: none; } .shareURL { width:320px; color:Gray; margin-top:10px; resize: none; } .shareOptions { float: left; width: 355px; margin-top:20px; margin-left:20px; margin-bottom:10px; float: left; } .shareIcons { float: left; margin-left:8px; cursor:pointer; } .shareFooter { height:60px; width:400px; background-color:Silver; margin-top:10px; position:fixed; top:437px; overflow:hidden; -webkit-border-bottom-right-radius: 10px; -webkit-border-bottom-left-radius: 10px; -moz-border-radius-bottomright: 10px; -moz-border-radius-bottomleft: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; } .footerButtonWhite { border-radius: 4px 4px 4px 4px; box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.07); cursor: pointer; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); font-family: "lucida grande",tahoma,verdana,arial,sans-serif; line-height: 26px; margin-top:20px;; margin-right:20px; float: right; } .footerButtonBlue { background: #1e5799; /* Old browsers */ background: -moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */ background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */ border-radius: 4px 4px 4px 4px; box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.07); cursor: pointer; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); font-family: "lucida grande",tahoma,verdana,arial,sans-serif; line-height: 26px; margin-top:20px;; margin-right:20px; float: right; } .modal { text-align: center; } @media screen and (min-width: 768px) { .modal:before { display: inline-block; vertical-align: middle; content: " "; height: 100%; } } .modal-dialog { display: inline-block; text-align: left; vertical-align: middle; } .ui-dialog { z-index: 1000 !important ;} .ui-progressbar .ui-progressbar-value { background-image: url(/images/pbar-ani.gif); } .style1 { width: 377px; } .style2 { height: 35px; width: 403px; text-align: center; } .style3 { height: 70px; width: 403px; text-align: center; font-size: small; } .style4 { height: 39px; width: 403px; text-align: right; } .style5 { font-weight: normal; } .style6 { font-size: x-small; } Please log-in to your MaplePrimes account. Wrong Email/Password. Please try again. E-Mail Address: Password: Remember Me: Automatically sign in on future visits Forgot your password? Create a New Account ```
``` Ask a Question Create a Post ```
``` ```
``` ```
``` ```
``` Connect with Maplesoft: Questions  |  Posts  |  Tags  |  Users  |  Unanswered  |  Maplesoft Blog  |  Badges  |  Recent About  |  MaplePrimes Help  |  Support © Maplesoft, a division of Waterloo Maple Inc. document.write(dateObject.getFullYear()); .  |  maplesoft.com  |  Terms of Use  |  Privacy  |  Trademarks ```
``` Generating PDF… PDF ready for download. Error occurred during PDF generation. Please refresh the page and try again Login to Your MaplePrimes Account E-Mail Address: Password: Remember Me: Automatically sign in on future visits Forgot your password? Create a New Account \$('#loginModel').on('shown.bs.modal', function() { \$('#userModelEmail').focus(); }) ```