MaplePrimes Questions

dears

            i am try to solve lagrange dynamics in maple , i have problem with the solution , the maple make the solution but it get stuck after some time and maple is closed.. wheh i am  using inertia withoutout transformation matix , maple solve the equation but when i transform the inertia matrix  using transformatin matix, i am getting this problme, can any brother help in this regard, the file is attached..

For solving a 2nd order hyperbolic PDE numerically (pdsolve/numeric), is it possible to choose more restricted and different time/space ranges, rather than what is defined in initial/boundary conditions? (assuming the fact that one defined Cauchy initial conditions for time variable at t[0], and Dirichlet boundary condition for space variable) thanks

Hi,

I was wondering if anyone could tell me whether (and if so, how) it's possible to get Maple code to run an external program mid-process?  The program in question is qHull, which I downloaded from www.qhull.org.  Some searching has informed me it's possible to run C and JAVA bits in Maple, but with no programming experience I'm not sure whether that extends in any way to this, or if so, how.

Hi!

How do I get Maple to factor some of the terms in the expression and ignore the irrelavent ones?

eg

factor(x^2+2x+1)   gives  (x+1)^2

but   factor(x^2+2x+1+y)   just returns  x^2+2x+1+y

So  factor((x^2+2x+1+y)/(x+1)^2)  will not automatically simplify to   1 + y/(x+1)^2

 

I'm looking to simplify a very long an expression such as this one:

I have used Maple to do a lot of plottings. But the image quality is not always satisfactory.

So I wonder if Maple can produce high quality images (surfaces), like those displayed here:
 
http://xahlee.org/surface/gallery.html

Thanks for your suggestions.

 

Hi,all I am trying to use readline in a worksheet file, but I find it cannot work. /************code*****************/ Handle :=proc(f) local line, L; L:=[]; line:=readline("s.txt"); while line <> 0 do L:=[op(L),line]; line:=readline("s.txt"); end do; L; end proc; /*************************************/ When I executed the procedure, it gave me an error message: Error, (in readline) file or directory does not exist. But "s.txt" does exist in the same folder. any idea? thanks

Dear all,

I encountered a problem to overlay the image produced by Maple.

I would like to overlay the image to google map.

The image should be opaque to let the user still can see the original google map.

However, i cannot find the function in Maple to set opacity for the output image. There is functions to set transparency, but it is not what I like to have.

Here is the code

I am pretty new to Maple, but have used Matlab for a while....

I have a double for lop in my code that is slowing things down.....

I was thinking of speeding up the code with something like that below

NonDiagonal:= (n,m) → X(n,m) * (some function)

Diagonal:= (n)  → Y(n)*(some function)

DiagonalVector :=  seq(evalf(Diagonal(n-1)),n=1...N,1)

NonDiagonalMatrix := (not sure what to do here)

How do I evaluate a String, ie. cut out the exclamation marks '"' ?

Example: I want

s:="[[1,2,3],[4,5,6]]"

converted to

[[1,2,3],[4,5,6]]

it sound simple but there are way to many 'eval'-functions to gain insight :-(

I have two functions that I need to combine to create a plot

Functions as follows:

x^2+y^2=10000,  radius of 100

z=e^(-r)  r=0..100

it comes from the problem of a sprinkler distributing water in a pattern with radius 100 at a depth of e^(-r) feet per hour at a distance r from the sprinkler

I need to somehow plot the 3d graph of z=e^(-r) r=0..100 with the bounds of radius 100 and z greater then 0.

Any help would be great, if it helps the volume from the integral=2pi.

Thank You!

Hello,

I have problem with creating 3D plot of this function:

a:=(alpha,H,gamma)->(Pi^2/(4*alpha)-Pi/2+1)*2/H*(sin(gamma/2)^2):

where

alpha, H, gamma > 0 ... independent variables,

a ... dependent variable.

3D plot should be an set of 3D points in "alpha", "H" and "gamma" range (x, y, z coord.), value of dependent variable "a" should be indicated by color of each point.

Hi, this is the first time that I post and I already buy a Maple13 student version.

 I need a guideline to work with Signals (continous and discrete), Fourier , Laplace. Is the first time that I try this kind of software. I already try wih mathlab, but I preffer something more graphic.

Thanks

I have this code (see below) which calculates the probability of finding 4 aces in a 52 card deck through simulation.

My problem is however that the code is very slow and the probability is very low which means that I have to run the

simulation maybe one milion times to get an good approximation. The code can not handle this.

Is there any way to make the code faster so it can handle one million simulations ?

 

I mean the one that is like in the C language.

It always executes at least once, then more times if the condition holds.

In C it looks like:

do {
 // foo
} while (expression);

This is different to the regular while loop, which only executes if the condition holds initially.

while (expression) {
// foo
}

If I have something like x=5 and I want to get the '5' by itself, how can I do that?

First 2091 2092 2093 2094 2095 2096 2097 Last Page 2093 of 2420