Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
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.
I am exporting 3d shapes generated by plot3d/surf3d to postscript, here is a comparison between my 11-year old copy of Maple from when I was a Freshman (left), and my current version(right): torus :( I've pretty much given up fiddling with the settings in Maple 11 to improve the quality; at this point, I'm wondering if anyone has any idea how to modify the .ps file itself to get rid of the thin diagonal lines that go through every quad in the (right) version. If it's simple enough, I could write a perl script to post-process my plots...
Hiya! I'm at a loss for how to properly generate a set of n x n-matrices of the form [-1]; [[0,-1], [-1,0]]; [[0,0,-1], [0, -1, 0], [-1, 0, 0]] ... and so on, for n from 1 to an arbitrary value. I've had a good look at the constructer options for Matrix() but failed to spot the proper solution. I'd like to do so in a loop or seq, so I can perform the needed operations on them, without having to keep a lot of arbitrary variables. Any good hints or tips?
Hi guys. How do I plot the solutionpoint from an optimization as a function of a parameter in an effective way? The problem I'm struggeling with is the following. I'm interested in the optimal E of V := (E,a) -> int(-1/2*E*(-r+E)/r*((1/2*r)^(-1+a)*(1-1/2*r)^(-1+a)/Beta(a,a)),r = E .. 2); for any given a, given 0<>
I am trying to write a procedure that uses LinearAlgebra[SingularValues]. For some reason, the line U,S,Vt := LinearAlgebra[SingularValues](covariance, output=['U','S','Vt']); causes the procedure to give the error message: Error, (in LinearAlgebra:-LA_Main:-SingularValues) invalid output (U) specified However, outside the procedure the same line works perfectly. Any help will be much appreciated!
Hi, I was wondering if there is a way to use Document Components or Maplet Elements from Java? Is there a file that has the library for these components? I use the Netbeans environment, has anyone set up that environment to use Maple libraries? Thanks, Art
I have the initial and boundary conditions: cond := ro(x, 0) = 0, v(x, 0) = 0, {ro(0, t) = 10, ro(40, t) = 20}, {v(0, t) = 10, v(40, t) = 20}; The PDE system is: sys2 := {diff(ro(x, t), t)+diff(ro(x, t)*v(x, t), x) = 0, diff(v(x, t), t)+v(x, t)*(diff(v(x, t), x))+3*ro(x, t)*(diff(ro(x, t), x)) = 0}; I use: sol1 := pdsolve(sys2, {cond}, numeric, time = t, range = 0 .. 40); values := sol1:-value(); ... When I try to see the values I receive the following error: values(40, 20); Error, (in solnproc) unable to compute solution for t>0.: column vector dimension less than length of sparse data
I am trying to calculate the second derivative of a taylor expansion. Could anyone tell me how to enter this command? Thanks Rachel
Can someone point me in the direction to integrate a maple file into a java program? I made a maple file that has a variable and will output a final graph after long calculations.. What I want is a nice java app where the user can simply type in the variable they want, and a graph is displayed in a window? Just a general kick in the butt to the direction for documentation about such a process would be great! Thanks!
Inspired by the post Re: the physics package I decided to have a closer look at the function FeynmanDiagrams. As the Lagrangian I thought I might as well take the QED Lagrangian for a massless spinor field Q[i](X) coupled to an external electromagnetic field A[mu](X):
restart:
with(Physics):
Setup(advanced):
L_QED :=
   +Dagger(Q[i](X)) * Dgamma[4] * Dgamma[mu][i,j] * I * diff(Q[j](X),X[mu])
   +Dagger(Q[i](X)) * Dgamma[4] * Dgamma[mu][i,j] * e * A[mu](X) * (Q[j](X));
Hello, I'am using Maple 11 and have the following problem concerning plots of ODE: ode := M*(diff(x(t), t, t))+K*x(t) = Force; sol := dsolve({ode, x(0) = 0, (D(x))(0) = 0}, numeric); xx := (t) -> rhs(sol(t)[2]); dx := (t) -> rhs(sol(t)[3]); M := 1; K := 4*Pi^2; test := proc (F, t) global Force; Force := F; xx(t) end proc; When I call test(F,t) directly everything works fine: test(2, 2); -2.49946953367608378 10 ..... However, when I try to plot the test-function vs Force I get an error message: plot(test(pressure, 1), pressure = 1 .. 3); Error, (in sol) global 'Force' must be assigned to a numeric value before obtaining a solution
I've been trying to plot the function f:=x->(e^(-a*x^2)-b*x*ln(1+x^2))/(2+x^2+c*sin(Pi*x)); with values a,b,c which have been assigned on maple. when i try to plot the function using: plot(f(x),x=-4..4); I get the error: Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct Error, empty plot I have tried all ways i can possibly think and cannot get it to plot the graph. Can anyone help?
Although this question might seem silly to Maple experts, I cannot help asking, since despite a long search through Maple Help and Maple Guides I was not able to come across the answer. What I mean is this: > eq1 := diff(y(t),t)-y(t)^2+y(t)*sin(t)-cos(t) = 0; > # here I want some command that would return the order of eq1, i.e. 1 > something(eq1); > eq2 := diff(y(t),`$`(t,2)) = y(t)*u(t) + diff(u(t),t); > something(eq2,y); # this should return 2 > something(eq2,u); # this should return 1 Besides, I would also need the same for recurrent (shift) equations, i.e.
So what is the best way to put a "link" from one place in a maple document to another. So that someone can jump quickly when clicked? Thanks!
First 1867 1868 1869 1870 1871 1872 1873 Last Page 1869 of 2001