-
Notifications
You must be signed in to change notification settings - Fork 0
/
newton-ring.php
61 lines (55 loc) · 1.76 KB
/
newton-ring.php
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
<?php include("./templates/header.php"); ?>
<div class="container">
<div class="row center">
<div class="col-s12 z-depth-4 purple accent-1">
<div class="card-panel purple accent-1"><h5>Newton Ring</h5></div>
</div>
</div>
<div class="row">
<div class="col s12">
<table class="striped z-depth-3 purple lighten-4">
<thead>
<tr>
<th rowspan="3" >No.Of Rings </th>
<th colspan="6">Microscope Readings</th>
<th rowspan="3">Diameter <br>D=a-b<br>(cm) </th>
<th rowspan="3">D<sup>2</sup><br>(a-b)<sup>2</sup></th>
<th rowspan="3">(D<sub>n+p</sub>-D<sub>n</sub>)<sup>2</sup></th>
</tr>
<tr>
<th colspan="3">Left Hand Readings</th>
<th colspan="3">Right Hand Readings</th>
</tr>
<tr>
<th>M.S</th>
<th>V.S</th>
<th>Total<br>a cm</th>
<th>M.S</th>
<th>V.S</th>
<th>Total<br>a cm</th>
</tr>
</thead>
<form id="newton_form">
<tbody>
<?php
for($x=0;$x<16;$x++)
{
$t=16-$x;
include("./templates/newton.php");
}
?>
<input type="hidden" name="exp" value="newton">
<tr>
<td colspan="14"><button type="submit" class="waves-effect waves-light btn" name="submit_newton" >Calculate</button></td>
</tr>
</tbody>
</form>
</table>
</div>
</div>
</div>
<script type="text/javascript" src="materialize/js/jquery.js"></script>
<script type="text/javascript" src="materialize/js/materialize.min.js"></script>
<script type="text/javascript" src="materialize/js/newton.js"></script>
</body>
</html>