Results 1 to 3 of 3
Like Tree1Thanks
  • 1 Post By HallsofIvy

Thread: Working out what percentage time 1 is faster than time 2 with respect to time 2

  1. #1
    Newbie
    Joined
    Feb 2009
    Posts
    13

    Working out what percentage time 1 is faster than time 2 with respect to time 2

    Hey everyone, I'm having a little difficulty with something very basic but the problem is kind of subtle and I'm really afraid of getting it wrong in my report because it's one of those mistakes one can easily miss.
    I programmed two versions of some code and time tested them. Let's say for example
    Time recorded for method 1 = T1 = 1 second.
    Time recorded for method 2 = 3 seconds.

    I want to now say 'This is the percentage that method 1 is faster than method 2: '.

    How would one go about this?

    I'm also open to suggestions of the best way to show how time 1 is faster than 2.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor

    Joined
    Apr 2005
    Posts
    19,340
    Thanks
    2859

    Re: Working out what percentage time 1 is faster than time 2 with respect to time 2

    Given two numbers, A and B, with A larger than B, the amount that "A is larger than B" is A- B. The "percentage that A is larger than B, with respect to B" is \frac{B- A}{B} expressed as a percentage. If method 2 takes 3 seconds while method 1 take 1 second then method 1 is 3- 1= 2 seconds faster than method 2. The percentage that method 1 is faster than method 2, as a percentage of method 2 (or "with respect to method 2) is \frac{2}{3}= \frac{2}{3}= 0.66666...= 66\frac{2}{3}\%.
    Thanks from Squared
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Feb 2009
    Posts
    13

    Re: Working out what percentage time 1 is faster than time 2 with respect to time 2

    Okay, thank you very much, now I feel more reassured. Also as a follow up question is my method for comparing the speeds of method 1 and 2 acceptable, as in, would you as a reader find it useful to know that method 1 is 66.6% faster than method 2?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 0
    Last Post: Jul 15th 2014, 05:50 PM
  2. Replies: 1
    Last Post: Dec 9th 2012, 02:46 AM
  3. Replies: 4
    Last Post: Sep 2nd 2012, 03:50 PM
  4. Replies: 1
    Last Post: Dec 19th 2011, 03:27 PM
  5. Replies: 3
    Last Post: Dec 6th 2010, 02:52 AM

Search Tags


/mathhelpforum @mathhelpforum