-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04680af
commit 107c526
Showing
24 changed files
with
623 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<a href="{{ "/archive" | prepend: site.baseurl | replace: '//', '/' }}"><h2 class="header-link">Archive</h2></a> | ||
<a href="{{ "/about" | prepend: site.baseurl | replace: '//', '/' }}"><h2 class="header-link">About Me</h2></a> | ||
<a href="{{ "/projects" | prepend: site.baseurl | replace: '//', '/' }}"><h2 class="header-link">Projects</h2></a> | ||
<a href="{{ "/atom.xml" | prepend: site.baseurl | replace: '//', '/' }}"><h2 class="header-link">RSS</h2></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
title: Sample Page | ||
categories: Misc. | ||
published: true | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: Digital Logic with Counters | ||
categories: Hardware | ||
published: false | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: Cryptobuddy (HackWITus 2018) | ||
categories: Projects | ||
published: false | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Written and deployed by Wyatt Phillips | ||
// Email: phillipsw1@wit.edu | ||
|
||
function solveEuler(equ, x0, y0, x1, steps) { | ||
// Create equation parser | ||
const parse = math.parse(equ); | ||
const make = parse.compile(); | ||
|
||
// Get step size h | ||
var h = (x1-x0) / steps; | ||
|
||
// Calculate and run Euler's Method | ||
var y1 = y0; | ||
for (var i = 0; i < steps; i++) { | ||
let scope = { | ||
x: x0+(h*i), | ||
y: y1 | ||
} | ||
y1 = y1 + (h * make.eval(scope)); | ||
} | ||
|
||
// Print Result | ||
document.getElementById('solution').value = y1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Euler's Method</title> | ||
<style> | ||
body { | ||
font-family: Verdana, Arial, Helvetica, sans-serif; | ||
} | ||
.main-container { | ||
max-width: 600px; | ||
display: inline-grid; | ||
grid-gap: 20px; | ||
} | ||
.main-header { | ||
background-color: tomato; | ||
padding: 4px 16px; | ||
} | ||
h1 { | ||
background-color: white; | ||
display: inline-block; | ||
padding: 4px 6px; | ||
border: 2px solid black; | ||
|
||
} | ||
.box { | ||
display: inline-block; | ||
border: 2px solid black; | ||
border-radius: 12px; | ||
} | ||
.main-form { | ||
background-color: tomato; | ||
max-width: 600px; | ||
padding: 12px 16px; | ||
} | ||
.output { | ||
grid-row: 2 2; | ||
grid-column: 2 2; | ||
background-color: greenyellow; | ||
max-width: 600px; | ||
padding: 12px 16px; | ||
} | ||
input { | ||
outline: 2px solid black; | ||
} | ||
</style> | ||
<script type="text/javascript" src="math.min.js"></script> | ||
<script type="text/javascript" src="euler.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div class="main-container"> | ||
<div class="main-header box"> | ||
<h1>Solve using Euler's Method.</h1> | ||
<p>This app takes a first order differential equation with an initial value and approximates a solution based on step size (h)</p> | ||
</div> | ||
<div class="main-form box"> | ||
<form> | ||
<p class="form-desc">Differential Equation (dy/dx):</p> | ||
<input type="text" name="equation" id="equation" value="x+y"> | ||
<p class="form-desc">x<sub>0</sub>:</p> | ||
<input type="number" name="init_x" id="init_x" value="0"> | ||
<p class="form-desc">y<sub>0</sub>:</p> | ||
<input type="number" name="init_y" id="init_y" value="1"> | ||
<p class="form-desc">Final x:</p> | ||
<input type="number" name="final_x" id="final_x" value="0.5"> | ||
<p class="form-desc">Steps (Higher Number -> Percise Solution):</p> | ||
<input type="number" name="steps" id="steps" value="5"> | ||
<input type="button" style="margin-left: 10px;" value="Calculate" onclick="solveEuler(equation.value, parseFloat(init_x.value), parseFloat(init_y.value), parseFloat(final_x.value), parseFloat(math.round(steps.value)))"> | ||
</form> | ||
</div> | ||
<div class="output box"> | ||
<p>Final y :</p> | ||
<input type="number" name="solution" id="solution" value=""> | ||
</div> | ||
</div> | ||
<p class="footer"><i>Created by Wyatt Phillips ([email protected])</i></p> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> | ||
<meta name="generator" content="Jekyll"> | ||
|
||
<title>Archive</title> | ||
|
||
<link rel="stylesheet" href="/css/main.css"> | ||
|
||
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="ATOM Feed" /> <!-- Begin Jekyll SEO tag v2.5.0 --> | ||
<title>Archive | Wyatt Phillips</title> | ||
<meta name="generator" content="Jekyll v3.8.5" /> | ||
<meta property="og:title" content="Archive" /> | ||
<meta name="author" content="Wyatt Phillips" /> | ||
<meta property="og:locale" content="en_US" /> | ||
<meta name="description" content="Engineering Student Programmer Hacker" /> | ||
<meta property="og:description" content="Engineering Student Programmer Hacker" /> | ||
<meta property="og:site_name" content="Wyatt Phillips" /> | ||
<script type="application/ld+json"> | ||
{"@type":"WebPage","url":"/archiveold","headline":"Archive","author":{"@type":"Person","name":"Wyatt Phillips"},"description":"Engineering Student Programmer Hacker","@context":"http://schema.org"}</script> | ||
<!-- End Jekyll SEO tag --> | ||
|
||
</head> | ||
|
||
<body> | ||
<div id="wrapper"> | ||
<header> | ||
<div> | ||
<a href="/"> | ||
|
||
<h1>wphillips@home:~$</h1> | ||
</a> | ||
<p style="text-align: center;">Engineering Student | Programmer | Hacker</p> | ||
<div class="header-links"> | ||
<a href="/archive"><h2 class="header-link">Archive</h2></a> | ||
<a href="/about"><h2 class="header-link">About Me</h2></a> | ||
<a href="/projects"><h2 class="header-link">Projects</h2></a> | ||
<a href="/atom.xml"><h2 class="header-link">RSS</h2></a> | ||
|
||
</div> | ||
</div> | ||
</header> | ||
|
||
<div class="container"> | ||
<section id="main_content"> | ||
<article> | ||
<section> | ||
|
||
|
||
|
||
|
||
|
||
<h3>2017</h3> | ||
|
||
|
||
|
||
|
||
<ul> | ||
|
||
<li><time>12 Dec - </time> | ||
<a href="/Sample-Page"> | ||
Sample Page | ||
</a> | ||
</li> | ||
|
||
</ul> | ||
|
||
|
||
</section> | ||
|
||
</article> | ||
</section> | ||
</div> | ||
</div> | ||
|
||
<footer> | ||
<a href="https://www.linkedin.com/in/wyatt-phillips-53805a123/">LinkedIn<a> | ||
<a href="https://github.com/SirTangent">GitHub<a> | ||
<a href="https://keybase.io/sirtangent">Keybase<a> | ||
<a href="https://www.hackster.io/SirTangent">Hackster.io<a> | ||
<a href="https://twitter.com/SirTangent180">Twitter<a> | ||
<a href="https://www.instagram.com/sirtangent/">Instagram<a> | ||
<!-- | ||
<a href="https://creativecommons.org/licenses/by-nc/3.0/deed.en_US"> | ||
<span> | ||
<b>wphillips</b> | ||
</span> | ||
<span>© 2018</span> | ||
</a> | ||
--> | ||
</footer> | ||
|
||
|
||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.