I found this on Medium

Gracias to Junaid Mubeen

Oxford Mathematician turned educator. @HGSE ’12. Head of Product @MathsWhizzTutor. Long-distance runner. Anagrams. http://www.fjmubeen.com

18 hrs ago6 min read

I found this on Medium

Gracias to Junaid Mubeen

Oxford Mathematician turned educator. @HGSE ’12. Head of Product @MathsWhizzTutor. Long-distance runner. Anagrams. http://www.fjmubeen.com

18 hrs ago6 min read

Filed under education, math apps, Uncategorized

A simple function has an input, call it x, and an output, f(x). Sometimes the input is t, for time, and the output is the value f(t), observed at time t. With such a function, or process, we can look at what happened in the past, but we cannot know for certain what will happen in the future. Of course, we may have a (mathematical) model of the process, which allows us to make predictions about the future. These processes are “simple”, insofar as the future behaviour depends only on the value of the time variable.

An example is the height of a projectile, s(t) = ut – 0.5gt^{2}

Borrowed from dy/dan “Will it hit the hoop?”

Far more interesting are what I shall call “dynamic” processes, in which the future behaviour depends on how the process output got to its current value (at time now!). This implies that in the simplest case the rate of change of the process output is involved.

This is an early industrial static steam engine, designed by James Watt. The input is steam flow, the output is the rotational speed of the flywheel.

An example is a DC (direct current) electric motor driving a load. The way its speed changes over time depends not only on the voltage applied, but also on the speed at the moment (now).

This setup can be modeled by a simple first order differential equation, but since computers came along it became clear that a simpler model using difference equations would do the job as well.

Let time be seen as equally spaced points, labeled …n-1, n, n+1, … and the speed of the motor at time n be v_{n}.

Then the model of the process is v_{n+1} = av_{n} + ku_{n}, where u_{n} is the voltage input at time n. The values of a and k are to be determined from theoretical or observed behaviour of the motor.This model is very good if we choose to keep the input voltage constant for the duration of the time interval.

Now for the amusing bit. I had taught business students about exponentially weighted averages numerous times previous to my sabbatical year studying control systems, and when I finally became happy with the discrete models as described above I realized in one of those moments that don’t happen very often that the equations were THE SAME in both cases. A bit of rewriting needed !

ewma(n) = (1-k)*ewma(n-1) + k*x(n)

v_{n+1} = av_{n} + ku_{n}

Next post will look at feedback and computer control of dynamic systems.

Filed under discrete model, dynamic systems, engineering, forecasting, math, math apps, time series, Uncategorized

Thanks to intense use of the internet I finally found a simple, understandable way of implementing Save and Fetch operations, enabling the keeping and reusing of any construction.

Here is a reminder of the application (app, program, software, whatever), with the file handling operations:

The user panel and a simple example of three points on a circle, with the bisectors of the pairs of points.

The history panel showing the actions that have been carried out

The Save popup,and, below, the resulting text file.

There is now a not quite finished Spanish option – just click “ESPANOL”

Also a modified “move object” procedure for use with a tablet,or even a smartphone.

The whole application is constructed as a web page, and to run it just click this link: geostruct

The full url is http://www.mathcomesalive.com/mathsite/geostruct/geostructforbrowser1.html