vv

11843 Reputation

19 Badges

7 years, 185 days

MaplePrimes Activity


These are replies submitted by vv

@Zeineb For any nonabelian group (of even or odd order), there is an ordering of the elements for which the product is <> 1; but you need a procedure to find this ordering.
For an abelian group, the product is 1 if the order is odd, but if the order is even, the product (of the elements) may be <>1. 

The problem is not correctly posed. The order of the terms does matter, so, which order dou you want?
For your group there are orders for which the product is 1.

@Carl Love My objection is that the omitted userinfo's in the second call could contain essential information about the algorithm (which I suppose the OP wants to know).

@nm I don't know. You could redefine userinfo, but that seems useless becuse you problably don't know the source code details, in order to filter the output. After all, the facility is supposed to be used interactively.

@Ronan You have a more subtle mistake, corrected but not mentioned by the responders, such that just replacing 0 with NULL is not enough. Try to find and explain it!

This reminds me that for a polynomial with random coefficients, its roots tend to lie near the unit circle.

p:=randpoly(x, degree=200, dense):
plots:-complexplot([fsolve(p, complex)], style=point, scaling=constrained)

Maybe LaTeX should accept empty matrices (even if they do not make much sense).

@Tokoro For n=5, R is the same R=8/sqrt(15) and the edges of the 5-gon: 2,3,2,3,2.

@Tokoro  I had in mind the existence of any number of points at integer distances on a circle or sphere (not a trivial result). The minimal radius depends of course on the dimension. But you could have formulated the problem in R^d in the first post.

@nm You can simply define then

Dy := t -> D(y)(t);
D2y := t -> (D@@2)(y)(t);

Another approach would be to write a proc, converting (via readlineode.mpl to trueode.mpl, by replacing y'(u) with D(y)(u) etc.

Why don't you add this version to the previous very similar one? Probably a more strict admin will delete this.
You have received answers to the previous question, but you seem to ignore them.
Note that the answer to the circle variant is automatically an answer to the sphere one!

 

@Carl Love The distance between any pair of points should be integer!

@bstuan t = 3 is not an assignment; it is an equation and the variable t remains free.
The assignment operator is :=.
So, only after t := 7;  the exprassion 10*t+5; will be evaluated to 75.

@tomleslie The situation is even worse because both solutions are wrong; they are valid only for b<=0.

restart;
sys:=[a + d = 0, -c + d = 0, a - b = sqrt(a^2 + b^2 + c^2)]:
sol:=solve(%) assuming real:
eval(sys,sol[1]), eval(sys,sol[2]) ;

        [0 = 0, 0 = 0, -b = (b^2)^(1/2)], [0 = 0, 0 = 0, -3*b = 9^(1/2)*(b^2)^(1/2)]

G := 0.04361098108*x^2 + 0.4810001561*x*y + 1.326278064*y^2 - 0.7320831383*x - 2.656083763*y + 1;

0.4361098108e-1*x^2+.4810001561*x*y+1.326278064*y^2-.7320831383*x-2.656083763*y+1

(1)

g:=convert(G,rational);

(2143/49139)*x^2+(9253/19237)*x*y+(19613/14788)*y^2-(23423/31995)*x-(31456/11843)*y+1

(2)

A,B,C := coeff(G,x^2), coeff(coeff(G,x),y), coeff(G,y^2);
a,b,c := coeff(g,x^2), coeff(coeff(g,x),y), coeff(g,y^2);

0.4361098108e-1, .4810001561, 1.326278064

 

2143/49139, 9253/19237, 19613/14788

(3)

4*A*C-B^2, 4*a*c-b^2=4.*a*c-b^2

0., 10343424/67228040758449227 = 0.2e-9

(4)

c1:=b^2/(4*a);
g:=subs(c*y^2=c1*y^2, g);

4207183344251/3172172912668

 

(2143/49139)*x^2+(9253/19237)*x*y+(4207183344251/3172172912668)*y^2-(23423/31995)*x-(31456/11843)*y+1

(5)

with(geometry):
_EnvHorizontalName := 'x': _EnvVerticalName := 'y':

conic(co,g,[x,y]):
#detail(co);

Vertex=evalf(coordinates(vertex(co)));
Focus=evalf(coordinates(focus(co)))

Vertex = [-1.315442026, 1.256440837]

 

Focus = [-1.271192031, 1.248416783]

(6)

 


 

Download parab-rat.mw

5 6 7 8 9 10 11 Last Page 7 of 162