Public
Edited
May 22
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
cal_func = function(weight, height, steps, speed, MET) {
const time_m = time_func(height, steps, speed)
return time_m * MET * 3.5 * weight / 200
}
Insert cell
time_func = function(height, steps, speed) {
const height_m = height / 100
const stride_m = height_m * 0.414
const distance_m = stride_m * steps
const speed_kph = speed * 1.609
const time_h = distance_m / (speed_kph * 1000)
return time_h * 60
}
Insert cell
import {weight_input, weight_kg, height_input, height_cm, viewof steps} from "59248563da107bc7"
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more