This document was successfully checked as XHTML 1.0 Transitional!

Result: Passed
:
Modified:(undefined)
Server:Apache/2.4.38 (Debian)
Size:3068
Content-Type:text/html
: utf-8
: XHTML 1.0 Transitional
Root Element: html
Root Namespace: http://www.w3.org/1999/xhtml
Options

Help on the options is available.

Congratulations

The document located at <http://web.tecnico.ulisboa.pt/~mcasquilho/compute/qc/Fx-errtangent.php> was successfully checked as XHTML 1.0 Transitional. This means that the resource in question identified itself as "XHTML 1.0 Transitional" and that we successfully performed a formal validation of it. The parser implementations we used for this check are based on OpenSP (SGML/XML) and libxml2 (XML).

"valid" Icon(s) on your Web page

To show your readers that you have taken the care to create an interoperable Web page, you may display this icon on any page that validates. Here is the HTML you could use to add this icon to your Web page:

Valid XHTML 1.0 Transitional
  <p>
    <a href="http://validator.w3.org/check?uri=referer"><img
      src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
  </p>
  

A full list of icons, with links to alternate formats and colors, is available: If you like, you can download a copy of the icons to keep in your local web directory, and change the HTML fragment above to reference your local image rather than the one on this server.

Linking to this result

If you would like to create a link to this page (i.e., this validation result) to make it easier to revalidate this page in the future or to allow others to validate your page, the URI is <http://validator.w3.org/check?uri=http%3A%2F%2Fweb.tecnico.ulisboa.pt%2F~mcasquilho%2Fcompute%2Fqc%2FFx-errtangent.php;ss=1;verbose=1> (or you can just add the current page to your bookmarks or hotlist).

Validating CSS Style Sheets

If you use CSS in your document, you can check it using the W3C CSS Validation Service.

↑ Top

Source Listing

Below is the source input I used for this validation:

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="Author" lang="en" content="Miguel Casquilho" />
  6. <title>M&middot;C, IST: tangent, error</title>
  7. <link rel="stylesheet" type="text/css"
  8. href="http://web.tecnico.ulisboa.pt/~mcasquilho/commonstyle.css" />
  9. <style type="text/css">
  10. .divx {font-size: 10pt; margin-left: 0.25in; text-indent: -0.25in}
  11. a.special:hover {color: inherit; background-color: aqua}
  12. .pt {color: #ff00ff; background-color: transparent} </style>
  13. </head> <!--11Sep2010 MC-->
  14. <body class="sm">
  15. <form method="post" action=
  16. "http://web.tecnico.ulisboa.pt/~mcasquilho/cgi-bin/interface_png.php?errtangent">
  17. <input name="executable" type="hidden" value="errtangent.exe" />
  18. <table width="90%" bgcolor="#eeeeee" align="center" border="1" class="sm">
  19. <tr><td colspan="3">
  20. <table width="100%" class="sm">
  21. <tr><td width="50px"><a href='https://fenix.ist.utl.pt/departamentos/deq'><img alt='&copy;'
  22. src="http://web.tecnico.ulisboa.pt/~mcasquilho/depot/MC.gif" border='0'
  23. width='40' height='41' /></a>
  24. </td><!--title-->
  25. <td><div style="font-size: 13.5pt; text-align: center"><!-- title --><b
  26. onmouseout="this.style.color='blue', this.style.fontStyle='normal'"
  27. onmouseover="this.style.color='red',
  28. this.style.fontStyle='bold'">
  29. Tangent:
  30. error in angle</b></div>&emsp;
  31. Finds (via Monte Carlo) the error in an angle from its tangent.<!--b>
  32. UNDER&nbsp;CONSTRUCTION</b--></td>
  33. <td width="112px"><table width='100%'>
  34. <tr><td align='center' bgcolor='white'>
  35. <input type="submit"
  36. value="&nbsp; Execute &nbsp;" style="background-color: #00bfff"
  37. onmouseout="this.style.fontStyle='normal', this.style.fontWeight='normal'"
  38. onmouseover="this.style.fontStyle='normal', this.style.fontWeight='bold'" /></td>
  39. </tr><tr><td align='center'><span style='font-size:
  40. xx-small'>2021.Mar.16 03:49:52</span></td></tr>
  41. </table>
  42. </td></tr>
  43. </table> </td></tr><!-- ...................................... -->
  44. <tr><td width="15%" align="center">Height, <i>h</i>:&nbsp;
  45. <i>&mu;</i>, <i>&delta;</i></td>
  46. <td width="45%"><input name="nvar" type="hidden"
  47. value="2" /><input name="hmu" type="text" value="11.3" size="5"
  48. maxlength="8" /><input name="hdel" type="text" value="1." size="5"
  49. maxlength="8" /></td>
  50. <td width="40%"><i>Height</i> of right-angled triangle
  51. ("opposite" leg).</td></tr>
  52. <tr><td align="center">Base, <i>b</i>:&nbsp;
  53. <i>&mu;</i>, <i>&delta;</i></td>
  54. <td><input name="bmu" type="text" value="25" size="5"
  55. maxlength="8" /><input name="bdel" type="text" value="1." size="5"
  56. maxlength="8" /></td>
  57. <td><i>Base</i> of right-angled triangle ("adjacent" leg). &bull;</td></tr>
  58. <tr><td align="center">Pr(<i>&mu;</i> &plusmn; <i>&delta;</i>)</td>
  59. <td><input name="prob" type="text" value="95.45" size="5"
  60. maxlength="8" /> % &emsp; (2<i>&sigma;</i>: 95.45 %,
  61. 3<i>&sigma;</i>: 99.73 %)</td>
  62. <td>Assigned <i>probability</i> for interval. &bull;</td></tr>
  63. <tr><td align="center">Graph</td>
  64. <td><select name="igraf"><option value="1">indV</option><option
  65. value="2" selected="selected">angle</option></select></td>
  66. <td>Graph: independent var.s (<i>h</i>, <i>b</i>),
  67. angle (<i>&beta;</i>). &bull;</td></tr>
  68. <tr><td align="center"><i>N</i>, .seed</td>
  69. <td><select name="ntrials"><option value="1500">1 500</option><option
  70. value="40000" selected="selected">40 000</option><option
  71. value="1000000">1 million</option><!-- option
  72. value="25000000">25 M</option --></select>(M, million) <input name="iseed"
  73. type="text" value="0" size="5" maxlength="8" /></td>
  74. <td>No. of <i>trials</i>, random <i>seed</i>. &bull;</td></tr>
  75. <tr><td align="center">tol, klass, <i>y</i><sub>max</sub></td>
  76. <td><input name="tol" type="text" value="1.-6" size="4"
  77. maxlength="8" /><select name="klass"><option
  78. value="200" selected="selected">200</option><option
  79. value="625">625</option></select><input name="ymax" type="text"
  80. value="0" size="5" maxlength="8" /> &emsp; ['0' (&not; '.0'), auto.]</td>
  81. <td><i>Tolerance</i>, no. of histo. <i>classes</i>,
  82. max. <i>y</i> for graph. &bull;</td></tr>
  83. <!-- tr><td align="center"><i>x</i><sub>0</sub>, <i>x<sub>n</sub></i></td>
  84. <td><input name="x0" type="text" value="490" size="6"
  85. maxlength="8" /><input name="xn" type="text" value="515" size="6"
  86. maxlength="8" /> g</td>
  87. <td>Extreme <i>x</i>'s for graph. &bull;</td></tr -->
  88. <tr><td align="center">Show values</td>
  89. <td><select name="ishow"><option value="0" selected="selected">No</option>
  90. <option value="1">Yes</option></select></td>
  91. <td>Shows the coordinates of the graph. &bull;</td></tr>
  92. <!-- plot gnudata.dat \ (or anything: this line is a MANDATORY dummy) -->
  93. <tr><td colspan="3"><input name="gnuplot" type="hidden"
  94. value="set term png enhanced font '/usr/share/fonts/truetype/freefont/FreeSerif.ttf' 13
  95. set timestamp 0, -1. '/usr/X11R6/lib/X11/fonts/Type1/parkave.pfb'
  96. set size 0.85, 0.85; set nokey
  97. set title 'Tangent: error in angle' -2, +.5
  98. set xlabel 'h, b --- or beta' 12, .6; set ylabel 'pdf'
  99. set yrange [0:*]
  100. #set y2label 'F(x)'; set ytics nomirror; set y2range [0:1]; set y2tics .2
  101. plot anyname.dat \
  102. usi 1:2 with lines linetype 1 linewidth 3, \
  103. '' usi 1:3 with lines linetype 2 linewidth 3" /><p class="ij">Finds the value and error of
  104. the angle, <i>&beta;</i>, in a right-angled triangle, such that
  105. tan&nbsp;<i>&beta;</i>&nbsp;=&nbsp;<i>h</i>&nbsp;&frasl;&nbsp;<i>b</i>,
  106. from the measurement of its height, <i>h</i>
  107. &mdash;the <i>leg</i> (or <i>cathetus</i>) opposite to the angle&mdash;
  108. and its base, <i>b</i> &mdash;the leg adjacent to the angle&mdash;,
  109. hence, <i>&beta;</i>&nbsp;=&nbsp;arctan(<i>h</i>&nbsp;&frasl;&nbsp;<i>b</i>).</p>
  110. <p class="ij">The method is Monte Carlo simulation. The
  111. <a href="./,Gauss/ErrorTangent.pdf">theoretical result</a>.<i>pdf</i>,
  112. also given, is: <i>&delta;&beta;</i> = (sin<i>&beta;</i>)(cos<i>&beta;</i>)
  113. &radic;[<i>&epsilon;</i>&sup2;(<i>h</i>) + <i>&epsilon;</i>&sup2;(<i>b</i>)].
  114. Thus, the theoretical and simulated results can be compared.</p>
  115. <p class="ij">(The <i>tolerance</i> is for the numerical inversion of
  116. the Gaussian distribution.)</p>
  117. <p class="ij">Graphs are shown for the behaviour of:
  118. the independent (Gaussian) variables (<i>h</i> and <i>b</i>); or
  119. the dependent variable (<i>&beta;</i>).
  120. Note that the distribution of <i>&beta;</i> is not Gaussian
  121. (though possibly approximately so).</p></td></tr>
  122. <tr><td align="center"><input type="reset" style="font-size: smaller"
  123. value=" Reset " /></td><td><i>References:</i></td>
  124. <td align="center">Plate: ErrorTangentAngle</td></tr>
  125. <tr><td colspan="3"><p class="ref">&bull;&nbsp;<span
  126. class="sc">Taylor</span>, 1997 (see Bibliography), or Nepf (already cited).</p>
  127. <p class="ref">&bull;&nbsp;1623-09-11: <a href=
  128. "http://www-groups.dcs.st-and.ac.uk/~history/Biographies/Angeli.html"
  129. ><span class="sc">Angeli</span></a>, Stefano degli, or 21.st of Sep.
  130. (1697-10-11).</p></td></tr>
  131. </table>
  132. </form>
  133. <div style="line-height: 6pt">&nbsp;</div>
  134. <div style="line-height: 1.5pt; color: black;
  135. background-color: red">&nbsp;</div>
  136. <table width="100%" class="sm"><tr>
  137. <td width="58px"><a href="http://validator.w3.org/check?uri=
  138. http://web.tecnico.ulisboa.pt/~mcasquilho/compute/qc/Fx-errtangent.php;verbose=1;ss=1"><img
  139. src="http://web.tecnico.ulisboa.pt/~mcasquilho/depot/valid-xhtml10s.png"
  140. alt="Valid HTML 4.01!" border="0" width="55px" height="19px" /></a></td>
  141. <td width="15%" align="left"><a href="http://www.tecnico.ulisboa.pt"><img
  142. src="http://web.tecnico.ulisboa.pt/~mcasquilho/depot/wwwist.png"
  143. alt="IST" align="middle" border="0" width="88px" height="34px" /></a></td>
  144. <td width="70%" align=
  145. "right"><i>http://web.tecnico.ulisboa.pt/~mcasquilho/compute/qc/Fx-errtangent.php</i><br />
  146. <i>Created:</i> 2010-09-11 &mdash; <i>Last modified:</i> 2010-09-14</td></tr></table>
  147. </body></html>

↑ Top