Rouben Rostamian

MaplePrimes Activity


These are replies submitted by Rouben Rostamian

@vv Thank you very much for that construction.  It certainly produces the desired result.  I don't quite see how it works since I am not familiar with the Iterator package.  I will need to look into that.

@Kitonum Thanks.  That's very good.  I had looked at combinat:-permute, but didn't make the connection.

Hello @mmcdara I can't make sense of that worksheet.  Solving a nonlinear differential equation with finite elements is not exactly trivial.  I don't see anything that resembles a solution in there.

But as I wrote earlier, plugging the equation and boundary conditions into Maple produces a solution with no effort at all.

It looks to me that you have picked up a Maple code from somewhere and are attempting to apply it to a totally unrelated problem.  What are, for instance, CreateVector() and CreateMatrix()?  Furthermore, this code applies LinearSolve() to solve the resulting discretized system but your equations are nonlinear, so that won't work.

By the way, Maple's dsolve() solves your boundary value problem readily.  Why would you want to write a finite element code to solve it?

@nm Properly rounding 1.667 to two demimal places should produce 1.67 but yours produces 1.66:

fix_number(1.667,2);
        1.66

Perhaps that can be corrected with some small adjustment?

@ i see no worksheet.  Please try it again.

Upload your existing worksheet so that people can modify it as requested.

When you reply to this message, you will see a big fat green arrow in the toolbar.  Use that to upload the worksheet.

The message that you have posted, says:

If you experience any problems during installation, please visit the Maplesoft online technical support center at http://www.maplesoft.com/support.

Go to that web page and follow any of the given links there to contact technical support.

@Earl That's nice.  I converted your "Reply" to an "Answer" since it does offer an alternative approach.

@Carl Love Thanks for the compliment.  I had expected that a procedure for rotating a curve about an arbitrary axis would be included in some Maple library but as far as I can tell, it isn't.

@mmcdara Thanks for the kind words.

The calculation in my original worksheet extends almost without change to the general case of rotating a any curve (not necessarily a straight line) about a given line.  This is implemented as a procedure in the attached worksheet. 

Here is a sample obtained by rotating the helix <cos(t), sin(t), t/4> (shown in green) about the line <t, 0, t>. (shown in red). I have removed a part of the surface to make it possible to see the inside.

Download worksheet revolve-curve.mw

Although you have a system of three equations, you seem to be interested in plotting the system's vector field in the [r,phi] plane.  That is not possible in general. The vector field is 3-dimensional, so even when restricted to the the [r,phi] plane, the vectors will point outside that plane in general.  It's not a 2-dimensional picture.

@Vortex Unfortunately I know nothing about this area of physics.  I can only surmise from what you have said that f is a function of frequency, and the integration limits a and b are lower and upper bounds on the frequencies.  I have no idea what q represents.

It seems to me that the complete resolution of the question that you are asking depends on a full understanding of the physical phenomena that it models.  I am afraid I don't have that understanding.

@Vortex I am gathering from your response that the argument q ranges over the interval [a,b].

As p and q range over the interval [a,b],  the argument of f(p) ranges over [a,b], while the argument of f(p+q) ranges over [2*a,2*b].  So the domain of f is the union of those intervals.  For instance, if a=10, b=12, then your equation demands that f be defined over the interval [10,12] as well as the interval [20,24].

Under that scenario, it is reasonable to expect that one prescribes the values of f on [20,24] and seeks the values of f over [10,12].  Or perhaps one prescribes the values of f over [10,12] and seeks the values of f over [20,24].  The choice depends on the application in which this equation arises.

Here I have chosen a and b on purpose so that the intervals [a,b] and [2*a,2*b] do not overlap.  If they do, as in the case a=1, b=100 that you have cited as an example, the situation is more complex and the assumptions on where f is prescribed and where it needs to be calculated is not so clear.  Again, the source of the application should clarify the choice.

  1. We see that f is not uniquely defined because if f is a solution, then so is f+C, where C is any constant.
  2. I have no idea how to go about finding a symbolic solution.  My first attempt for finding a numerical solution would be to discretize the intervals (a,b) and (a+q,b+q), and look for a piecewise constant (or perhaps piecewise linear) f on those intervals.  The details will depend on how the size of q relates to a and b.  Any information about numerical values of the parameters?  Any information about the sign of f?
First 9 10 11 12 13 14 15 Last Page 11 of 96