Items tagged with evalf

Hi,

Quite often, the result Maple gives involves exponents.

For example:

0.26/0!*e^-0.26.

When I use "evalf", "simplify", or right-click and select "approximate," I always obtain a fraction with e^13/50. How an I get a numerical approximation!

 

Thanks!

when I use s:=evalf(...), maple give me reasonable results but when I use s1:=evalf(...) for the same problem the results are different from previous case!

Can you help me, please?

I have run into some queer behaviour of my Maple 9 software. I gave the following commands:

##############################################################
 with(numtheory):
 xx := invcfrac([[0],[5,1,5,1,4,1]]);
                                        ...

An example:

evalf(frac(10^2*exp(1)));

0.8281828

Two digits lost.

And here is even worse:

evalf(frac(10^9*exp(1)));

0.

Correct unswer:

evalf[20](frac(10^9*exp(1)));

0.4590452354

The correct answer

Interesting behavior!!

> restart
> N := 150; L := LinearAlgebra[RandomVector](N);

                              150

> st := time(); for j to 10^4 do ArrayTools[SearchArray](`~`[`=`](L, max(L))) end do; time()-st;

             ...

I noticed the following behaviour in Maple 16:

x1 := (a)^(b):
eval(x1,[a=103/100]):
evalf[3](%);

                                 b
                             1.03


I need to solve some  transcendental equations, using Maple 16 which i need to transform or bind with java later. My problem is I cant evaluate.

Equation I would like to evaluate is  k= ln((M-m)/m(k-1))offcourse I  defined m and M, prior to c.
Both  eval(k) and evalf (k)  only return k,  I need value for further calculations.

Dear Maple Specialists,

I deal with a major MAPLE problem the last months of my PhD.

PROBLEM:
My programm contains a do loop which calculates for given PsiS (purple color) and for a range of Psi1 and Psi2 (blue color) from PsiS to 0, values for the products Qsu1, Qsu2, Qtot .
The aim to calculate w(RLZ) which is obtained when the blue color loop is completed and Psi2 takes the final value 0.

After first tests with my brandnew Maple 16 (64bit) installation on Ubuntu Linux (12.04 Ubuntu Precise) I encountered the following error:

    `evalf/int`, "external hardware float library could not be found/used"

when I run e.g.

     evalf(Int(BesselJ(3,x),x=1..13,digits = 4,method = _d01ajc));

with OpenMaple

I wonder how to fix it.

I have

    export MAPLE=...

and

    export LD_LIBRARY_PATH=......

Hello,

I want to calculate the IDs product :

 

Hi,

i've been using evalf(Pi*5.6) for my calculations. after a few steps of calculations, some of the values are as small as 7.4x10-9 . These small values are insignificant to my calculations. how should i ask maple to ignore all the positive and negative values that are smaller than 1x10-9?

Please advice. Thanks

I am fairly new to Maple and trying to understand the dsolve command for numerical solutions and plotting graphs of radial distances and trajectory plots.
This is my code below. All of it successfully brings up a solution apart from the very last command and I don't understand why it is not working. 
I believe the last plot is plotting a trajectory plot but I am not sure. I am meant to use the solution to plot the trajectory plot (X(t),Y9t))=(r(t...

I have a question about the accuracy of Maple functions subs and evalf. I have some expressions such as the following: (more complicated). Let's call it f(n).  f(n) is not a polynomial in n or a rational function. It is a function of n involving exponents and four operations. When I plug in a large n in such an expression, would the answer I get (using evalf with some custom accuracy) be exact?  I am trying to prove f(n)/n >= constant....

What are the equivalents of eval and evalf for Matricies. In particular how would you display a Matrix which appears in symbolic form to appear with numeric entries.

Hello,

I solved an equation, and Maple returns two values.  Even though I said, assuming v1i>0, the solve command returnse this:

1 2 3 4 5 Page 4 of 5