Thomas Darimont
Erfahrenes Mitglied
Versuchen wirs doch mal:
Schaut mit:
So aus:
geht doch, oder?
Gruss Tom
Java:
public static void main(String[] args) {
System.out.println(Math.sin(Math.toRadians(45)));
System.out.println((calculateSinusApproximationFor(Math.toRadians(45),
20)));
System.out.println((calculateExactSinusApproximationFor(Math
.toRadians(45), 20)));
}
Schaut mit:
HTML:
<html>
<head>
<title>Test</title>
</head>
<body>
<table>
<tr>
<td>
<table>
<tr bgcolor="red">
<td>1.</td>
</tr>
<tr bgcolor="yellow">
<td>2.</td>
</tr>
<tr>
<td>3.</td>
</tr>
<tr>
<td>4.</td>
</tr>
<tr>
<td>5.</td>
</tr>
<tr>
<td>6.</td>
</tr>
<tr>
<td>7.</td>
</tr>
</table>
<td>
<table>
<tr bgcolor="red">
<td> public static void main(String[] args) {</td>
</tr>
<tr bgcolor="yellow">
<td> System.out.println(Math.sin(Math.toRadians(45)));</td>
</tr>
<tr>
<td> System.out.println((calculateSinusApproximationFor(Math.toRadians(45),</td>
</tr>
<tr>
<td> 20)));
</td>
</tr>
<tr>
<td> System.out.println((calculateExactSinusApproximationFor(Math</td>
</tr>
<tr>
<td> .toRadians(45), 20)));</td>
</tr>
<tr>
<td> }</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
So aus:
geht doch, oder?
Gruss Tom