## How to solve this autonomous polynomial system usi...

It does not have output

autonomous_system.mw

## How to solve system with one discrete variable?...

We have the system with one discrete variable along x-axis (i.e. 'i' is discrete in the attached file) and other variable 't' is continuous. But maple return error.

CD.mw

## Optimization (Minimum or maximum)...

Good day everyone,

Please, I need help on how to optimize the function above. I actually wanted to plot the function with respect to "eta", but, I need the optimum value(s) for "alpha". Anyone with useful information should please help.

Thanking you in anticipation for your help.

## How to plot multivalued function ? ...

how to plot multivalued function in the region from  -a to a solving 2nd order ode in maple ?

d^x/du^2+1/2sech^2(u)*x(u)=0  . I have to find out the analytical value in three different regions like u<=-a , -a<=u<=a , u>=a . How to find out ?

## ellipse in a rectangle...

with(geometry):
_EnvHorizontalName := x:
_EnvVerticalName := y:
a := 7:
b := a*(1/2 + 1/6*sqrt(45 - 24*sqrt(3)))^2:
r := b*sqrt(b)/(sqrt(a + b) + sqrt(a)):
point(A, -a, b): point(B, -a, -b):
point(C, a, -c): point(F, a, b):
Sq := square(Sq, [A, B, C, F]):
circle(C1, [point(P1, [r, 0]), r]):
circle(C2, [point(P2, [(1 + sqrt(3))*r, r]), r]):
circle(C3, [point(P3, [(1 + sqrt(3))*r, -r]), r]):
ellipse(E, x^2/a^2 + y^2/b^2 = 1, [x, y]):
solve({Equation(C1), x^2/a^2 + y^2/b^2 = 1}, {x, y}):
point(T, [5.349255162, 2.829908743]):
IsOnCircle(T, C1);
draw([E(color = cyan), C1(color = yellow, filled = true), T(symbol = solidcircle, symbolsize = 20, color = red), Sq, C2(color = red), C3(color = red),Sq(color=blue)], axes = normal, view = [-a .. a, -b .. b], scaling = constrained);
square: (196+(7*(1/2+(1/6)*(45-24*3^(1/2))^(1/2))^2+c)^2)^(1/2)-(196+196*(1/2+(1/6)*(45-24*3^(1/2))^(1/2))^4)^(1/2) = 0
square: (7/2)*(1/2+(1/6)*(45-24*3^(1/2))^(1/2))^2-(1/2)*c = 0
Error, (in geometry:-square) not enough information to define a square
false

Error, (in geometry:-draw) cannot determine the vertices for drawing .Why all these errors ? Thank you.

Dear all

i am a very new user of Maple.
is there an equivalent Mathematica function of

thank you very much and best regards

bruno

## a way to test conditional statements for truth...

I'm seeking a way to test conditional statements for truth in Maple (2022).

The statements are like

1) how can I input such kind of statements?

2) how can I get a result in form true/false

a) for entire expression

b) (depending on range)

## using operator assignments without getting recursi...

Does anyone use the /= assignment operator?

I am trying to do a

while error  > error_tol do

sequence of ops,

# update error from last loop
# simple example of assignment test

error /= 2;    #to simulate decreasing error each loop.  Real equation on RHS is error(i) = error(i-1) + comparison of last iterates.

# Real operator assignment I'd like to use is error += comparison

end do;

the divide / keeps applying as the single divide and a long line under the variable before I can type =.   This happens in both 1-D and 2-D.   The "Operator Assignments" help page doesn't have a lot of help on syntax problems using these.

Thanks,
Bill

## Why romberg method do not work for integration if...

I am trying to find a fast method for integration of a function composed of several Heavisides. I used Quadrature-Romberg, but no success. What is the problem with it and what method do you recommend instead?

 >
 >
 >
 >
 >
 >
 >
 (1)
 >
 (2)
 >

## How to solve this integral?...

I am trying to solce eq (2) by integration. But maple integrate only 1st term in eq. Why not other two terms?

Solve_integral.mw

## An error occurred when I ran the function DeleteB...

And my code is:

restart;

local base, badchar, char, cnt, msg, outfile, str, unicode;
for cnt from 0 do
try
XMLTools:-ParseString(str);
break;
catch "An invalid XML character":
msg := lastexception[2];
if not StringTools:-RegMatch("Unicode: 0x([^)]+)", msg, 'all', 'unicode') then
error;
end if;
unicode := sscanf(unicode,"%x");
char := convert(unicode,'bytes');
str := StringTools:-SubstituteAll(str, char, "");
end try;
end do;

if cnt=0 then
printf("no errors in file\n");
else
if not StringTools:-RegMatch("^(.*)\\.mw\$", file, 'all', 'base') then
error "problem extracting basename";
end if;
outfile := sprintf("%s-fixed.mw", base);
FileTools:-Text:-WriteString(outfile, str);
fclose(outfile);
printf("wrote updated file to %s\n", outfile);
end if;
return NULL;
end proc:
NULL;
NULL;

And the error is

"Error, (in XMLTools:-ParseString) XML document structures must start and end within the same entity."

I use maple 2021.  Thank you very much!

## why is this ode Homogeneous ODE of Class C accordi...

I can not find my Kamke book right now. But according to Maple help, Homogeneous ODE of Class C is the following

If I understand the above, it is saying that the RHS of the ode should be ratio of two polynomials, and both should be linear in y and x. Correct?

Given the above, then why Maple says the following ode is _homogeneous, class C ? Since the RHS is not linear in y and not linear in x:

restart;
ode:=diff(y(x),x)=(2*y(x)-1)*(4*y(x)+6*x-3)/(y(x)+3*x-1)^2;
ode:=lhs(ode)=expand(numer(rhs(ode)))/expand(denom(rhs(ode)))


DEtools:-odeadvisor(ode)


[[_homogeneous, class C], _rational]

What Am I overlooking/misunderstanding  from reading this definition?

## Bug in Maple...

The system does not correctly calculate the CDF of a Binomial using the Regularized Incomplete Beta for p=0.5.



restart;
n := 10;
f := x -> int(t^(n - x - 1)*(1 - t)^x, t = 0 .. 1 - p)/Beta(n - x, x + 1);
p := 0.5;
plot(f(x), x = 0 .. 10);

## I cannot generate an analytic solution here nor ...

gaussian.m.mw

This is the maple worksheet