-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvoltmeter.php
60 lines (56 loc) · 2.23 KB
/
voltmeter.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
<?php include("./templates/header.php"); ?>
<div class="container">
<div class="row center">
<div class="col-s12 z-depth-4">
<div class="card-panel purple accent-1"><h5>Calibrate A Voltmeter</h5></div>
</div>
</div>
<div class="row purple lighten-4 center-align">
<div class="input-field col s6">
<input id="emf" type="text" name="emf" >
<label for="emf">EMF Of Cell</label>
</div>
<div class="input-field col s6">
<button type="submit" class="waves-effect waves-light btn" id="share">Share EMF</button>
</div>
</div>
</div>
<div class="container hidden" id="con">
<div class="row">
<div class="col s12 ">
<table class="striped z-depth-3 purple lighten-4" style="">
<thead>
<tr>
<th>S.No.</th>
<th>Balancing Length Corresponding To The EMF Of Standard Cell<br>l<sub>1</sub> in cm</th>
<th>Balancing Length Corresponding To The P.D Across MN Of Resistance (R)<br>l<sub>2</sub> in cm</th>
<th>Actual P.D <br>V= E*(l<sub>2</sub>/l<sub>1</sub>)<br>(volts)</th>
<th>Observed P.D In Voltmeter<br>(V<sub>1</sub>)<br>(volts)</th>
<th>Error <br>(V<sub>1</sub>-V<sub>2</sub>)</th>
</tr>
</thead>
<form id="amm_form">
<tbody>
<?php
for($i=0;$i<30;$i++)
{
include("./templates/volt.php");
}
?>
<input type="hidden" name="emf" id="in_emf">
<input type="hidden" name="exp" value="amm">
<tr>
<td colspan="6"><button type="submit" class="waves-effect waves-light btn" name="submit_cf" >Calculate</button></td>
</tr>
</tbody>
</form>
</table>
</div>
<div class="offset-s1"></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/volt.js"></script>
</body>
</html>