Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hello,

I'm trying to evaluate an integral numerically on a unix system with the command line version of maple (version 16). For some entered parameters the integral evaluates quickly but for others it never seems to be able to complete the computation.

Moreover, when running the files, which are .mpl files, via the GUI all integrals are evaluated with ease.

So far I have been unable to find why some integrals and not others are evaluated when submitted via the command line version.

Use Newton's Method to find a local extrema for f(x)=sin(x^2)+x

with start point x=(1,0)

take derivative of f(x) then apply Newton's Method

 

My teacher started us off with this but I can't seem to get it to work the way she did, any help would be appreciated!

 

prcNewton:=proc( ) 

  local ftn,strpt,epsilon,maxlps,i,xn,dftn; 

  if nargs>4 then     

 

Given the following expression:

i got error while running the code. 



restart; de := diff(f(y), y, y, y, y)+2*W*(diff(f(y), y, y, y))^2+3*(diff(f(y), y, y, y, y))*(diff(f(y), y, y))-(M*M)*(diff(f(y), y, y))+G*(diff(theta(y), y, y))+B*(diff(phi(y), y, y)) = 0, diff(theta(y), y, y)+Nb*(diff(theta(y), y))*(diff(phi(y), y))+Nt*(diff(theta(y), y))^2 = 0, diff(phi(y), y, y)+Nb*(diff(theta(y), y, y))/Nt = 0, f(h1) = (1/2)*F, f(h2) = -(1/2)*F, (D(f))(h1) = -1, theta(h2) = 1, phi(h2) = 1, (D(f)...

I have trouble with Maple's add-function. It is usually very good at manipulating my sums using Binomial coefficients, but Maple calculates outright wrong in this example, when using the sum-function:

http://dl.dropbox.com/u/22027008/maplePlay.mw

I would like to use Maple's features for reasoning about expressions (solve etc.), so the numerical add is not desirable. What to do?

 

Hello,

I'm really new in Maple so the problem I have may look somewhat trivial. I have to solve a system of equations for two variables (V and alpha). All the expressions shall be reduced at the end in three (Assuming that 2 of them will be dependent). The code I've written is:

> Vax := proc (V, alpha) options operator, arrow; V*cos*alpha-w*cos*(phiW-phi) end proc;
> Vay := proc (V, alpha) options operator, arrow; V*sin*alpha-w*sin*(phiW-phi) end proc;

At our site, we deploy Maple using Microsoft APP-V. It is working fine on other PCs but a strange problem is occurring on the podium PC of a lecture theatre, in which Maple 16 launches works and works fine until an open bracket is typed, i.e. (

It then hangs and no further input can be typed in, or any other action done. The only thing it allows is to do File > Exit.

The Classic Worksheet of Maple 16 doesn't give this problem.

I would appreciate your comments on this.

There are two interesting threads about definite integration on the usenet group comp.soft-sys.math.maple posted in the past few days.

The first thread is more about the wrong result coming out of Maple's int command when computing via its `MeijerG` method. Motivating examples there include

int(cos(t)/(1+t^k), t=-infinity..infinity);      # for k=10,12,14,...

The poster demonstrates using residues to obtain a terse result.

In the second thread the poster examines the ideas that the solutions involving RootOfs (as returned by the `ftoc` method) may suffer from numerical difficulties during floating-point evaluation and are unnecessarily complicated when re-expressed in terms of more standard functions (ie. allvalues, then simplification...).

For those interested, an existing `contour` method exists within `int`. It is not very strong however. One can examine its source using commands such as,

showstat(`int/definite/contour`);

showstat(`int/definite/contour/def1`);

etc.

See also Methods of contour integration on wikipedia.

i want maple to return only positive real roots of a cubic polynomial.

polynomial: x^3+15*x^2-25*x-29

maple command and output:

(op(select(t -> evalf(t) > 0, map(Re+Im*I, simplify(evalc([solve(x^3+15*x^2-25*x-29,x)]))))));

I am trying to plot a Linear Population Model using Maple, could anybody tell me what I am doing wrong. My plot is just registering as a straight line at 1.0 and I know this is incorrect.

>

How does one keep a literal subscript from being translated into a indexed subscript?

Keyboard shortcuts work fine putting in the literal/index characters in Maple 2D.  If one converts the view to Maple 1D the text shown is correct.  But, as soon as one makes a next operation, Maple converts all of the literals to indexes!!!!  What's going on?

While it seems one could just keep working in Maple 1D input, this makes no sense.  The whole purpose...

hey guys, i need to do a couple presentations where i need to present some animations of equations such as

f(x) := a*(2*x^3 + x^2 - 3*x)    a=1..10

 

the question is how can i take the animation provided by maple and convert it to a some sort

 of video file such as and .avi file??

I am having trouble figuring out how to input the following functions:

 

1. Use Maple to find (vector)T for the vector function r=(cost+tsint)i+(sint-tcost)j+5k

 

 

2. Find the length of the curve, r=(3cost)i+(3sint)j

I want to solve two equations with all roots.

eq1:=-7.506556000*10^(-23)*omega^12+2.243366854*10^(-78)*omega^34+3.651941282*10^(-50)*omega^25+1.145341958*10^(-105)*omega^41-3.837716260*10^(-102)*omega^40+9.952750000*10^(-10)*omega^5+2.520327960*10^(-113)*omega^43-5.961864252*10^(-98)*omega^39+2.934254874*10^(-60)*omega^29+3.877088344*10^(-109)*omega^42-3.482296310*10^(-82)*omega^35+2.846747460*10^(-123)*omega^45-1.089582984*10^(-70)*omega^32-5.927854900*10^(-48...

First 1544 1545 1546 1547 1548 1549 1550 Last Page 1546 of 2223