No it's OK, I see what you are doing now, and where the error is that was confusing me.
The last point you plotted was 36 km/h at 40 minutes, 57 km and you then drew a straight line to 0 km/h at 45 minutes, implying that the average speed for the remaining trip decreased from 36 km/h to zero...
Either you are not explaining yourself well or you are making mistakes in your calculations - or, and I believe this is the case, both.
For instance both from your description and from the blue line in #5 it is clear that the last kilometre of the journey takes about 8 minutes, an average speed...
What you seem to have plotted on the grey line is for any time ## t ## the average speed required to reach the destination in ## t + 60 ## minutes.
Is this something you are interested in?
A related point which I think is worth mentioning is that any integration routine implemented in Python code will be orders of magnitude slower than the routines implemented in scipy.integrate.solve-ivp (some of which link libraries written in Fortran).
I have had a quick look at some of these and I think there is room for improvement if you want to offer this up as suitable for testing and comparing ODE solvers.
For example
[code lang=Python title=pleaides.py]
def f(t, u):
[pos, vel] = np.hsplit(u, 2)
xx = pos[:,0:1]
yy =...
@BvU you are confusing rounding epsilon with interval epsilon.
@arhzz given that 2 is twice the size of 1 it should be obvious that they could not both have the same value of epsilon.
Why? If the OP is studying in Europe then answers with full stops as the fractional separator would be wrong. You do need to insert braces around the comma though to avoid inserting unwanted white space, and also use \times instead of * for multiplication, so instead of 1,19 * 10^{-7} rendered...
No.
You have tagged this post "Python"; this already implements standard algorithms and data structures (as do other high level languages) so you don't need to know how to write them.
Programming does not involve any "deeper logic", what it consists of is breaking down a problem into smaller...
I don't know how you solved it but I wouldn't describe it as "manual and painstaking":
Your diagram and workings in the OP for the first meeting are correct.
You can then see that it takes C1 ## \frac{2}{32} = \frac{1}{16} ## hour to get to A and C2 ## \frac{8}{8} = 1 ## hour to get to B.
Your...
No it isn't.
"One of the towns" uniquely identifies one of the towns, without loss of generality let this be B. The phrase is then "first at 2 km and then 6 km away from B".
If the question setter had intended to express the meaning that you want the phrase would have been written "first at 2...
This is a web bot: the whole file is read into memory once and then stays there for hours/days/weeks, easily serving multiple requests per second if necessary, even with a basic shared hosting service (providing that does not breach the terms of the web host of course: some explicitly forbid...