Chapter-2 Q015 - Physics For Engineers And Scientists - Solutions
 ON7AMI Amateur Radio, Meteology and Astronomy website. JO10UX

# Question 15 - Problems - Chapter 2¶

## Problem:¶

The distance from New York to Belem, Brazil, is 5280 km.

## Question:¶

a) How long does it take you to travel this distance by airliner, at 900 km/h?

b) How long does it take you by ship, at 35 km/h?

## Solution:¶

Distance $s = 5280$ km

Speed $v = 900$ km/h

Time $t = \frac{s}{t}$

In [1]:
from datetime import timedelta
from datetime import datetime
dts = datetime(2000,1,1,0,0,0,0)
Distance = 5280 # in km
Speed = 900 # in km/h
Time = Distance / Speed
tm = timedelta(hours=Time)
dt = dts + tm
print(f'The time to fly is {Time:.3f} h. or ' + dt.strftime('%Hh %Mm %Ss'))
Speed = 35 # in km/h
Time = Distance / Speed
tm = timedelta(hours=Time)
dt = dts + tm
print(f'The time by boat is {Time:.3f} h. or ' + dt.strftime('%d days %Hh %Mm %Ss'))

The time to fly is 5.867 h. or 05h 52m 00s
The time by boat is 150.857 h. or 07 days 06h 51m 25s


 سُوۡرَةُ حٰمٓ السجدة / فُصّلَت ثُمَّ اسْتَوَىٰ إِلَى السَّمَاءِ وَهِيَ دُخَانٌ فَقَالَ لَهَا وَلِلْأَرْضِ ائْتِيَا طَوْعًا أَوْ كَرْهًا قَالَتَا أَتَيْنَا طَائِعِينَ ﴿١١ فَقَضَاهُنَّ سَبْعَ سَمَاوَاتٍ فِي يَوْمَيْنِ وَأَوْحَىٰ فِي كُلِّ سَمَاءٍ أَمْرَهَا ۚ وَزَيَّنَّا السَّمَاءَ الدُّنْيَا بِمَصَابِيحَ وَحِفْظًا ۚ ذَٰلِكَ تَقْدِيرُ الْعَزِيزِ الْعَلِيمِ ﴿١٢ Surah Fussilat: Thereafter turned He to the heaven and it was as smoke, and said Unto it and Unto the earth: come ye twain, willingly or loth. They said: we come willingly. (11) Then He decreed them as seven heavens in two days, and revealed Unto each heaven the command thereof; and We bedecked the nether heaven with lamps and placed therein a guard. That is the ordinance of the Mighty, the Knower. (12) De hemelen en aarde (waren) een samenhangende massa. Wij hebben ze toen van elkaar gescheiden… Wij hebben de hemel tot een beschermend dak gemaakt … en de dag en de nacht, de zon en de maan geschapen. (Koran 41 11:12) Copyright (c) 2000-2020 - Jean Paul Mertens - ON7AMI - formal ON1AMI - Grote Steenweg 86 - 9840 Zevergem - Belgium - Europe