Scott03

774 Reputation

10 Badges

19 years, 327 days

MaplePrimes Activity


These are answers submitted by Scott03

When I had exported the image I had to choose which one to export (unless I do a screenshot). I choose p0 because I thought that was what you were talking about. But now I see that I misread the problem and it was the display of p2 setting color to white was the problem. It is correct that it doesn't change the color in p2, since the display help page says: "The options parameter can include plot options as described in the plot/option and plot3d/option help pages. This allows you to specify any options which are not already defined locally in the individual plot structures." Since the color settings were set in p2, the display ignored that option to change the curve color. Scott

I have Maple 11.02 on windows and your first code segment gets almost a white plot (since the y axis still has colour of black.  Scott

If you check the Display help page, the last sentence in the first paragraph in the Description says "All elements in L must have the same dimension". I would think that if your two plots both in variable x don't have the same scale, this may not be true any more. Although you should be able to mathematically alter one of the functions so that it will do what you are looking for. For example if the first function had the different, I believe it would be something like p1:=plot(100*(x/100),x=0..100): p2:=plot(x^2,x=0..1): plots[display](p1,p2); Edit: One command that you may want to take a look at is the scale command that is part of the plottools package. It would allow you to pass the p1 or p2 plot structure and be able to scale each dimension independently. Scott
I believe the function you are looking for is a OpenMaple. There is a simple example of having Maple to integrate an input in a file called test.java. On a Windows installation of Maple 10 or 11 you can find this file in C:\Program Files\Maple 11\samples\OpenMaple\Java\simple. You can also find the code for this within the Maple help system under ?OpenMaple,Java,Examples. Scott
The problem that you are encountering is that you are raising the letter e to an exponent where the value of e is unknown. If you are looking for the exponential function, you can use either exp() or use the e from the expressions palette. The function you will need to plot is f:=x->(exp(-a*x^2)-b*x*ln(1+x^2))/(2+x^2+c*sin(Pi*x)); There is another forum topic discussing this fact that some people may want the e to be something other than the exponential function and that may be why it isn't the exponential function by default. Scott
This is like another clickable calculus application found here . In your case the equations would be x+2*h=6 y+2*h=6 V=x*y*h The application should show you what you cad do to solve this with just right clicking and using the context sensitive menus. A full listing of the Clickable Calculus Applications can be found here. Scott
This sort of questions is very similar to one of the Clickable Calculus examples created by Maplesoft here . In the example they are ships moving away from a point, while you want the cars moving down. So you would just change the two equations. For example the first equation would be something like y:=t->0.5 - 96*t; And the second car would be x:=t->1-88*t; Scott
The link to the file has been updated in the post. Scott
For your first question you could use the display function. See the following: with(plots): P1:=implicitplot(x^3+3*x*y+y^3 = 1, x = -2.5 .. 2.5, y = -2.5 .. 2.5): P2:=display([polygon([[-1, -1], [1.50322, -.503215], [-.503215, 1.50322]])], scaling = constrained): P3:=display((plottools[line])([-1, -1], [.5, .5]), color = red): display({P1,P2,P3}); As for the triangle, you can create the triangle by using the triangle function from the geometry function, but for that you will need to pass points (that are created first). Here is a function that if you add the list of points, it will create the plot you are looking for: FullTriangle := proc (a, b, c) local plot1, plot2, A, B, C, l1, l2, l3, t1, Tangles; geometry:-point(A, a); geometry:-point(B, b); geometry:-point(C, c); geometry:-triangle(t1, [A, B, C]); geometry:-line(l1, [A, B]); geometry:-line(l2, [A, C]); geometry:-line(l3, [B, C]); #Find the interior angles in degrees Tangles := [convert(geometry:-FindAngle(l1, l2), units, rad, deg), convert(geometry:-FindAngle(l1, l3), units, rad, deg), convert(geometry:-FindAngle(l3, l2), units, rad, deg)]; plot1 := geometry:-draw(t1, axes = normal); plot2 := plots[textplot]([[op(a), convert(Tangles[1], string)], [op(b), convert(Tangles[2], string)], [op(c), convert(Tangles[3], string)]]); plots[display](plot1, plot2) end proc: FullTriangle([-1, -1], [1.50322, -.503215], [-.503215, 1.50322]); Scott
For example you can go from 2*sin((A + B)/2)*cos((A - B)/2) to sin(A)+ sin(B) by calling: combine(2*sin((A + B)/2)*cos((A - B)/2)); To go the other way you can use trigsubs(sin(A)+sin(B)); I haven't used the trigsubs command before so I am not sure how useful this will be for non identities or identities that it cannot match. Scott
What happens if you change the command to plot(x*x,x=-1..1,y=0..1)) If you look at MapleNet, there is a plotting example called MaplePlotTest.jsp. Also, I am not sure if this matters in your case, but what version of MapleNET are you using? Scott
First off, The classic interface doesn't have a document mode. Only the standard interface (the one with the red leaf) of Maple 10 and Maple 11 have this choice. For Maple 11, the Document Mode will look something like this: For Maple 11, the Worksheet Mode will look something like this: As for your question about an Evaluation versions, there is no link to download an evaluation version and to my knowledge there is no evaluation version. Scott
Actually what you have pointed out isn't something wrong with collapsed sections just different output depending on the input. You would get the same output if you did the same function in a Document Block. Document blocks (and also these collapsed document blocks that are hiding) do not seem to show the left side of the assignments. A simple example showing this is to do the following: Enter the following in a document block: a:=5 This will give the output of 5 If you enter the following in a execution group (in Document mode or just enter in a worksheet mode, still 2-D input) >a:=5 This will give you the output of a:=5 I hope this clears this up a bit. Scott
pswd, what version are you using? Is this Maple 11? What operating system are you using and what icon are you clicking on to launch Maple? Are you launching the standard interface that has the red leaf or the classic interface that has the gold/yellow leaf? As mentioned earlier, there isn't a edition of Maple 11 that doesn't have the option of Worksheet or Document mode for the standard interface. Scott
Wouldn't this be what you are looking for: f:=v->v[1]+v[2]; f([1,3]); 4 The problem is that the subscripts are table references, so just pass the full table and then take out the values you want during evaluation. Of course, if you trying to create a more robust code, I would suggest using a proc statement with some error checking to catch that the table being passed has the correct number of values. Scott
First 17 18 19 20 21 22 23 Last Page 19 of 30