Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
Hello Maple community!

As a part of a more complex (global) optimization problem I have a simple trigonometric parametrization of a classical probability distribution, i.e. just a list of positive number that sum up to 1. For test purposes, I take now one arbitrary element, p, of that probability list and use it as a target function for an optimization. Of course, one expects that one will find suitable parameter sets for minimizing/maximizing p. So here is my simple target function for the case of N=10 probabilities (requiring N-1=9 parameters):

objective := proc(x1, x2, x3, x4, x5, x6, x7, x8, x9)
I have found a very interesting physics problem which describes the motion of an airplane, it is a very simple math model. We use only two coordinates, x(t) and y(t), t is the time. The airplane starts at the point (0,a), a>0 and airport located at the origin (0,0). It leads to the differential system ( v0, w>0 are given ):
sys_ode:=diff(x(t),t)=-v[0]*x(t)/sqrt(x(t)^2+y(t)^2), diff(y(t),t)=-v[0]*y(t)/sqrt(x(t)^2+y(t)^2)+w;

   d                v[0] x(t)         d                v[0] y(t)          
  --- x(t) = - --------------------, --- y(t) = - -------------------- + w
   dt                         (1/2)   dt                         (1/2)    
I am currently working on a project that would involve students integrating a standard normal cumulative distribution function in Maple (essentially an erf function). This a simplified version of what we're attempting to integrate: CDF(a*ln(x)+b) from x=0..S. This should yield a closed-form solution like S*CDF(stuff)-K*CDF(other stuff) Of course, if one attempts to integrate the original CDF the integral will not evaluate. Is there a way around this, or will Maple simply fail to integrate erf(ln(x))? Thanks, Dan
Hi, I've been using maple10 worksheets under os x, setting the default zoom to 75%. This is fine. However, I've recently migrated to a linux system. Now, if I display a matrix under maple10 (or maple11) with 75% zoom, all of the spaces around the entries of the matrix are lost! This makes for unreadable 2d output. This is also true under 50% zoom (which is already unreadable) and if I change the default zoom in my .maple10rc file to _anything_ less than 100%, the same loss of spacing results. Does anyone else find this to be a problem. Sure, I can work with 100% zoom, but if there's a s
The first function I am trying to plot with maple is r(t)=3cos(2t)i-2sin(2t)j, and the second is r(t)=(t)^(1/2)i+(t^2-2t)j. If anyone can help me with the command lines that I must type to properly plot these function in maple I would be very grateful. :)
I am just starting to work with Maple 11, and having problems plotting two (single variable) functions in the same set of equations. I had thought that the way to do this was to plot a function, create a second expresssion in Math mode, and then simply drag the expression into the plot area. What happens is that the expression disappears, and nothing happens to the plot. when I use plot({expression1,expression2}) , the plots appear just fine. Are there any tips for me? I'm trying to write an "introduction to Maple" for beginning Calc I students, so I want to be able to give them the simplest instructions possible.
Hello, I am using dsolve to solve a set of coupled differential equations. After they are solved I do some further manipulations on them. Every time I restart maple and execute the document, maple solves the equations but puts them in a different order and has the constants mixed up. Thus I have to keep hitting the (!!!) button until I happen to get the solution I had when I did the further manipulations. Is there a way to proscribe maple's output to a certain order? Here is an example: One time the solution will look like: {F(x) = f(x)*_C1 + g(x)*_C2, G(x) = m(x)*_C3 + v(x)*_C4}
I'm using the following bit of code: step1:=1:for w[x] from start by jump to finish do: fsolve(test2,k,complex): answer:=%: k1:=Re(answer[1]): k2:=Im(answer[1]): k3:=Re(answer[2]): k4:=Im(answer[2]): data[step1,1]:=w[x]: data[step1,2]:=k1: data[step1,3]:=k2: data[step1,4]:=k3: data[step1,5]:=k4: step1:=step1+1: end do: Obtain All Data Points from Array points1:=seq([data[d,2],data[d,1]],d=1..nopoints): points2:=seq([data[d,3],data[d,1]],d=1..nopoints): points3:=seq([data[d,4],data[d,1]],d=1..nopoints): points4:=seq([data[d,5],data[d,1]],d=1..nopoints): Obtain Relevant Data Points
It's me again, got another problem i have another hyperbolic paraboloid equation 3*x^2-5*y^2=z and it's conic sections at xy(z=0), xz(y=0), and yz(x=0) plane 3x^2-5y^2=0 3x^2-z=0 5y^2+z=0 but i have problems converting those conic equations into parametric equation, so it can be plotted using the spacecurve command Can someone help??
I am stock on this my prof gave me an equation to draw on maple 16x^2=y^2+4z^2 and this is the code i keyed in restart: with(plots): > p1:=implicitplot3d(16*x^2=y^2+4*z^2,x=-100..100,y=-100..100,z=-100..100,numpoints=2000,style=wireframe): > display(p1); and the graph suppose to be a cone rotating around the x-axis but i don't know wut i did wrong, i just couldn't get the graph look like a cone, instead, it looks like a hyperboloid of two sheets, and the sheets are very close to each other Can someone help?? Thx
I am trying to compile the OpenMaple example omexample.c using Bloodshed Dev-C++, but I am getting linker errors. I have tried adding maplec.lib to the linker parameters under project options, and I have also tried copying the library to my working directory and passing it as a compiler command option. Neither has worked. Thanks in advance for your help. Regards, layne
When I use: >with(process) >launch("notepad") then notepad is open in the background, but, how do I to run another aplication? with matlab is easy, but e.g. How do I with Origin? or How many formats (i.e. .pdf,.txt, etc.) accept maple? Thanks a lot
The equation of a sphere is x^2+y^2+z^2=1, and its traces are x^2+y^2=1-k^2 z=k x^2+z^2=1-k^2 y=k y^2+z^2=1-k^2 x=k can somone help me how to graph the traces using spacecurve command so the traces matches the sphere? thx!!
Greetings, For a school project i am trying to calculate a trajectory of a spacecraft to mars. Using newtons equations and the numerical D.E. solver i calculated the orbits of earth and mars around the sun(which i am also using as my coordinate origin.) Then i use these results in a differential equation to find the position of a rocket launched from earth. I am shooting it in an arbitrary direction just to get started. The solver does its job and i rename the X,Y,Z coordinates of the rocket (formely called Xr,Yr,Zr) to X3,Y3,Z3. The problem is when i want a numeric answer, i.e i type in X3(400)...i get
Hi I am using Maple (9.5) to calibrate the value of an expression for a bond to obtain "issue-at-par-value". Part of the procedure is to minimize the valuation-expression by changing the bankruptcy-level. I use the following: B3 := Minimize(HYB(100,10,x,0.06,0.0023),x=0..65); and get typically: [70.003...,[x=50.15...]] When I then need to use these results in the next iteration, I can pick the value (70.003...) by typing V := B3[1]; No problem so far, but I need help to be able to assign the value of 'x' to a variable I can use later. I have studied manuals, Help-pages etc., but as my PhD-thesis is due in shortly, I hope someone may help me..
First 1863 1864 1865 1866 1867 1868 1869 Last Page 1865 of 1984