My Math Forum compare trips based upon price

 Algebra Pre-Algebra and Basic Algebra Math Forum

 May 16th, 2019, 12:47 AM #1 Newbie   Joined: May 2019 From: munich Posts: 1 Thanks: 0 compare trips based upon price I'm writing an algorithm to compare travel trips. A trip is a combination of (1) a flight and (2) an accommodation. For now I'm only looking at the prices. I want to find the "best" trip based upon the price. The problem is that the flight price is a static value which doesn't increase by the amount of nights you spend. Vice versa, the accommodation price does increases each time the amount of nights increases. Obviously, formulas like those might solve the question, but they don't: q = flight_price+accommodation_price --> short trips are favored q = (flight_price+accommodation_price)/nights ---> long trips are favored So what would be an appropriate indicator to say that a trip is "better"? This indicator doesn't need to provide a "real" price. It should rather give a value to compare the trips and put them in relation. Thank you. Last edited by skipjack; May 16th, 2019 at 06:31 AM.

 Tags based, compare, price, trips

 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post Lefteris Moraitis Algebra 4 June 20th, 2014 05:01 AM Albert.Teng Algebra 8 August 24th, 2013 10:21 AM tsl182forever8 Calculus 2 March 15th, 2012 03:07 PM math4u Calculus 0 December 22nd, 2009 12:54 AM

 Contact - Home - Forums - Cryptocurrency Forum - Top