Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

 

The command

f := -.1*(x+3)*(x-1)*(x-3.5):
Student[Calculus1][FunctionChart](f,x=-4..4,concavity=[],title="",caption="",gridlines);

 

produces different results in Maple 13 and Maple 16.02.

In particular, the concavity=[] option seems to be ignored in 16.

Also, it may be my imagination, but execution seems slower in 16, but I didn't try timing it.

My apologies, if this has already been noted.

 

Hi

Could someone pls help write me code such that when text is entered, the first chemical element symbol in each word is identified and highlighed.

i/p: "the cat molly"

o/p: "tHe Cat Molly"

( like the opening title sequence on "Breaking Bad")

I got out the sledghammer and made a start

element.mw

Hello,

I am trying to get a shaded area in my plot but I could not.

First we solve ODE without randomness:

ode := diff(U(t), t) = -(A+B*U(t))*U(t);

Then we add randomness to ODE and solve:

ode2 := diff(U(t), t) = -(A+r(t)+B*U(t))*U(t);

A with randomness for r in R=( - 0.0001/365, 0.0001/365) is:

A(t,r)= A+r

Where A is constant =  0.0001/365

We plot both solution. For the plot I...

relativistic_7.mwrelativistic_7.mwrelativistic_7.mw

I want to evaluate the function A(xi(t),eta(t),diff(xi(t),t),diff(eta(t),t)) atthe values of xi(t), eta(t), diff(xi(t),t),diff(eta(t),t)  given above.

Thank you


 

Download posi1_-_Copy.mw 

 

hey primes please i need help. i´m trying to create a procedure capable to find an arbitrary distance. at some point in loop clause, is important to 'unassigned'  the variables solved and here where i have problem. it work fine in...

So far, my math group has the entire roller coaster plotted using spacecurves on a 3D plot on Maple. The only issues is now we need to take the derivative between the different sections we created in order for there to be no corners or spaces; basically to make sure the "coaster" runs smoothly.

We get how to do it on paper but we're running into some difficulty doing it on Maple. My question is, how the heck do we do what I just said we wanted to do.

Hello,

I am trying to plot the solution for eq1 and eq2 for different values of mu.  When I plot  this:

 f := proc (x) options operator, arrow; mu*abs(F[N]-g)*signum(x(t)) end proc;

it works.

When I do the same for the solution it won’t work.

Please any help or advise.

 

This is the code:

> restart;

> with(plots);

> with(DEtools);

> k := 100; L := .25; M := .5; g := 4; mu := 0.2e-1;


Q3) Write a procedure, isTriangle, to determine if any three given
 numbers represent the lengths of the sides of a triangle.
The procedure should be able to deal with any input.

I have done the following and get an error
 

isTriangle:=proc(a,b,c::nonnegative and numeric)
if (a^2+b^2)=c^2 then print (a,b,c "represent the sides of a triangle")
end if;
end proc;
Error, unexpected string

Thanks very much for your help!
So I've done this so far:
 
Marks:=proc(m::nonnegative, numeric)
if m < 40 then print (m, Fail)
elif m < 50 then print (m, `Third Class`)
elif m < 60 then print (m, `Lower Second Class`)
elif m < 70 then print (m, `Upper Second Class`)
elif m < 100 then print (m, `First Class`)
elif m > 100 then print (`error`)
end if;
end proc;
proc(m::nonnegative, numeric) ... end;

Throughout evolution, natural selection is one source of genetic change in populations. However it is possible for a mutation to become common in a population entirely by accident through a phenomenon known as genetic drift. 

It works most strongly in small populations or dramatically fluctuating populations.  When non-lethal mutations occurs it is possible not just because of adaptation but by chance it will have more offspring than it's neighbors. 

Hi all I have the following ODE

ODE_1:=diff(w(r),r)+R*(diff(w(r), r))^3=K/r;

ODE_T_1:=collect(algsubs(w(r)=u(r)+(r-1)*(U-0)/(delta-1), ODE_1),diff(u(r), r)) ;

 

 and when I try to do the following integration,

eq1:=int(phi[i](r)*ODE_T_1,r=1..delta) assuming delta > 1;

it gives the following error

"

Error, (in assuming) when calling 'int'. Received: 'wrong number (or type) of arguments:

In a plot of y=x^2 how can one choose to have no tickmarks except for at given points say x=2 and x =8 and of course on the corresponding y values?

 

Hello. I am trying to do a project. Howerver the following code is causing Windows 7(x64) to error.

First, I get a message from mserver.exe saying: mserver has stopped working.

I click "Close the program" and I get "Kernel connection has been lost."

This is happening when I calculate the Groebner Basis by the following code. It is all right when I calculate the Groebner Basis when the problem to be solved is simpler. The memory of my computer is...

Hi, 

When I try the example of a histogram plot from the help system (under Statistics, Histogram), I get an error.

The example (entered in document mode) and error follow below.  Can someone please shed light on this?

with Statistics; with(plots):
N := RandomVariable(Normal(0, 1)):
A := Sample(N, 1000):
P := DensityPlot(Normal(0, 1), color = "Niagara Red"):
Q := Histogram(A, averageshifted = 4, style = polygon, color = "LightSlateGrey"):

Any plans of correcting the obvious problem the MaplePrimes text editor has with the inequality sign < ?
It is really quite annoying.
Everything on a line of code after < is very often discarded with the obvious effect that the code doesn't run.

First 1498 1499 1500 1501 1502 1503 1504 Last Page 1500 of 2224