vv

14027 Reputation

20 Badges

10 years, 44 days

MaplePrimes Activity


These are replies submitted by vv

We cannot have everything in this world.

@Markiyan Hirnyk 

@one man 

Unfortunately you use an undefined terminology:

- Equidistant surface (see previous discussions)
- Round parametrization.

So, all we can do is to look at the animations. Do you think that this is enough?

@Markiyan Hirnyk 

It was just a simple ad-hoc approach.

@Markiyan Hirnyk 

But I already did: each point on the surface is moved by fixed distance in the direction of the normal vector.
The code was posted.

chronologically (yours was the second, using the distance to the graph).
Please see that you have considered the graph of sin(x) in the whole real line, not in [0,2*Pi].

Anyway, my impression is that the OP used my version of the definition.

@Markiyan Hirnyk 

@Markiyan Hirnyk 

You took another definition for the equidistance.

If you think that it is better, consider in your example (and notice also that implicitplot did not find all the points):

plots:-implicitplot(['F(s, t)[1] = 2', t = sin(s)], s = -Pi .. 3*Pi, t = -4 .. 4, color = [red, blue], gridrefine = 2)

 

If you use the first definition:

dist = 1/10 ==>

dist = 1 ==>

 

Why not, according to the definition considered: each point on the surface is moved by 1/2 units in the direction of the normal vector. I did not check whether the computations made by Maple are correct, have you?

@Markiyan Hirnyk 

And what is not so simple here?

@Markiyan Hirnyk

@one man

It would be nice to say something about the method used in the worksheet.
What "universal parametrization" have you used? Otherwise, the reader must use a "reverse engineering"  technique to find out.

If the surface is already parametrized, one may use something like this:

CP:=(v,w)->[v[2]*w[3]-v[3]*w[2], v[3]*w[1]-v[1]*w[3], v[1]*w[2]-v[2]*w[1]]: #Cross Product
IP:=(v,w)->v[1]*w[1]+v[2]*w[2]+v[3]*w[3]: # Inner Product
UV:=v -> v/~sqrt( IP(v,v)); #Unit Vector

r:=[s*cos(t), s*sin(t), s^2]:          # Example, paraboloid (parametric)
Nr:=UV( CP( diff(r,s), diff(r,t) ) ): #Unit Normal vector to r
Er:=simplify(  r + 1/2*Nr) ;           # Equidistant to r


p1:=plot3d( r, s=1 .. 2, t=0..2*Pi ):  p2:=plot3d( Er, s=1 .. 2, t=0..2*Pi ):
plots[display](p1,p2);






Edit. OP's animation using this method:

 

The problem is that Maple gives the result without assumptions, even if for a complex k, the integral may not exist (converge) e.g. for k = I.

@m3rcur1al 

You may use the Explore command and play with the parameters, as in the example:

Explore(fsolve(c1*exp(x)-c2*sin(x), x), parameters=[c1=1..15, c2=-3..13]);

You may prefer to replace fsolve with a plot.

@abcd 

You are right. Both our approaches are correct.
The reasons I suspected that you are wrong are:
1. I am a 'pure' mathematician. I am not used to see  r + dr  etc. For me it's easier to compute a Jacobian
(see a previous intervention).
2. The Triangular distribution was misleading. I would have used the (equivalent in this case) Power distribution.
3. I had the visual impression that the density is higher off the center.

All the best, and sorry for my mistake.

 

What are  f^n(x_0) and df^n(x_0)/dx ?

@Carl Love 

Probably a good idea (from an esthetical point of view) would be
`convert/If`:= ...

convert(... , 'If');

 

PS. Is such functional style considerably more efficient?

@Carl Love 

piecewise(x<1,10,x<2,20,30);

is equivalent to

`if`(x<1,10,`if`(x<2,20,30));

First 149 150 151 152 153 154 155 Last Page 151 of 177