Thursday, June 2, 2016

Equation and Fraction Using Pure HTML

The first equation that we will gonna make :
y = A sin ω ( t -
x
v
) = A sin ( ωt -
ω
v
x )

Here is it's HTML Code :
 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
<table>
      <tbody>        
          <td>y = A sin &omega;</td>
          <td style="font-size:200%">(</td>
          <td>t -</td>
          <td>
             <table>
             <tr><td style="border-bottom:solid 1px black">x</td></tr>
             <tr><td>v</td></tr>
             </table>
          </td>
          <td style="font-size:200%">)</td>
   <td> = A sin </td>
   <td style="font-size:200%">(</td>
   <td>&omega;t -</td>
   <td>
     <table>
             <tr><td style="border-bottom:solid 1px black">&omega;</td></tr>
             <tr><td>v</td></tr>
            </table>
   </td>
   <td> x </td>
   <td style="font-size:200%">)</td>
      </tbody>
</table>

Next....... Persamaan Cepat Rambat Gelombang :

Dalam dawai ⇒  v =
F
μ
   =
Fl
μ
   =
F
ρA

Here is the HTML code :
 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
<table cellpadding="0" cellspacing="0" >
 <tbody>
   <td> Dalam dawai &rArr; &nbsp;v =  </td>
   <td style="font-size:250%">&radic;</td>
   <td> 
 <table style="border-top-color: black; border-top-style: solid; border-top-width: 1px;">
             <tr><td style="border-bottom:solid 1px black">F</td></tr>
             <tr><td>&mu;</td></tr>
         </table>
    </td>  
    <td>&nbsp;&nbsp; = </td>
    <td style="font-size:250%">&radic;</td>
    <td> 
 <table style="border-top-color: black; border-top-style: solid; border-top-width: 1px;">
             <tr><td style="border-bottom:solid 1px black">F<i>l</i></td></tr>
             <tr><td>&mu;</td></tr>
        </table>
     </td>
     <td>&nbsp;&nbsp; = </td>
     <td style="font-size:250%">&radic;</td>
     <td> 
 <table style="border-top-color: black; border-top-style: solid; border-top-width: 1px;">
             <tr><td align="center" style="border-bottom:solid 1px black">F</td></tr>
             <tr><td>&rho;A</td></tr>
         </table>
      </td>
    </tbody>
</table>

Neext....
This is just a test:  
x2 + 3x + 5
2x


HTML Code :
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<table>
<tr>
  <td><div style="float:left;">This is just a test: &nbsp;</div>
  </td>
  <td>
     <div style="float:left">
     <div style="border-bottom:1px solid;font-size:small;text-align:center;">x<sup>2</sup> + 3x + 5</div>
 <div style="font-size:small;text-align:center;">2x</div>
        </div>
    </td>
   </tr>
</table>

The last.....

r =   x2 + y2

HTML Code :
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
<table align="left" cellpadding="0" cellspacing="0" style="margin-bottom: 0.5em; margin-top: 0.5em; text-align: center;">
<tbody>
     <tr>
 <td align="right" nowrap="nowrap"><i>r</i>&nbsp;=&nbsp;<span style="font-size: 24px;">&radic;</span>
 </td>
 <td nowrap="nowrap" style="border-top-color: black; border-top-style: solid; border-top-width: 1px;">&nbsp;<i>x</i><sup>2</sup>&nbsp;+&nbsp;<i>y</i><sup>2</sup>
 </td>
 </tr>
</tbody>
</table>

No comments:

Post a Comment