Python Forum
Parameterized math calculations?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parameterized math calculations?
#7
(May-31-2022, 07:14 PM)babaliaris Wrote: 1) How did you come up with these definitions?
Well I just felt that due to the fact that the equation has only linear and quadratic terms, it could be possible to eliminate the constants a and b from the equations by scaling the time and the solution with an ad hoc factor. This idea is classical in the field of ODE and PDE, it is related to the techniques of nondimensionalization.
(May-31-2022, 07:14 PM)babaliaris Wrote: 2) Why does this "method" stands mathematically?
If t ⟶ (y(t), e(t)) is a trajectory of the second system (without a and b), then t ⟶ (Y(t), E(t)) := ((b/a) y(bt), (b/a) e(bt)) is a trajectory of the first system and conversely. So there is a one to one correspondance between the trajectories of the two systems. The only problem is that we don't know (a, b), but it is true that the vector (Y, E) at time t is a multiple of the vector (y, e) at time b t. The factor between the two is (b/a)
(May-31-2022, 07:14 PM)babaliaris Wrote: 3) Are y' = y'(t) and e' = e'(t)?
The relation y' = - y e holds at any moment, so it can be y'(t) = - y(t) e(t) or y'(b t) = - y(b t) e(b t) etc. This is not important
(May-31-2022, 07:14 PM)babaliaris Wrote: 4) How am I going to calculate y(bt), e(bt) if I need it in the Runge-Kutta method? You mentioned something about multiple of Y(t), E(t)?
Suppose that you know the initial position (Y0, E0) at time t=0 and the final position (Y1, E1) at time t1. Your problem is to find (a, b) such that the trajectory starting from (Y0, E0) reaches (Y1, E1). In terms of (y, e) we know that initially (y0, e0) is a multiple of (Y0, E0), that is to say (y0, e0) = u * (Y0, E0) but we don't know u which should be equal to a/b. We apply Runge Kutta to the second system, starting from u * (Y0, E0) and we run the method until (y, e) is a multiple of (Y1, E1), say (y1, e1) = v * (Y1, E1). This defines a mapping P: u ⟶ v from (0, inf) to (0, inf). Our problem is to find a value u such that P(u) = u. Indeed in this case we have u = a/b and t = b t1 where t is the time computed by the algorithm to reach this position.
Reply


Messages In This Thread
Parameterized math calculations? - by babaliaris - May-29-2022, 06:17 PM
RE: Parameterized math calculations? - by Larz60+ - May-29-2022, 08:56 PM
RE: Parameterized math calculations? - by Gribouillis - May-31-2022, 07:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  math.log versus math.log10 stevendaprano 10 4,797 May-23-2022, 08:59 PM
Last Post: jefsummers
  Python, how to manage multiple data in list or dictionary with calculations and FIFO Mikeardy 8 4,486 Dec-31-2021, 07:47 AM
Last Post: Mikeardy
Photo Filtering data and precision during calculations Scientifix 0 2,338 Mar-30-2021, 01:00 PM
Last Post: Scientifix
  List calculations rturus 1 2,394 Mar-23-2021, 04:40 PM
Last Post: deanhystad
  Why getting ValueError : Math domain error in trig. function, math.asin() ? jahuja73 3 5,422 Feb-24-2021, 05:09 PM
Last Post: bowlofred
  Automation in calculations interdisciplinary 5 3,894 Dec-10-2020, 11:22 PM
Last Post: deanhystad
  Latitude&Longitude Calculations gdimit 3 4,691 Jan-30-2018, 07:47 AM
Last Post: buran
  Parameterized SQL query purnima1 1 5,191 Oct-10-2017, 03:08 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020