-
Notifications
You must be signed in to change notification settings - Fork 0
/
slc.html
107 lines (97 loc) · 2.71 KB
/
slc.html
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Title</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<style>
.footer {
height: 6.25rem;
}
</style>
<script type="text/javascript">
$(document).ready(function(){
$('#radioContainer > input').each(function(){
var radioInput = $(this);
if(radioInput.is(':checked')){
$('#radioContainer').animate({
scrollTop: radioInput.offset().top
}, 2000);
</script>
</head>
<body>
<div class="container">
<div class="page-header col-md-12">
<h1>Saint Lawrence County</h1>
</div>
<div class="row">
<div class="col-md-4">
<div class="container">
<div>
<h1>Data</h1>
<u><h3>Using 2.5MW GE Turbine</p></u>
<p>A = (r^2)pi = (53.6^2)pi</p>
<button onClick="a()">Calculate</button>
<p id="area"></p>
<script>
function a(){
document.getElementById("area").innerHTML = Math.pow(54,2);
}
</script>
<p>Possible Savings$</p>
<p>Potsdam</p>
<button onClick="xAvg()">Calculate</button>
<p id="avg1"></p>
<p id="avg2i"></p>
<script>
function xAvg(){
document.getElementById("avg1").innerHTML = (((11.74 * 8760 * (.25*.5*1.225*Math.pow(5.36,2)*Math.pow(3.576,3)*Math.PI)/10000) + ((13.74 * 8760 * .45*.5*1.225*Math.pow(5.36,5)*Math.PI) )/2).toFixed(2);
}
</script>
</div>
</div>
</div>
<div class="col-md-8 embed-responsive embed-responsive-16by9">
<style>
.embed-container {
position: relative;
padding-bottom: 80%;
height: 0;
max-width: 100%;
}
.embed-container iframe, .embed-container object, .embed-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
small {
position: absolute;
z-index: 40;
bottom: 0;
margin-bottom: -15px;
}
</style>
<div class="embed-container">
<iframe
width="500"
height="400"
frameborder="0"
scrolling="no"
marginheight="0"
marginwidth="0"
title="Saint Lawrence County Wind" src="https://arcg.is/u1Kbr">
</iframe>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
</div>
</footer>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>