Colton Idle
11/30/2023, 3:26 PMShawn
11/30/2023, 3:31 PMShawn
11/30/2023, 3:32 PMn seconds and raises it to the fifth power?Colton Idle
11/30/2023, 3:35 PMShawn
11/30/2023, 3:39 PMShawn
11/30/2023, 3:41 PMShawn
11/30/2023, 3:41 PMColton Idle
11/30/2023, 3:41 PMint to yeild whats that mean?Colton Idle
11/30/2023, 3:42 PMShawn
11/30/2023, 3:42 PMInt in order to yield `milliseconds`"Colton Idle
11/30/2023, 3:42 PMColton Idle
11/30/2023, 3:43 PMColton Idle
11/30/2023, 3:44 PMShawn
11/30/2023, 3:44 PMShawn
11/30/2023, 3:45 PMColton Idle
11/30/2023, 3:45 PMRuckus
11/30/2023, 4:00 PM(1 s)^5 is not 1 s, it's 1 s^5 (one "five dimensional second"), and 1 s^5 is not 1_000 ms^5, it's 1_000_000_000_000_000 ms^5 (1_000^5 ms^5). (Just like a unit cube is made of 8 half unit cubes, not 2.)Ruckus
11/30/2023, 4:05 PMKlitos Kyriacou
11/30/2023, 5:25 PMColton Idle
11/30/2023, 6:15 PMRuckus
11/30/2023, 6:19 PMn (e.g. O(n^2)) and not on the time it takes n to happen. That way the end result is also unit-less (as opposed to time^2 in this case), and things like nested loops can still take place in one dimensional time.Ruckus
11/30/2023, 6:28 PMn operation takes s seconds to complete, so if we have a calculation that does that n operations in 5 nested loops, how long will it take?" you should be calculating n^5, not s^5. If all they give you is s, you need to factor out time to get to n before doing the calculation.Marcin Wisniowski
01/11/2024, 3:22 PMWhat on Earth does seconds to the power of 5 represent?1m/s = I moved 1 meter in a second 1m/s^2 = Every second I increased my movement speed by 1m/s 1m/s^3 = Every second I increased my acceleration rate by 1m/s^2 1m/s^4 = Every second I increased the rate of increase of my acceleration by 1m/s^3 1m/s^5 = Every second I increased the rate of increase of the rate of increase of my acceleration by 1m/s^4
Marcin Wisniowski
01/11/2024, 3:24 PMColton Idle
01/11/2024, 4:41 PM