Maple 17 Questions and Posts

These are Posts and Questions associated with the product, Maple 17

Hi!

Assume we have the following mappings:

 

f[1] := proc (x) options operator, arrow; piecewise(0 <= t and t <= 1/2, (1/2)*x(2*t), 1/2 < t and t <= 1, (1/2)*x(2*t-1)+1/2) end proc

 

f[2] := proc (x) options operator, arrow; t*x(t) end proc

 

 Note that the argument are mappings (i.e, x(t) is a continuous function defined on [0,1]). Given an array with values in {1,2}, for instance [1,1,2],and a function h (say, h:=t->t) How can we define the composition mapping f[1]f[1]f[2](h)?

In general, I want to plot the composition mapping f[i1]f[i2]...f[iN](h), i1,i2,...,iN being 1 or 2 and h a given continuous function defined on [0,1]

 

Many thanks in advance for your comments.

 

 

Nothing special, just out of boredom.
Learned about the existence of multifocal ellipses. I stopped at the option with 5 focuses and made the corresponding equation, when the sum of the distances from each point of the ellipse to these five points is constant. If we try to get rid of the radicals, we get an equation whose graph will contain branches that do not meet the condition of the constancy of the sum of the distances from points on the curve to our 5 fixed points. In my case (as usual) Draghilev's method is used to show that each point on the curve is at a fixed distance from 5 stationary points.
Is there a mathematical way to show the same thing? I think not, maybe some other numerical method. So then: is there an easier way? It is clear that the number of focuses can be larger.
FOCI_5_EXAMPLE.mw


hello,

so i'm trying to compute the determinant of a Matrix(7*7) to obtain a single equation ( dispersion equation ) that i need to use for further investigation.

But unfortunately for a certain value Bi=1(i need this value ) i get 0.it would be nice if some can help me 

Determinant.mw

hello dear maple maple users.

I'm trying to solve this system of equations using fsolve but i'm geting this unrealistic curve.

I don't know exactly how, can help me understand!!!!!.

fsolve.mw

Dear all

Please i need your help to add heteroclinic or homoclinic  orbits to my plot 

 

heteroclinic_homoclinic_orbits.mw

 

Many thanks

Dear all
I solve a nonlinear equation using Newton's method

Using 

https://planetcalc.com/7748/
and maple code I get two different results from sixth iteration  ... What's the problem... I can not understand which one is correct.

Newton.mw

Thank you for your help 

Dear all

I have two equations

the first one: f1(x)=r*x; 

and the second one: f29x)=exp(x);

where r in a real number.

Using maple i try to determine the number of solutions of f1(x)=f2(x) for different value of r.
Using maple, 
for r <0 its obvious we have only one solution, but for r =0; No solution 
My problem for r>0, using maple I trided to plot different curve but I can not conclude, the number of  roots for each value of r

Number_solution.mw

thank you for your help 

 

Dear all

How can I plot vector using maple

Maple return the following error

Error, invalid neutral operator
plotvector.mw

Thank you

Hello friends,

I'm trying to get the exact result from the following operation:

I'm getting:

for i=0,

for i=1,

for i=2,

I want to get:

for i=0, 1

for i=1, -1/2 + sqrt(3)/2 i

for i=2, -1/2 - sqrt(3)/2 i

Thanks for the light.

Dear all

I tried to used insert code edit region, to write many subcodes 

but no return varibales names.

example, x:=3;

when I run the code, I get only the number affected to x, I would like to get 

x:=3

No_return_variable.mw

Thank you 

 

 

Dear all

I compute the integral of continuous function but maple return a complexe number. 

continuous_function.mw

A continuous function defined on a closed interval its integral is a number, why maple in my case return a complex number

thank your for your help 

 

Dear all

When I compute 
int( sin(log(x)),x=0..2) 
I obtain an exact value of the integral 
but one I compute 
int( sin(log(x+1)),x=-1..1) 
I obtain undefined integral

The two integrals are the same, using the change of variable z=x+1

Many thinks

It was interesting not to miss the solutions of such a test equation  x * (1 + 1.0001 * sin (x ^ 2)) = 0 on a fairly large arbitrary segment using NextZero.
It turned out that NextZero skips solutions.
For example, solutions in the range from 7.5 to 10 are skipped.  And two more specific solutions skipped 21.232154952 and 21.232821004.
I took Digits to help, but it didn't affect anything. Most likely the reason is that I am a bad user.  The example seems to be a good one.
 

restart: 
#Digits := 30; 
f := proc (x) options operator, arrow; x*(1+1.0001*sin(x^2)) end proc; 
RootFinding:-NextZero(f, 1.0): 
for j to 154 do RootFinding:-NextZero(f, %) end do



 

Dear all

I have the following proc I, I need a help so that the proc run without error. 

I get Error, invalid =

 

Code_eigenvalues_eigenvectors.mw

 

Thank you for any help 

Dear all

I run a code But I obtained the following error 

 

Error, (in PW) cannot determine if this expression is true or false: (1/4)*10^(1/2) < 0.1000000000e-3


and  how can I display all iterations obtained from  PW and WDEF2 in a table.

 

PWW.mw

Thank you for any help 

 

1 2 3 4 5 6 7 Last Page 1 of 53