Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Math problem
#19
(05-06-2023, 07:52 PM)Ottia Tuota Wrote:
(05-06-2023, 08:23 AM)Ottia Tuota Wrote: I think now that the problem is in definitions. In post#1 it seems that with growing offset the window moves to the left. In my solution with growing 'x' the window moves to the right. So one should first set the definition of the offset once and for all and then find the exact relationship between the offset and my 'x'. (Or perhaps you already did this? It doesn't show in your post. And I'm sorry, I should have done it when I posted my solution.)

The way I thought was that 'x' is the coordinate of the left edge of the window when the origo is fixed at the left edge of some fixed line. The picture shows how I was thinking the situation:

And, overcoming my laziness, I looked at the relationship between the offset (as it is in post #1) and the 'x' in my solution. It is:

offset + x = a   (= line width).

(Or you can add any fixed integer multiple of the period = line width + space width.)

So, if you want to keep using the offset in post #1, then to apply my formulas you call them with x = a-offset.

Yes, that indeed explains the difference.
Reply


Messages In This Thread
Math problem - by Ofnuts - 05-02-2023, 08:45 AM
RE: Math problem - by PixLab - 05-03-2023, 08:47 AM
RE: Math problem - by rich2005 - 05-03-2023, 10:17 AM
RE: Math problem - by Ofnuts - 05-04-2023, 10:51 AM
RE: Math problem - by rich2005 - 05-04-2023, 11:05 AM
RE: Math problem - by Ofnuts - 05-04-2023, 11:45 AM
RE: Math problem - by programmer_ceds - 05-04-2023, 05:33 PM
RE: Math problem - by rich2005 - 05-04-2023, 12:27 PM
RE: Math problem - by Ofnuts - 05-04-2023, 12:58 PM
RE: Math problem - by Ottia Tuota - 05-04-2023, 05:34 PM
RE: Math problem - by Ofnuts - 05-05-2023, 04:50 PM
RE: Math problem - by Ottia Tuota - 05-05-2023, 07:12 PM
RE: Math problem - by Ofnuts - 05-05-2023, 08:04 PM
RE: Math problem - by programmer_ceds - 05-05-2023, 09:53 PM
RE: Math problem - by Ofnuts - 05-05-2023, 10:54 PM
RE: Math problem - by Ottia Tuota - 05-06-2023, 08:23 AM
RE: Math problem - by programmer_ceds - 05-06-2023, 10:22 AM
RE: Math problem - by Ottia Tuota - 05-06-2023, 07:52 PM
RE: Math problem - by Ofnuts - 05-06-2023, 09:05 PM

Forum Jump: