Skip to content

Commit 14b9cf9

Browse files
Updated Modified Contents
1 parent f255998 commit 14b9cf9

6 files changed

Lines changed: 35 additions & 30 deletions

File tree

src/lab/exp13/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
170170
-->
171171
<script type="text/javascript" src="http://latex.codecogs.com/latexit.js"></script>
172-
<div id="footer" style="text-align:center; width:100%; color:white">Copyright &copy 2016 SOLVE - The Virtual Lab at NITK Surathkal</div>
172+
<div id="footer" style="text-align:center; width:100%; color:white">Copyright &copy 2016 - 2020 SOLVE - The Virtual Lab at NITK Surathkal</div>
173173

174174
</body>
175175
</html>

src/lab/images/Tensionci/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<h4 class="incanvas" style="font-family:verdana;" >Objective</h4>
3636
<p class="incanvas" style="font-family:verdana; font-size:14px;">To study the mechanical properties of cast iron specimen under tension load.</p>
3737
<h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
38-
<p class="incanvas" style="font-family:verdana; font-size:14px;" >Universal Testing Machine, Dial Indicators, Scale & Vernier calipers.</p>
38+
<p class="incanvas" style="font-family:verdana; font-size:14px;" >Universal Testing Machine, Dial Indicators, Extensometer, Scale & Vernier calipers.</p>
3939
<img id="can00" style="position: absolute; left: 120px; top: 120px;width:50%" src="images/main.png"/>
4040
<!-- <img id="can01" style="position: absolute; left: 400px; top: 100px;" src="images/dialind.png"/> -->
4141
</div>
@@ -210,7 +210,7 @@ <h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
210210
</tr>
211211
<tr>
212212
<th >Least Count(LC) in mm</th>
213-
<td id="ta88">0.01</td>
213+
<td id="">0.01</td>
214214
</tr>
215215
</table>
216216
</div>

src/lab/images/Tensionms/css/ttms.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ input[type=button]
4242
#table
4343
{
4444
padding:0px;
45-
border-collapse: collapse;
45+
/* border-collapse: collapse; */
4646
width: 20%;
4747
}
4848
#dia.th,td

src/lab/images/Tensionms/index.html

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<h4 class="incanvas" style="font-family:verdana;" >Objective</h4>
3333
<p class="incanvas" style="font-family:verdana; font-size:14px;">To study the mechanical properties of mild steel specimen under tension load.</p>
3434
<h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
35-
<p class="incanvas" style="font-family:verdana; font-size:14px;" >Universal Testing Machine,Dial Indicators,Scale & Vernier calipers.</p>
35+
<p class="incanvas" style="font-family:verdana; font-size:14px;" >Universal Testing Machine, Dial Indicators, Extensometer, Scale & Vernier calipers.</p>
3636
<img id="can00" style="position: absolute; left: 150px; top: 120px;width:50%" src="images/main.png"/>
3737
<!-- <img id="can01" style="position: absolute; left: 380px; top: 100px;" src="images/dialind.png"/> -->
3838
</div>
@@ -109,7 +109,8 @@ <h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
109109
<img id="can52" style="position: absolute; left:289px; top: 285px;cursor:pointer" src="images/bl.png"/>
110110
<img id="can53" style="position: absolute; left:173px; top: 287px;cursor:pointer" src="images/br.png"/>
111111
<img id="can54l" style="position: absolute; left:286px; top: 292px;visibility:hidden;" src="images/ndl2.png"/>
112-
<img id="can54r" style="position: absolute; left:170px; top: 305px;visibility:hidden" src="images/ndl.png"/>
112+
<img id="can54r" style="position: absolute; left:170px; top: 305px;visibility:hidden" src="images/ndl.png"/>
113+
<p id="v5" style="position: absolute; left:386px; top: 292px;font-family:verdana; font-size:14px;visibility:hidden;">Least Count of Extensometer = 0.01</p>
113114
</div>
114115

115116

@@ -137,7 +138,7 @@ <h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
137138
<img id="can64l" style="position: absolute; left:131px; top: 243px;" src="images/nb.png"/>
138139
<img id="can64r" style="position: absolute; left:93px; top: 250px;" src="images/ns.png"/>
139140
<div id="content" style="position:absolute;left:420px;overflow-y:auto;height:400px;width:300px;top:70px;"></div>
140-
<button id="dwn" style="position:absolute;left:520px;top:480px;visibility:hidden;" onClick="download()">Download Data</button>
141+
<button id="dwn" style="position:absolute;left:520px;top:480px;visibility:hidden;" onclick="download()">Download Data</button>
141142
<p id="v6-0" style="position:absolute; left:275px; top: 280px;font-family:verdana; font-size:10px;"></p>
142143
</div>
143144

@@ -214,7 +215,7 @@ <h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
214215
<td id="ta33"></td>
215216
</tr>
216217
<tr>
217-
<th >Length of the specimen between the grips in mm</th>
218+
<th>Length of the specimen between the grips in mm</th>
218219
<td id="ta44"></td>
219220
</tr>
220221
<tr>
@@ -234,7 +235,7 @@ <h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
234235
<td id="ta88"></td>
235236
</tr>
236237
<tr>
237-
<th >Final area of c/s at neckin mm<sup>2</sup></th>
238+
<th >Final area of c/s at neck in mm<sup>2</sup></th>
238239
<td id="ta99"></td>
239240
</tr>
240241
</table>
@@ -1000,15 +1001,16 @@ <h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
10001001
};
10011002
function ToTable(tbdata)
10021003
{
1003-
html = '<table id="Table" border="border" style="font-size:14px;font-family:verdana;text-align: center">';
1004-
html += '<tr ><th style="text-align:center">Load in kN</th>';
1005-
html += '<th colspan=3>Extensometer Reading</th>';
1006-
html += '<th style="text-align:center">Ivory Scale Reading</th></tr>';
1007-
html += '<tr ><th style="border-top:none"></th>';
1008-
html += '<th>A</th>';
1009-
html += '<th>B</th>';
1010-
html += '<th>Average</th>';
1011-
html += '<th style="border-top:none"></th></tr>';
1004+
html = '<table id="Table" border="border" style="font-size:14px;font-family:verdana;text-align: center; " cellspacing = 0>';
1005+
html += '<tr rowspan=3><th rowspan=3 style="text-align:center" >Load in kN</th>';
1006+
html += '<th colspan=3>Extensometer Reading in Division</th>';
1007+
html += '<th rowspan=3 style="text-align:center">Ivory Scale Reading(mm)</th></tr>';
1008+
html += '<tr><th colspan=3>Division x Least Count(0.01) = mm</th></tr>';
1009+
html += '<tr >';
1010+
html += '<th>A(mm)</th>';
1011+
html += '<th>B(mm)</th>';
1012+
html += '<th>Average(mm)</th>';
1013+
html += '</tr>';
10121014
var len = tbdata.length;
10131015
for(var i = 0; i < len; i++){
10141016
html += '<tr>';
@@ -1026,15 +1028,16 @@ <h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
10261028
}
10271029
function RefTable(tbdata)
10281030
{
1029-
html = '<table id="Table2" border="border" style="font-size:14px;font-family:verdana;text-align: center">';
1030-
html += '<tr ><th style="text-align:center">Load in kN</th>';
1031-
html += '<th colspan=3>Extensometer Reading</th>';
1032-
html += '<th style="text-align:center">Ivory Scale Reading</th></tr>';
1033-
html += '<tr ><th style="border-top:none"></th>';
1034-
html += '<th>A</th>';
1035-
html += '<th>B</th>';
1036-
html += '<th>Average</th>';
1037-
html += '<th style="border-top:none"></th></tr>';
1031+
html = '<table id="Table2" border="border" style="font-size:14px;font-family:verdana;text-align: center; " cellspacing = 0>>';
1032+
html += '<tr rowspan=3><th rowspan=3 style="text-align:center" >Load in kN</th>';
1033+
html += '<th colspan=3>Extensometer Reading in Division</th>';
1034+
html += '<th rowspan=3 style="text-align:center">Ivory Scale Reading(mm)</th></tr>';
1035+
html += '<tr><th colspan=3>Division x Least Count(0.01) = mm</th></tr>';
1036+
html += '<tr >';
1037+
html += '<th>A(mm)</th>';
1038+
html += '<th>B(mm)</th>';
1039+
html += '<th>Average(mm)</th>';
1040+
html += '</tr>';
10381041
var len = tbdata.length;
10391042
for(var i = 0; i < len; i++){
10401043
html += '<tr class="tr1">';

src/lab/images/Tensionms/js/ttms.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function dzoom()
8181
ckd=2;
8282
myStopFunction();
8383
document.getElementById('can51a').style.visibility="hidden";
84+
document.getElementById('v5').style.visibility="visible";
8485
document.getElementById('can51b').style.visibility="visible";
8586
document.getElementById('can54l').style.visibility="visible";
8687
document.getElementById('nextButton').style.visibility="visible";
@@ -823,6 +824,7 @@ function magic()
823824
document.getElementById("can52").style.visibility="hidden";
824825
document.getElementById("can53").style.visibility="hidden";
825826
document.getElementById("can51b").style.visibility="hidden";
827+
document.getElementById("v5").style.visibility="hidden";
826828
document.getElementById("can54l").style.visibility="hidden";
827829
document.getElementById('can54r').style.visibility="hidden";
828830
myInt = setInterval(function(){ animatearrow(); }, 500);

src/lab/images/compci/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ <h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
285285
var zm=0;
286286
var grp;
287287

288-
<!-- Experimental Results -->
288+
// <!-- Experimental Results -->
289289

290290
var slope=[[2.41,1.07,2.38],
291291
[1.21,0.64,1.42],
@@ -310,7 +310,7 @@ <h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
310310
[20.3,42.5,323.49,275.12,803.63,19.05,8.92,21.68],
311311
[20.07,45.0,316.2,249.84,806.64,18.64,6.4,21.82]];
312312

313-
<!---Graph Data---------->
313+
// <!---Graph Data---------->
314314
var data1 =[[ 0.0 , 0.0 ],
315315
[ 5.0 , 1.0 ],
316316
[ 10.0 , 3.0 ],
@@ -864,7 +864,7 @@ <h4 class="incanvas" style="font-family:verdana;">Apparatus used:</h4>
864864
[ 260.0 , 481.0 ]
865865
];
866866

867-
<!--Plotly graph---->
867+
// <!--Plotly graph---->
868868
var trace1 = {
869869
y: [0.0,5.0,10.0,15.0,20.0,25.0,30.0,35.0,40.0,45.0,50.0,55.0,60.0,65.0,70.0,75.0,80.0,85.0,90.0,95.0,100.0,105.0,110.0,115.0,120.0,125.0,130.0,135.0,140.0,145.0,150.0,155.0,160.0,165.0,170.0,175.0,180.0,185.0,190.0,195.0,200.0,205.0,210.0,215.0,220.0,225.0,230.0,235.0,240.0,245.0,250.0],
870870
x: [0.0,1.0,3.0,5.0,7.0,9.0,11.0,13.0,15.0,17.0,19.0,21.0,23.0,25.0,29.0,34.0,38.0,44.0,51.0,58.0,69.0,76.0,83.0,94.0,107.0,119.0,128.0,146.0,154.0,168.0,179.0,186.0,198.0,207.0,215.0,226.0,238.0,256.0,271.0,295.0,314.0,326.0,344.0,358.0,373.0,389.0,401.0,414.0,423.0,435.0,456.0],

0 commit comments

Comments
 (0)