summaryrefslogtreecommitdiff
path: root/896/CH1/EX1.5/5.sce
blob: f6fb9e95a8f43d8817bf1685ab9bb4e3bac72e5f (plain)
1
2
3
4
5
6
7
clc
//Example 1,5
//Convert 2.6 hours into seconds
t=2.6//hr
//1 hr = 3600 s
t1=2.6*3600//s
printf("2.6 hours = %f seconds",t1);