932 Reputation

4 years, 179 days

Optimization with LPSolve (Kernel Crash!...

Maple 2016

Example 6 from Maple Help.

restart:

with(Optimization):

LPSolve(2*x+5*y, {3*x-y = 1, x-y <= 5}, assume = {integer, nonnegative})

Kernel crash the same with Maple 2015.

`Does anyone can confirm?Mariusz Iwaniuk`

In seq function "division by zero"...

Maple 2016

Hello everybody.

I have a function:

f(x,y)=GAMMA(y, -ln(x))/GAMMA(y)

seq(sum(f(x, y), y = 0 .. 1), x = 0 .. 5)

and I got a error message:

Error, (in ln) numeric exception: division by zero ??
This is normal behavior in seq function or Bug?

but  when I'm first calculate the sum sol := sum(f(x, y), y = 0 .. 1) -> x,

and evalf([seq(sol, x = 0 .. 5)]) ->[0., 1., 2., 3., 4., 5.] works fine.

Seq-division_by_zero.mw

Mariusz Iwaniuk

A strange result from dsolve...

Maple 2016

Hello guys,

I was just playing around with differential equations, when I noticed that symbolic solution is  different from the numerical.What is the reason for this strange behavior?

ODE := (diff(y(x), x))*(ln(y(x))+x) = 1

sol := dsolve({ODE, y(1) = 1}, y(x))

a := plot(op(2, sol), x = .75 .. 2, color = "Red");
sol2 := dsolve([ODE, y(1) = 1], numeric, range = .75 .. 2);

with(plots);
b := odeplot(sol2, .75 .. 2, thickness = 4);
display({a, b});

Mariusz Iwaniuk

Integrating floor function. False resul...

Maple 2016

Hello.

int(floor(x^2), x = 0 .. 2) = 6 , but it should be 1.85374.

Bug_in_integrate(floor_and_ceil).mw

Mariusz Iwaniuk

Solving nonlinear recurrence equation...

Maple 2016

How to solve following recurrence equation:

a(0)=2;

a(n+1)=a(n)+a(n)^2

I tried,but it doesn't work.

How to find the sequence an ?

Maple_worsheet.mw

Mariusz Iwaniuk

 1 2 3 4 5 6 Page 4 of 6
﻿