#wxmaxima

mkwadee@diasp.eu

Imagine a circular wheel rolling, without skidding, on a flat, horizontal surface. The #locus of any given point on its #circumference is called a #cycloid. It is a #periodic #curve over a length equivalent to the #circle's circumference and has #cusps whenever the point is in contact with the surface (i.e. the two sides of the curve are tangentially vertical at that point).

Interestingly, it is also the curve that solves the #Brachistochrone problem, which means that starting at a cusp on the inverted curve (maximum height), a frictionless ball will roll under uniform gravity in minimum time from the start to any other point on the curve, even beating the straight line path.

#Mathematics #Geometry #Maths #AppliedMathematics #Mechanics #Kinematics #Dynamics #Physics #MyWork #CCBYSA #WxMaxima

mkwadee@diasp.eu

A few weeks ago, I posted an example of a #projectile #trajectory in a uniform #GravitationalField without #AirResistance. It's a school-level exercise but it was nice to produce an #animation for it. To model air resistance is a bit more tricky as any #fluid, including #air, is complex and does not necessarily behave as you might expect. A simple model for it might be to assume it is a #linear #viscous fluid offering resistance proportional to the velocity of the projectile, i.e. R = -k.v, where v is the velocity vector and k is a constant which dictates how viscous the fluid is.

Happily, this model has exact solutions so I didn't need to do any numerical integration to find the form of the displacement. Here are four different cases, including the "ideal" case k = 0. The others are k = 0.1, 1 and 10, with the middle one highlighted. The essential difference between the non-resistance case and the others is that horizontal velocity steadily decreases with time and decays towards zero exponentially. The vertical velocity is also reduced but still grows. The most viscous case (k = 10) shows terminal velocity behaviour very quickly and the projectile appears to be moving through treacle.

#MyWork #CCBYSA #AppliedMathematics #Maths #WxMaxima

mkwadee@diasp.eu

I was explaining to my wife how the #velocity #components of an idealized #projectile differ. She was having some problems understanding that only the #vertical component changes and that the #horizontal component remains constant. In the end, I knocked up this little animation to tr and explain pictorially (the program in #WxMaxima is actually interactive. so you can stop it, step through it or run it backwards if that helps).

#Maths #Mathematics #Mechanics #ConstantAcceleration #Vectors #Dynamics #MyWork #CCBYSA #FreeSoftware

mkwadee@diasp.eu

In #StructuralEngineering #Analysis, #InfluenceLines are used to depict the variation of quantity at a particular location as the location of a #Load or #Action is changed. In the #Animation shown, we can see the change in #BendingMoment in a #StaticallyDeterminate #Beam as a unit force moves from one end to the other. Both the #BendingMomentDiagram and the influence line for bending moment at the centre of the left-hand span, B, are shown. The influence line is often used as a tool to determine where the load should be placed to cause the most extreme cases of interest, say for #design purposes.

#MyWork #CCBYSA #WxMaxima #FreeSoftware #AnimatedGif #Engineering

mkwadee@diasp.eu

#LogarithmicSpirals are found in many aspects of nature such as in the growth of #snail #shells and the form of #spiral #galaxies. They have a lot of interesting #geometric properties and this #animation highlights just one of them. It shows that the #PolarAngle (here denoted as ⍺) is constant, being the angle that the #tangent of the spiral makes with the tangent of any circle centred at the origin.

#MathsForTheDay #Mathematics #Maths #Geometry #WxMaxima #FreeSoftware

mkwadee@diasp.eu

#JohannesKeppler was a brilliant #astronomer who studied the motion of #planets. Like everyone, he also had some strange ideas about the heavens, no doubt as a person in the middle ages would about the harmony of worlds and their purported relation to things like the #PlatonicSolids, which was of course bogus. He is probably best known for his famous three laws of #PlanetaryMotion which he reluctantly formulated when he had to abandon the idea that planets only orbit the #Sun in perfect #circles.

His First Law says that planets orbit the Sun in an #ellipse with the Sun at one #focus. Of course, a circle can be thought of as an ellipse where the two #foci have coalesced into one point (zero eccentricity). Here is what the orbit would look like in that case. The angular velocity of the planet is constant in this case and the areas swept out in equal times are identical.
Circular orbit

#Keppler's Second Law states that the areas swept out in equal times are always identical, even for eccentric ellipses. Here are two examples and you can show that the areas of all the sectors in each case are identical. The Sun is labelled S, the other focus is labelled S' and the centre of the orbit is labelled C.
Elliptic orbit e = 0.2
Elliptic orbit e = 0.5
The corollary of this law is that the angular velocity of the planet changes over its orbit, being faster when it is closer to the Sun and slower when it is further away. I have shown the constant-velocity position in red and you can see that it lags behind for half the orbit and leads for the other half.

These animations required me to learn the #mathematics of #CelestialMechanics and I had to find out what terms like #MeanAnomaly, #EccentricAnomaly and #TrueAnomaly are. It also requires the #NumericalSolution of one algebraic equation, which was fun to investigate. All the details are on the #Wikipedia page for Kepler's Laws here:
https://en.wikipedia.org/wiki/Kepler%27s_laws_of_planetary_motion

The third law relates the orbital period to the mean distance from the Sun but that is not covered here.

#MyWork #Maxima #WxMaxima #FreeSoftware #Physics #Astronomy #AnimatedGif #Animation

mkwadee@diasp.eu

In #SolidMechanics, #stress has some counter-intuitive properties, particularly when you rotate the coordinate system. The values of normal and shear stress transform according to the rules of #second-order #tensors, which is a step above #vectors (first-order tensors). To avoid always having to use #matrix #algebra to find the components, #engineers and #mathematicians have long used the Mohr's circle to evaluate them. This is a very handy tool and allows you to find the new values by using circular geometry instead.

Here, I've used #WxMaxima to create this #animation.

#Mechanics #Mathematics #Engineering #MohrsCircle #FreeSoftware

mkwadee@diasp.eu

In the #2D #elasticity, #equilibrium of #stresses can be represented on an infinitesimal rectangular element with components of both #DirectStress and #ShearStress generally acting on all four edges. If you were to rotate the rectangle, the stresses change in a precisely orchestrated fashion. In the orientation where the shear stress components vanish, we get what are called #PrincipalStresses and they and their directions can be ascertained precisely through #eigenvalue analysis. This little graphical demonstration shows one example of such a state. The #AnimatedGif was produced a routine written in #WxMaxima.

#Mathematics #TheoryOfElasticity #Mechanics #SolidMechanics #Engineering #MyWork #CCBYSA #WorkInProgress