vv

12453 Reputation

19 Badges

9 years, 286 days

MaplePrimes Activity


These are replies submitted by vv

@Zeineb 

Have you checked for all b?

@tomleslie 

Nice, vote-up!
I'd suggest to insert in your code

nE,nV := NumberOfEdges(T), NumberOfVertices(T);
# Produce all subgraphs of G which have the same number of edges and vertices as the "test" sub-graph T
U:=choose(Edges(G),nE): nops(%);
U1:=select(t -> (nops(`union`(t[]))=nV), U): nops(%);
gL:= Graph~(U1): nops(%);

in order to reduce the number of candidates.
 

@Carl Love 

The Squeezing Theorem cannot be used here.
If   limit(liminf(f(x,y), y=0), x=0)  and  limit(limsup(f(x,y), y=0), x=0)  exist and are equal,

it does not imply the existence of limit( limit(f(x,y), y=0), x=0); and actually it does not exist.

BTW, it would be nice to have liminf and limsup in Maple.

@acer 

A very nice and professional patch (a single line of code added). I hope to be included in the next Maple update.

@9009134 

Maple cannot help much here because the only transforms are integrations by parts for generic functions, and  some other functions (e.g. I_0, I_2)  just appear from nowhere. These are easier to do by hand, but as I said above, some integrals are missing from some terms. [The final result could be correct though, if the δu etc are chosen to be 0 on the boundary (so, these terms become 0), but these aspects must be examined carefully].

In conclusion, what is needed here is (proper) maths, not Maple. 

@9009134 

The problem is that you are using nonstandard and confusing notations.
I understand that δu  is simply a function of (r,theta). But why do you use N_rr if it's not a derivative? It should be simply N.

What about the formula?

It seems that Omega0 is the rectangle [r_1, r_2] x [theta_1, theta_2]. But then in the first term after "=",  an integral wrt theta is missing.

Any help will be difficult if you don't try to use rigour, proper math notations and all needed details.

Mathematica and Maple syntaxes are quite different.
In order to use confortably Maple a good idea is to read first an introductory guide or at least a tutorial.

Your problem contains a system of recurrent equations. In Maple you must use P(t) instead of P[t] etc and call rsolve  [ or you may define 4 recursive procedures].
But I'd suggest to start with a tutorial.

@Carl Love 

For my solution I wanted a minimal modification of OP's code.

Of course using mod is faster but msolve is more general.
For example,
Sol:= (b,r)-> `if`(igcd(b,10000)=1, r/b mod 10000, FAIL):
is not correct, while the corresponding msolve works.

BTW, it's strange the answer given by msolve for

msolve(a*b = 2391, 10000);

    {a = 2391/b, b = b}, {a = a, b = 2391/a}

It should solve the problem, but it does not; here 2391/b  must be interpreted mod 10000 and only when it makes sense.

 

 

@Carl Love 

Of course it matters whether  x = x(beta,...)  because dx/dbeta etc will appear in the final result.

The problem is not correctly formulated, so an answer is not possible.
You must say which are the indepentent variables and which are constants.
Write for example r(beta,varphi) etc, if this is the case.

 

@Carl Love 

Do you know by chance what is the exact meaning of INTERVAL(a..b, c..d)  and INTERVAL(x, a..b)?
The help page for evalr mentions these but nothing more, so the user must guess a lot.

@tomleslie 

The ode here (OP's and my example) is in an extended sense, i.e. y(x) is continuous in [a,b] but the equation y'(x) = f(x, y(x)) is only for x in (a,b); so, y is not necessarily differentiable in a or b.

Note that in mathematics even more general situations are studied, e,g. y(x) is absolutely continuous, hence differentiable only a.e. (=almost everywhere, that is with the exception of a negligible set). See the wikipedia article on Carathéodory's existence theorem).

 

Consider the example
sqrt(x) * y'(x) = 1,  y(0) = 0.

The ode is of course for x>0.
Here the solution exists and is unique; it is continuous in [0, oo) and differentiable in (0, oo).

@mmcdara 

I get

f:=exp(-x^2-y^2/4-z^2/9):
a:=sqrt(k): b:=2*sqrt(k): c:=3*sqrt(k):
elli:=[x=a*r*sin(u)*cos(v), y=b*r*sin(u)*sin(v), z=c*r*cos(u)]:
simplify(int(eval(f,elli)*a*b*c*r^2*sin(u), u=0..Pi,v=0..2*Pi,r=0..1)) assuming k>0;

    

limit(%, k=infinity); # check

  

 

@radaar 

If someone is asking you:
I have a problem, I tried all the methods and they don't work. Can you help me?
What would be your answer?

First 54 55 56 57 58 59 60 Last Page 56 of 166