This repository has been archived by the owner on Apr 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.Rmd
54 lines (37 loc) · 2.14 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
title : Latitude-adjusted Body Mass Index (LA-BMI) Calculator
subtitle :
author : Jan Hagelauer
date : 2014-11-17
job :
framework : io2012 # {io2012, html5slides, shower, dzslides, ...}
highlighter : highlight.js # {highlight.js, prettify, highlight}
hitheme : tomorrow #
widgets : [mathjax] # {mathjax, quiz, bootstrap}
mode : selfcontained # {standalone, draft}
knit : slidify::knit2slides
---
## Motivation
John D. is travelling to Tromsø (N69.648787, E18.954408). According to the scale in the hotel, he weighs 80.9 kg. At 1,80m, this leaves him with a BMI of 24.97. John is very happy finally having achieved normal weight and decides to go feasting tonight.
**What John doesn't know:** the scale he used is adjusted for standard gravity. His actual weight is 81.06 kg, and his actual BMI 25.02, meaning that he is still overweight.
**The latitude-adjusted Body Mass Index calculator can help avoid unfounded feasting!**
--- .class #id
## Why latitude-adjustment is necessary
**Gravity** is not the constant across the globe. The two main factors influencing local gravity are:
- variation in the *centrifugal force* resulting from the earth's rotation
- the *equatorial bulge* (the earth's greater diameter at the equator compared to the poles)
These two factors are dependent on the location's *latitude* and can result in deviations of the local gravity from the standard gravity of up to 0.5%.
--- .class #id
## Gravity and weight
Electronic scales measure the **force** applied by the measured object to the scale's surface.
This force ($F$) is directly proportional to the object's mass ($m$) and the local gravity ($g$):
$F = m \cdot g$
The variability of local gravity on earth therefore results in a measurement error of electronic scales.
--- .class #id
## Completely unrelated plot
The following plot was merely put into this presentation to fully comply with Coursera's grading requirements.
```{r, echo=FALSE}
library(ggplot2)
plot <- ggplot(cars, aes(speed,dist))
plot + geom_point() + xlab("Speed (km/h)") + ylab("Distance (m)") + ggtitle("Somewhat nice R plot")
```