Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

A friend asked me if Maple can do the following integral, since Mathematica just spins for an indefinite time with it:

 

int (  (1/sqrt(2*Pi))*(1/(1+exp(x)))*exp(-(1/2)*((x-a)/b)^2) ) from -infinity to infinity

 

Interesting integral though!

Dear friends,

The commands below generates a graphic. Hower I would like two things:

1. That the Y values are from 0 to 0.7 (in the example before it goes --by default--only until 0.5).

2. To represent in the X-axe the values from from 1-10, 100-110 and 500-510. I do mean, axe-X excluding 11 to 99, 111 to 499.

Here the commands:

restart:
ww:= [seq( [n, add(1/(n+1), k=ceil(1/3*n)..floor(2/3*n))], n=1..10)]:
plot(ww, style=point):

I have 2 sets of nonlinear motion equation for double pendulum problem. I wonder how can I solve these second order nonlinear equations first and second how can I extract the state space model for this system.

Thanks in advance

I have a DLL which contains many function for the 1997 IASM steam tables.

As an example (in SI units)

> dllloc := "c:/Windows/system/astemdll.dll";
                      "c:/Windows/system/astemdll.dll"
> psat := define_external(psat97mc, FORTRAN, arg1::(float[8]), RETURN::(float[8]), LIB = dllloc);
> b := psat(647.096);
   ...

Version: Maple 7

How can I acheive the following?

Pseudo-maple, this is what I want to happen.
> f:=modp(x,2);
> subs(x=3, f);
(output) 1

The problem is that the first line echoes "f:=x" and then subs(x=3,f); outputs 3.

In a similar way, I get the following unexpected result,
> f2 := 0.5 < floor( modp(floor(y/17)* 2^(-17*floor(x)-modp(floor(y),17)) ,2) );
(output) f2 := .5 < 0

For some reason the RHS of...

This is an equation:T*s^3+s^2+K=0,where T>0,K>0, s is complex variable. I have known that one of its roots has real part, and this real part is independent of T and K. I don't know how can I use maple to illustrate this conclusion, can you give me some advices? I try to use solve command, but the result is very chaotic.

Thank you in advance.

Here is my code , could you please tell me where i'm going wrong... isn't plotting anything

Fern :=proc(n);
local pick,n;
n := NULL;
for n from 1 to n do 
pick := rand();
if pick < 0.01 then
x[n+1] := 0;
y[n+1] := 0.16*y[n];

else if pick < 0.01 + 0.85 then
x[n+1] := 0.85*x[n] + 0.04*y[n] + 0;
y[n+1] := -0.04*x[n] + 0.85*y[n] + 1.6;
else if pick < 0.01 + 0.85 + 0.07 then
x[n+1] := 0.2*x[n] - 0.26*y[n] + 0;
y[n+1] := 0.23*x[n] + 0.22*y[n] + 1.6;

Hello,

I am working on a problem that I can't seem to figure out the plot commands in Maple. The problem is this...

Given a family of surfaces described by z=(ax^2 +by^2)*(exp(-x^2*-y^2))

I need to obtain a 3D plot of these surfaces and, from the graph of the surfaces, explain how constants a and b will change the shape of the graph. I cannot find the syntax required so plot such a function, but I have been trying using spacecurve(). Does the equation...

Hi everybody:

I just recently "discovered" Maple components based on an interesting blog posted by Dr. Lopez and I am trying to figure out what's really possible. Is it meant for "Big Time" or for small (but still usefull) things? Specifically, I don't see any provision about creating custom components. Not even as simple as an on/off switch. For sure you can combine the ones from the palette and achieve certain customization but you're going to waste quite a bit...

Hi

I am trying to run the following sample code

http://www.maplesoft.com/support/help/Maple/view.aspx?path=OpenMaple/Java/Examples

 

but I get error msg

fatal error(-1) loading GMP library: C:\Programme\Maple 12\java\bin.win\libgmp-3.dll

 

"Error Lauching openmaple splash screen"

 

the file "libgmp-3.dll" is in the correct directory

 

I am using Maple 12, jdk 1.6.0_23 and WinXP

First a little background: I am using Maple 14 on a Windows 64 bit machine.

I first imported some x,y data using the readdata function. Then I made a Spline function from this data like so: f :=x->Spline(data,x);

Then I created a second function, lets call it g(z) which calls f like so: g:=z->f(1/z);

If I simply try to evaluate g(z) at a point it works. But if I try to plot g(z), like so: plot(g(z), z=5..7) I get the error: Error, (in CurveFitting:-Spline...

Question: (how to do this)

Write a procedure that takes as input a lowercase text string and returns a list 26 integers.
the fist entry is a count of the number of letter 'a's,the second the number of lette 'b's ,.... , the 26th the numberof letter 'z'.


Thank you 

dear all,

          i have a simple optimization problem. the objective function is like A*X + B = E and the constraints are 100 <E < 8000 and 10<X<600. I want to find the Min and Max ranges of A and B such that Amin*Xmin+Bmin=Emin and analogous for maximum. I am not sure about the correctness of my modeling. Please guide me to proceed. Thanks.

I would like to ask, whether MAPLE can compute expressions written in covariant notation, like these ones (I have written it in LATEX): $u^{\mu \alpha}_{\nu} u_{\mu} u^{\nu} v_{\alpha}$, (where $\mu, \nu, \alpha = 0,...3$), i.e. whether we can compute the summation (like in these above examples), contraction, substitute ansatzes for $u$, compute derivatives of this above expressions, etc. I looked for any information in documentation, but I did not found anything. I checked,...

Hyperlinks ars restricted to URL, Mail, Maple, etc. For Windows I would like to see a new type called Double Click.

The location and file name would be entered. Executing this Hyperlink would be just like double clicking the file in Windows. The file could be anything as long as the underlying software is installed on the computer.

The file could be video, mp3, image, etc. This would have no restrictions.

It would help to make Maple even more multimedia.

First 1744 1745 1746 1747 1748 1749 1750 Last Page 1746 of 2234