From 4ab656f07814aaa53744d5719b0fd5e977e61e3f Mon Sep 17 00:00:00 2001
From: Grace Copplestone <grace.copplestone@cba.mit.edu>
Date: Thu, 17 Aug 2017 13:14:27 -0400
Subject: [PATCH] Update README.md

---
 README.md | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

diff --git a/README.md b/README.md
index d8ea6c0..f19ffb8 100644
--- a/README.md
+++ b/README.md
@@ -23,27 +23,26 @@ The nRF52832 draws 5mA peak @ 3.3V
 The Hall Effect Sensor draws xmA @ 3.3V
 
 Assume whole device runs at peak load for 5% of the time
-
-P = IV = 5e-3 * 3.3 * 0.05 = 0.825 mW 
-
-1 Wh = 1 watt for 1 hour
-
-0.825 mW for 365 days = 7.2 Wh
-
-E [wh] = (Q [mAh] * V [V])/1000
-
+```math 
+P = IV = 5 * 10^{-3} * 3.3 * 0.05 = 0.825 mW 
+```
+```math 
+1 Wh = 1~watt~for~1~hour
+```
+```math
+0.825~mW~for~365~days = 7.2 Wh
+```
+```math
+E [Wh] = (Q [mAh] * V [V])/1000
+```
+```math
 Q = (1000 * 7.2)/3.3 = 2181 mAh
+```
 
 The CR2477 is one of the largest coin cell batterys (20mm diameter and 4.7mm thickness) and has a capacity of ~1000 mAh. 
 
 An Alkaline AA battery can supply 1.5V with a capacity of 1800–2600 mAh
 
-(Haven't found a good way to embed maths equations in the README and have them render in the Project page of the repo, there's http://www.sciweavers.org/free-online-latex-equation-editor and http://latex.codecogs.com/ but they require editing the equation through their website.)
-
-This is on a separate line
-```math
-a^2+b^2=c^2
-```
 
  
 
-- 
GitLab