Ronan

190 Reputation

6 Badges

6 years, 313 days
East Grinstead, United Kingdom

MaplePrimes Activity


These are replies submitted by Ronan

 Yes, there was I question I was going  answer too. It involved Laplace transforms. Possibly it was  youself, and another that answered before me so I didn't post. I don't often get to post answers. I was going to ask you how you debugged it. I found the issue myself too but wanted to know better ways of zeroing in on the problem. Also out of curiosity using Groebnier Basis, there was a more extensive solution that produced all the real solutions. Was going to post the next day but gone!

Maybe if a question is answered the poster unless they have some level of status should not be able to delete it without appealing to an administrator.


The new context panel is a great idea along with the plot builder.

There are some improvements that would make this really great.

Plot Builder needs to remember it’s settings. If the document is re executed the plot comes up empty and all settings are lost.

It would be good to combine Explore with Plot Builder so if you have functions like y=a x^2+b x +c you could set sliders for a,b,c.  The old plot builder (upto 2016) had this function.

At present Explore disappears when the document is re executed

@acer Thank you. I have it working now. What is "src" supposed to stand for

`save IrrConvert,  "C:/Users/Ronan/Documents/maple/Alibrary/Procedures/IrrConvert.mpl"`

@Mariusz Iwaniuk I guess you can use MMA. Could you check the equation there, please? So is it a math fail or a maple fail? But looking at the constraints the answer is correct. I have never use the NPL command.  In the Mathematica code, there is  && which I don't know what that means. Typing this out I realized something. I added one more constraint  I1+I2<=I3. That gives the answer. Can't claim I really understand why. A bit like saying if you are to the left on one wall and the right of the other and touching both you are between them. As opposed to if you are left of a wall and touching it you are at the wall.

I2 := 2; Optimization:-NLPSolve(I2*(I3-I1)/((I3-I2)*(I2-I1)), {I1+I2<=I3, 0 <= I1, I1 <= I2, I2 <= I3, I1+I2 >=I3})
 
[4.0000000000000000000, [I1 = 1.0, I3 = 3.0000000000000000000]]

 

 @Rouben Rostamian  I found the reference in the for the proof of  1:2:3 inertia ratios

http://arkadiusz-jadczyk.eu/blog/2017/02/1-2-3-butterfly-effect/

 

Yes, it is quite hard to find things in it.

@Rouben Rostamian   Great solution and demonstration. From what I remember just assign the values of inertia. The simplest is 1:2:3 and that is the best inertia ratio set, for the effect. The body is just a graphic to demonstrate the effect. You would have to troll through the blog I referenced for details. There are other subtle effects based on the ratio of angular momentum and kinetic energy. If < 1 tumbles in one direction. If =1 tumbles only once. If > 1 tumbles in the other direction.

Is there a way to set the time increment in your solution because as the rotational speed is increased the body it appears to turn in the opposite direction? I was trying to see if the numerical solution would reflect the property of change in tumbling direction.

 I followed this blog http://arkadiusz-jadczyk.eu/blog/2017/01/04/  on the topic last year from January to about April. Its is based on MMA and the physicist developes an explicit set of solutions.  I got it to work in Maple, with a good bit of help from Ark too, but it was a lot of work.Can dig out some of the simulations if needed. 

Edit:- I have a Maple numerical solution aswell I found on line while looking for data last year. I can post that document later. 

@tomleslie This is a very detailed answer.  Good to know about [ ]. Solve can be a real pain at times with that.

 I don't have a programming background and am self-taught (with a lot of help from here) on Maple. That is why I use the 2D input. I see one's eye would get tuned to your style. It definitely makes the code readable. 

@Carl Love Ok. Good advice, that could cause some real problems. I guessed what I was trying wouldn't be recommended. What would you do to store a series of values etc, generated in a loop? I am also a using the equations Pedal||i later.

@tomleslie  Thank you that works very well.
At several places, you have these brackets [ ]. What do they do?  How do you achieve the formatting of your code?

.

@Ramakrishnan   Sorry. I meant to remove that line. There is a procedure at the start called Trunc. It is normally stored in my package called RonanRoutines. I copied and pasted it into the doc so it should work for you. Am at work so will check tonight.

@Christian Wolinski  Sorry. I meant to remove that line. There is a procedure at the start called Trunc. It is normally stored in my package called RonanRoutines. I copied and pasted it into the doc so it should work for you.

@Christian Wolinski Thank you. Very workable. I would love to give you best answer, thumbs up. They are not available.

@Joe Riel That is nice proc and a big step towards the end goal. At this point, I am going to start a new question on reducing the equations as this one was primarily about plotting.

@Joe Riel Thank you. I have the same problem. I can't figure out how to get Maple to reduce (x^2 + y^2 -1)^2 to  x^2 + y^2 -1. I am trying to find a way to do this automatically. Do you have any ideas on how to?  It could be for example  (x^2 + y^2 -1)^6.  I just picked the circle equation as a representative example.

Another good example is; because it has no constant term.

(-27*x^2*y^2-27*y^4+4*x^3)^2

 

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