From 2e018783d251eed20c95385ae353bf302668b023 Mon Sep 17 00:00:00 2001 From: Gathros Date: Thu, 14 Sep 2017 11:51:44 +0100 Subject: [PATCH 1/4] Adding javascript to Verlet --- chapters/computational_physics/verlet.md | 77 +++++++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) diff --git a/chapters/computational_physics/verlet.md b/chapters/computational_physics/verlet.md index ba18de7f1..d1463d06f 100644 --- a/chapters/computational_physics/verlet.md +++ b/chapters/computational_physics/verlet.md @@ -435,7 +435,7 @@ Submitted by P. Mekhail #### C -``` +```c // Submitted by Gathros #include @@ -502,3 +502,78 @@ int main(){ } ``` + +### JavaScript + +```html + + + +

JavaScript

+

verlet:

+

+

stormer_verlet:

+

+

velocity_verlet:

+

+ + + + + +``` From 9c04dc60c9cdd137715098989b36f0c793027d26 Mon Sep 17 00:00:00 2001 From: Gathros Date: Thu, 14 Sep 2017 13:59:06 +0100 Subject: [PATCH 2/4] Adding javascript to Tree traversal --- .../fundamental_algorithms/tree_traversal.md | 77 ++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) diff --git a/chapters/fundamental_algorithms/tree_traversal.md b/chapters/fundamental_algorithms/tree_traversal.md index 4026a04a0..b5abb404e 100644 --- a/chapters/fundamental_algorithms/tree_traversal.md +++ b/chapters/fundamental_algorithms/tree_traversal.md @@ -330,7 +330,7 @@ main() ### C -```C: +```c // Submitted by Gathros #include #include @@ -597,3 +597,78 @@ namespace Tree_Traversal } } ``` + +####JavaScript + +```html + + + + + + +``` From 812c15e333d9bec53d91fee478378c4372ffb3d2 Mon Sep 17 00:00:00 2001 From: The Gathros Date: Thu, 14 Sep 2017 21:44:54 +0100 Subject: [PATCH 3/4] Update verlet.md --- chapters/computational_physics/verlet.md | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/chapters/computational_physics/verlet.md b/chapters/computational_physics/verlet.md index d1463d06f..314e102f7 100644 --- a/chapters/computational_physics/verlet.md +++ b/chapters/computational_physics/verlet.md @@ -509,14 +509,6 @@ int main(){ -

JavaScript

-

verlet:

-

-

stormer_verlet:

-

-

velocity_verlet:

-

- - ``` From 17c996d217d03b8c761b4b33a75b2435b7176a49 Mon Sep 17 00:00:00 2001 From: The Gathros Date: Thu, 14 Sep 2017 21:46:15 +0100 Subject: [PATCH 4/4] Update tree_traversal.md --- chapters/fundamental_algorithms/tree_traversal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/fundamental_algorithms/tree_traversal.md b/chapters/fundamental_algorithms/tree_traversal.md index b5abb404e..afd3d36fd 100644 --- a/chapters/fundamental_algorithms/tree_traversal.md +++ b/chapters/fundamental_algorithms/tree_traversal.md @@ -598,7 +598,7 @@ namespace Tree_Traversal } ``` -####JavaScript +#### JavaScript ```html