html head title CYMMA title link href css bootstrap css rel stylesheet

 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
<html>
<head>
<title>CYMMA</title>
<link href="css/bootstrap.css" rel="stylesheet" media="screen">
<link href="http://bootstrap-ru.com/assets/css/bootstrap-responsive.css" rel="stylesheet">
<link href="http://bootstrap-ru.com/assets/css/docs.css" rel="stylesheet">
<link href="http://bootstrap-ru.com/assets/css/font-awesome.min.css" rel="stylesheet">
<link href="http://bootstrap-ru.com/assets/js/google-code-prettify/prettify.css" rel="stylesheet">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
<style>
.left {
float:left;
padding: 40px 0px 0px 170px;
width:30%;
}
.fontos{font-family: Verdana;};
</style>
<style>
.onemiss {
float:left;
padding: 40px 0px 0px 100px;}
</style>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="task1.html">Лабораторная работа #1</a>
<div class="container">
<div class="nav-collapse collapse">
<ul class="nav">
<li>
<a href="task1.html">Задания</a>
</li>
<li>
<a href="otchet.html">Отчет</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div>
<div class="left">
<table class="table table-bordered" style="display: inline-block;">
<th colspan="2"><p class="fontos" align="center">Задание #1<br><br><img src="10.png"></p></th>
<tr class="success"><td><p align="center" class="fontos"> Значения N </p></td><td><p align="center" class="fontos">Ответ</p></td/tr>
<script language="JavaScript" type="text/javascript">
var n=1;
var s=0;
var a=((6)/(9*(n*n)+12*n-5));
while (Math.abs(a)>0.01)
{
a=((6)/(9*(n*n)+12*n-5));
document.write("<tr><td>"+"при n = "+n+"</td><td>"+a+"</td/tr>" );
s=s+a;
n++;
}
document.write("<tr><td>"+"Сумма:"+"</td><td>"+s+"</td/tr>");
</script>
</table>
</div>
<div class="left" class="onemiss">
<table class="table table-bordered" style="display: inline-block;">
<th colspan="2"><p class="fontos" align="center">Задание #2<br><br><img src="11.png"></p></th>
<tr class="success"><td><p align="center" class="fontos"> Значения N </p></td><td><p align="center" class="fontos">Ответ</p></td/tr>
<script language="JavaScript" type="text/javascript">
var n=1;
var s=0;
var a=((Math.pow(-1, n))/(3*Math.pow(n, 2)));
while (Math.abs(a)>0.01)
{
a=((Math.pow(-1, n))/(3*Math.pow(n, 2)));
document.write("<tr><td>"+"n = "+n+"</td><td>"+a+"</td/tr>" );
s=s+a;
n++;
}
document.write("<tr><td>"+"Сумма:"+"</td><td>"+s+"</td/tr>");
</script>
</table>
</div>
</div>
</body>
</html>