MaplePrimes Questions

Hi,

I need to solve following problem, but i m facing memory allocation problem in code. I dont know where memory is consuming.

Download nonlinearx.mw

Thanx in advance.

Regards

Sunit

Hi,

I'm trying to stop integration if the numeric procedure takes more than ~2 seconds and set the value to zero. As an example consider

restart;
st:=time():
answer:= evalf( Int(SphericalY(161,5,x,5)*SphericalY(262,5,x,x), x=0..10));
t:= time()-st;

This takes 0.63 seconds on my computer, but I wish to stop it after 0.1 seconds as an example. Is there anyway to access the inside of evalf(Int...)) and kill it after 0.1 seconds?

thanks,

The question is to solve

x^2*(diff(y(x), x, x))+x^3*(diff(y(x), x))+(x^2-2)*y(x) = 0

and evaluate it where y(1) = 1 and y(2) = 2 to find y(3).

 

When I do the equation,

 

ODE := x^2*(diff(y(x), x, x))+x^3*(diff(y(x), x))+(x^2-2)*y(x) = 0

dsolve(ODE) y(x) = _C1/x+_C2*(-sqrt(Pi)*sqrt(2)*erf((1/2)*sqrt(2)*x)+2*x*exp(-(1/2)*x^2))/x

 

I have gotten an erf. Is this correct?

Hi everyone,

I need to write a program to save some files in both Windows or Unix System.

The structure of the path files is different from windows to Unix, so i want to something like this

if (WindowsOS) then

        pathFILE := "\\MyDirectory\\blabla.txt";

elif (UnixOS) then

       pathFILE := "\/MyDirectory\/blabla.txt";

end if;

 

Thanks for help.

Hello, 

I am trying to plot an equation with mape,

I give the foloowing comand but I receive a warning which I do not know how to deal with it, I wil be thankful if you can help me.

these are the command and wanring:

plot(eval ((6), {n=10, m=1},k=0.1..0.2)

warning, expecting only range variable k in expression.....

 

I am trying to use Maple17 to create practice integration problems in which the integrands contain square roots.  I want the students to practice converting square roots, perhaps with fractions, to fractional and/or negative powers.  Hopefully Maple can typeset the integrals if I use the inert form "Int", and also do the integrals for me so I can find the answers quicker than doing it by hand, and not have to worry about making a careless mistake.  The trouble is, Maple is converting the square roots to fractional exponents:

Download DisplaySquareRoot.

Download DisplaySquareRoot.mw

I hope at least one of these works.  To make a long story short, when I display an integral using "Int", how do I prevent Maple from converting square roots to fractional exponents?

 

GS

 

 

how do you find the surface area of an ellipsoid (for instance 'x^2/20+y^2/13+z^2/20=1'?) which is formed by rotating completely about the y axis? 

May I know how to use maple to solve

d^3y/dx^3+(1/x)(dy/dx)-(1/x^2)y=0, where y(1)=1, dy/dx=0 at x=1, d^2y/dx^2 =1 at x=1. find y(3).

 

Thx!

Hello!

If I wirite in an algorithm in MapleTA 9.5 the number 0, and later use it (for export to latex), it becomes negative, but not if I pass through Maple:

 

$null=0;
$zero=maple("0");
$nullstring="$null";
$zerostring="$zero";

results in:

null 0
zero 0
nullstring -0
zerostring 0

 

Why, and what can be done without passing through Maple?

 

Best,

Jan

Hi everyone,

I am a new user of maple and i want to know the procedures to follow when solving 4 differential equations simultaneously.

e.g

ds/dt=Λ0-βcSI/N-μS

dL/dt=Λ1+βcSI/N-μ1L+ΑcIT/N

dI/dt=kL-μ2I

dT/dt=r1L+r2I-ΑcIT/N-μT

Any help will be highly appreciated. Regards

> restart; with(plots); with(LinearAlgebra); with(IntegrationTools); pde := rho(x)*(Diff(u(t, x), t, t))+lambda(x)*(Diff(u(t, x), t))-(Diff(P(x)*(Diff(u(t, x), x)), x))-Q(x)*u(t, x)+R(x);

> eq1 := int(pde*phi[i](x), x = -1 .. 1);

eq2 := expand(eq1);

> eq3 := applyop(u -> Parts(u, phi[i](x)) end proc, 3, eq2);

i get an error

Error, (in applyop) improper op or subscript selector

how to correct it??

Would really appreciate the help in doing this question!

Pi= infinity Σ n=0 ((120n^2+An+B)/(16^n(512n^4+1024n^3+712n^2+194n+15))) for some positive integers A,B.

Hint: Set A=0 to find B, then find A.

I'm so clueless as to how to do this. THANK YOU!

Good morning sir.

 

I request your kind support to the above cited question.

 

 

With thanks & Regards

 

M.Anand

Assistant Professor in Mathematics

SR International Institute of Technology,

Hyderabad, Andhra Pradesh, INDIA.

With Statistics, how can I get/compute the Studentized Range distribution, commonly called the q distribution, which is used in Tukey's post-hoc Honestly Significant Difference (HSD) test (Wikipedia link)? Does this distribution exist in Statistics with a different name? Can I calculate it as some combination of distributions that do exist in Statistics? I know that it is closely related to Student's t distribution.

Is it possible to change the order of which polygons are plot? I searched a lot on the internet but I don't find a useful answer. It seems to be logical that they are plot in the order they are given to the command "display", but it don't seem to work.

I try to plot different polygons, like you can see in the images below:

The red planes should form a pyramid but the black ground plane is front of it, so it should be plotted before the four red planed (polygons) are plotted.

In the code, the black plane (pp6) comes before the red planes (pp7->pp10) as input of the display command. If I change the order, nothing changes in the plot.

Is it possible to tell Maple that some polygons should be on the foreground and some on the background?

 Here is a link to the file if necessary: translatie_stn.mw

Thanks in advance!

First 1504 1505 1506 1507 1508 1509 1510 Last Page 1506 of 2429