summaryrefslogtreecommitdiff
path: root/24/DEPENDENCIES/Example2_1b.sce
blob: 9d9923e9d5ca9f507e02445454c57bebed489ff1 (plain)
1
2
3
4
5
6
7
8
exec('Example2_1a.sce', -1)
clc

//Sample Problem 2-1b
printf("\n**Sample Problem 2-1b**\n")
time = distance_covered / velocity  //in hr
delta_t = time  + next_time /60  //in hr
printf("Time interval from the begining of the drive to the arrival at the station is %f hr", delta_t)