Yigit Turgut wrote: > So you assumed the road is linear ? There is no need to. A 10km long road that goes up at 30 degree slope will rise 5km, whether it goes in a straight line or not. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .