-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
341 lines (269 loc) · 14.2 KB
/
index.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<!doctype html>
<html lang="pt-br">
<head>
<!-- Required meta tags -->
{% load staticfiles %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS
<link rel="stylesheet" href="node_modules/bootstrap/compiler/bootstrap.css">
-->
<link rel="stylesheet" href="{% static 'node_modules/bootstrap/compiler/bootstrap.css' %}" type = "text/css"/>
<!-- Styles CSS
<link rel="stylesheet" href="styles/css/style.css"> -->
<link rel="stylesheet" href="{% static 'styles/css/style.css' %}" type = "text/css"/>
<!-- Font Awesome
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.css">
-->
<link rel="stylesheet" href="{% static 'node_modules/font-awesome/css/font-awesome.css' %}" type = "text/css"/>
<title>Projeto de Cálculo Numérico</title>
</head>
<body>
<!-- WIDGETS e LAYOUT -->
<!--
navbar-expand-lg: define o tamanho minimo para o navbar não aparecer, como
em certos dispositivos mobile, aonde não se tem espaço suficiente para o navbar.
navbar-light: define as cores em cinza escuro do navbar.
bg-light: define a cor do background do navbar como cinza claro.
-->
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top">
<div class="container">
<a class="navbar-brand h1 mb-0" href="TODO Link para Alguma pag">Grupo Iliantia</a>
<!-- Botão Lateral de Expansão:
Descrição: apenas aparece quando a tela chega a um determinado
tamanho que limita a exibição do navbar completamente. Ele serve justamente
para esconder ou exibir os itens do navbar em formato de lista vertical.
-->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSite">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Itens do Navbar:
Descrição: podem sumir dependendo do tamanho de tela, mas o uso do Botão Lateral
permite que eles reapareçam num formato de lista vertical.
-->
<div class="collapse navbar-collapse" id="navbarSite">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="TODO LINK">Parte I</a>
</li>
<li class="nav-item">
<a class="nav-link" href="TODO LINK">Parte II</a>
</li>
<li class="nav-item">
<a class="nav-link" href="TODO LINK">Parte III</a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="https://github.com/Drayton80/Web-CalculoNumerico">GitHub</a>
</li>
</ul>
</div>
</div>
</nav>
<!--||--=====================--||--===================================================-->
<!--|| Método da Falsa Posição ||--------------------------------------------------------->
<div class="container mt-5">
<!--| Nome do Método |----------------------------------->
<div class="row">
<div class="col-12 text-center mt-4 mb-2 text-primary">
<h2>Método da Falsa Posição</h2>
</div>
</div>
<!--|-----------------|----------------------------------->
<!--| Inputs de Atributos |------------------------------->
<div class="row justify-content-center">
<div class="col-sm-6 col-md-8 col-lg-10">
<form>
<!--| Equação de f(x) |-->
<div class="form-row mb-3">
<label class="text-primary" for="falsaPosicaoEquacao">Equação de f(x)</label>
<input type="text" class="form-control" id="falsaPosicaoEquacaoInput" placeholder="Ex.: x^2+2*x">
</div>
<!--| Definição do Intervalo |-->
<div class="form-row">
<div class="form-group col-sm-6 col-md-6 col-lg-6 mb-3">
<label class="text-primary" for="falsaPosicaoLI">Limite Inferior</label>
<input type="text" class="form-control" id="falsaPosicaoLIInput" placeholder="Ex.: 1">
</div>
<div class="form-group col-sm-6 col-md-6 col-lg-6 mb-3">
<label class="text-primary" for="falsaPosicaoLS">Limite Superior</label>
<input type="text" class="form-control" id="falsaPosicaoLSInput" placeholder="Ex.: 3">
</div>
</div>
<!--| Critério de Parada |-->
<div class="form-row mb-3 d-flex">
<div class="form-group col-sm-6 col-md-6 col-lg-6">
<label class="text-primary" for="falsaPosicaoTolerancia">Tolerância</label>
<input type="text" class="form-control" id="falsaPosicaoToleranciaInput" placeholder="Ex.: 10^-3">
</div>
<div class="form-group col-sm-6 col-md-6 col-lg-6 align-self-end">
<div class="dropdown">
<button class="btn btn-block btn-outline-primary dropdown-toggle" type="button" data-toggle="dropdown" id="falsaPosicaoErro">
Critério de Parada
</button>
<div class="dropdown-menu w-100">
<button class="dropdown-item text-primary font-weight-normal btn-block text-center" type="button" id="falsaPosicaoErroAbsoluto">Erro Absoluto</button>
<button class="dropdown-item text-primary font-weight-normal btn-block text-center" type="button" id="falsaPosicaoErroRelativo">Erro Relativo</button>
</div>
</div>
</div>
</div>
<!--| Resultado da Raiz |-->
<div class="form-row">
<label class="text-primary h6" for="falsaPosicaoRaiz">Raiz Aproximada x* = </label>
<!-- TO DO Exibir Resultado -->
</div>
<!--| Exibição do Gráfico |-->
<div class="form-row">
<label class="text-primary h5" for="falsaPosicaoGrafico">Gráfico das Iterações </label>
<!-- TO DO Exibidor de Gráfico -->
</div>
</form>
</div>
<!--|---------------------|------------------------------->
</div>
</div>
<!--||-------------------------||--------------------------------------------------------->
<!--||--=====================--||--===================================================-->
<!--||--=================--||--=======================================================-->
<!--|| Método das Secantes ||------------------------------------------------------------->
<div class="container">
<!--| Nome do Método |----------------------------------->
<div class="row">
<div class="col-12 text-center mt-4 mb-2 text-primary">
<h2>Método da Secante</h2>
</div>
</div>
<!--|-----------------|----------------------------------->
<!--| Inputs de Atributos |------------------------------->
<div class="row justify-content-center">
<div class="col-sm-6 col-md-8 col-lg-10">
<form>
<!--| Equação de f(x) |-->
<div class="form-row mb-3">
<label class="text-primary" for="secanteEquacao">Equação de f(x)</label>
<input type="text" class="form-control" id="secanteEquacaoInput" placeholder="Ex.: x^2+2*x">
</div>
<!--| Estimativas Iniciais |-->
<div class="form-row">
<div class="form-group col-sm-6 col-md-6 col-lg-6 mb-3">
<label class="text-primary" for="secanteX0">Estimativa x0</label>
<input type="text" class="form-control" id="secanteX0Input" placeholder="Ex.: 1.8">
</div>
<div class="form-group col-sm-6 col-md-6 col-lg-6 mb-3">
<label class="text-primary" for="secanteX1">Estimativa x1</label>
<input type="text" class="form-control" id="secanteX1Input" placeholder="Ex.: 2.2">
</div>
</div>
<!--| Critério de Parada |-->
<div class="form-row mb-3 d-flex">
<div class="form-group col-sm-6 col-md-6 col-lg-6">
<label class="text-primary" for="secanteTolerancia">Tolerância</label>
<input type="text" class="form-control" id="secanteToleranciaInput" placeholder="Ex.: 10^-3">
</div>
<div class="form-group col-sm-6 col-md-6 col-lg-6 align-self-end">
<div class="dropdown">
<button class="btn btn-block btn-outline-primary dropdown-toggle" type="button" data-toggle="dropdown" id="secanteErro">
Critério de Parada
</button>
<div class="dropdown-menu w-100">
<button class="dropdown-item text-primary font-weight-normal btn-block text-center" type="button" id="secanteErroAbsoluto">Erro Absoluto</button>
<button class="dropdown-item text-primary font-weight-normal btn-block text-center" type="button" id="secanteErroRelativo">Erro Relativo</button>
</div>
</div>
</div>
</div>
<!--| Resultado da Raiz |-->
<div class="form-row">
<label class="text-primary h6" for="secanteRaiz">Raiz Aproximada x* = </label>
<!-- TO DO Exibir Resultado -->
</div>
<!--| Exibição do Gráfico |-->
<div class="form-row">
<label class="text-primary h5" for="secanteGrafico">Gráfico das Iterações </label>
<!-- TO DO Exibidor de Gráfico -->
</div>
</form>
</div>
<!--|---------------------|------------------------------->
</div>
</div>
<!--||---------------------||------------------------------------------------------------->
<!--||--=================--||--=======================================================-->
<!--||--==============--||--===========================================================-->
<!--|| Método de Müller ||------------------------------------------------------------->
<div class="container">
<!--| Nome do Método |----------------------------------->
<div class="row">
<div class="col-12 text-center mt-4 mb-2 text-primary">
<h2>Método de Müller</h2>
</div>
</div>
<!--|-----------------|----------------------------------->
<!--| Inputs de Atributos |------------------------------->
<div class="row justify-content-center">
<div class="col-sm-6 col-md-8 col-lg-10">
<form>
<!--| Equação de f(x) |-->
<div class="form-row mb-3">
<label class="text-primary" for="mullerEquacao">Equação de f(x)</label>
<input type="text" class="form-control" id="mullerEquacaoInput" placeholder="Ex.: x^2+2*x">
</div>
<!--| Estimativas Iniciais |-->
<div class="form-row">
<div class="form-group col-sm-4 col-md-4 col-lg-4 mb-3">
<label class="text-primary" for="mullerX0">Estimativa x0</label>
<input type="text" class="form-control" id="mullerX0Input" placeholder="Ex.: 1.2">
</div>
<div class="form-group col-sm-4 col-md-4 col-lg-4 mb-3">
<label class="text-primary" for="mullerX1">Estimativa x1</label>
<input type="text" class="form-control" id="mullerX1Input" placeholder="Ex.: 1.4">
</div>
<div class="form-group col-sm-4 col-md-4 col-lg-4 mb-3">
<label class="text-primary" for="mullerX2">Estimativa x2</label>
<input type="text" class="form-control" id="mullerX2Input" placeholder="Ex.: 1.8">
</div>
</div>
<!--| Critério de Parada |-->
<div class="form-row mb-3 d-flex">
<div class="form-group col-sm-6 col-md-6 col-lg-6">
<label class="text-primary" for="mullerTolerancia">Tolerância</label>
<input type="text" class="form-control" id="mullerToleranciaInput" placeholder="Ex.: 10^-3">
</div>
<div class="form-group col-sm-6 col-md-6 col-lg-6 align-self-end">
<div class="dropdown">
<button class="btn btn-block btn-outline-primary dropdown-toggle" type="button" data-toggle="dropdown" id="mullerErro">
Critério de Parada
</button>
<div class="dropdown-menu w-100">
<button class="dropdown-item text-primary font-weight-normal btn-block text-center" type="button" id="mullerErroAbsoluto">Erro Absoluto</button>
<button class="dropdown-item text-primary font-weight-normal btn-block text-center" type="button" id="mullerErroRelativo">Erro Relativo</button>
</div>
</div>
</div>
</div>
<!--| Resultado da Raiz |-->
<div class="form-row">
<label class="text-primary h6" for="mullerRaiz">Raiz Aproximada x* = </label>
<!-- TO DO Exibir Resultado -->
</div>
<!--| Exibição do Gráfico |-->
<div class="form-row">
<label class="text-primary h5" for="mullerGrafico">Gráfico das Iterações </label>
<!-- TO DO Exibidor de Gráfico -->
</div>
</form>
</div>
<!--|---------------------|------------------------------->
</div>
</div>
<!--||------------------||--------------------------------------------------------------->
<!--||--==============--||--=========================================================-->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="node_modules/jquery/dist/jquery.js"></script>
<script src="node_modules/popper.js/dist/umd/popper.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.js"></script>
</body>
</html>