MaplePrimes Questions

My data file is a list, where each line is

[elm1,elm2,elm3,elm4].

 

I would like to read through and calculate the mean of all of the elm1's.

I would like to get a distribution of the elm1 data.  For example, in 800 lines of data, if elm1 takes on values 5,6 and 7, I want to know that there are 300 5's 400 6's and 100 7's.

stats[mean](data) needs the numbers inputted.  I even thought I could pull off the elm1's into a separate list, but stats[mean] won't take a list.

Any help is appreciated.

Hi Everyone!

I want to export several Figures with Maple at the same time. I tried

with(plots):

for i from 1 to 5 do
interface(plotdevice=ps, plotoutput=`c:/test||i.eps`, plotoptions=`color,portrait,

noborder,width=16cm,height=12cm`);
 plot(cos(i*x), x = -5..5);
 interface(plotdevice=inline);

od:

but it did not work. How can I create one file per Figure?

Thanks a lot,

Bernardo

 

If I try to solve the following differential equation with simbolic parameters:

IC := p(0) = condizIni

ode := diff(p(t), t) = (QIn-QOut-derV)/((1/Boil+1/Bwall+percair/(m*p(t)))*V)

func := rhs(dsolve({IC, ode}))

the result I get from Maple12 have the following member inside it:

LambertW(_Z7, _Z)

but I do not know what are _Z7 and _Z.

Where I can find the expression of these parameters?

Why Maple added these parameters?

I like the feature that permits the use of the dotted derivative, as it has the look and feel of the work that I am doing. However, when I enter, say, (x_dot + 1)^2 and invoke the expansion, I get x_dot(t)^2 +...

It's nice that Maple knows that x is a function of t, but I would like to avoid the clutter. How do I suppress the (t) so that all I see is x_dot^2?

I use Maple 11. Sometimes, the result become more then one when it run. Then the results are same. How to make it to give difference result?

Thanks.

 i have a project from my univercity an d i want to ask you how can i put maple into flash document so can you help cause i must give my project one month again thanx before

How can i avoid this error?

that happens 'cause I have 3 different solution for Vv:

> Vv3:=Re(solve(eq1,Vv)[3]);

 

The following program was created to determine a Hermite polynomial. Can anyone see where the error lies? Thanks!

 

restart; f:=x-> (x*(cos(x)))- ((x*x(sin(x/2))));
                 f := x -> x cos(x) - x x(sin(1/2 x))


                              fp := D(f)

 

I am trying to modify a solution to a non-homogeneous boundary value problem presented in Dr.

Hi everybody, one thing is not still clear to me about assume: for example  I have to find the solution of this simple equation:

e1 := q=ks*h^(5/3)*sqrt(If);

If i write solve(e1,h);   I get also all the complex solutions. I want just the real solution so i wrote:

assume(h::real);
solve(e1,h);

but I still have all the complex solutions. Why? I tried also  with assume(h::real,h>=0); but it's the same.

thanks
 

alberto

I need to input f(N,x)=summation{(-1)^(n+1)/n}sin(nx) N=1,3,5....infinity

Why gives Maple T.A. for the function

decimal(2,-0.625)

as an answer -0.62 instead of -0.63?

I could not find documentation on the decimal function. Where can I find it?

 

kind regards,

Harry Garst

Problem: Find the value of k (k>1) such that the region enclosed by y=2lnx, y=0, and x=k has an area of 5 square units.

I'm figuring it should start out like this:

f:=->x2lnx;

then im figuring to plot it so i can get a look at the graph so i can guestimate what value for k would be 5 square units.

but what commands can i use to solve it exactly?

I cant remember how to find the intersection of two functions.

I know to first enter in the two functions (f(x) and g(x)).

Then I need to plot them...

But whats the command to find the point of intersection?

First 2208 2209 2210 2211 2212 2213 2214 Last Page 2210 of 2434