This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static java.lang.System.out; | |
import java.util.Formatter; | |
import java.util.Locale; | |
import org.python.exceptions.TypeError; | |
import org.python.types.Int; | |
import org.junit.Test; | |
import org.junit.After; | |
import org.junit.AfterClass; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# This file is executable (main) and contains two functions | |
# 1. one that approximates sin(x) for given x, and a give eps for precision | |
# with the following formula: | |
# (2i - 1) | |
# ___n i+1 x | |
# sin_n(x) = \ (-1) ------------ | |
# /__i=0 (2i - 1)! | |
# | |
# 2. the other one is a simple computation of the faculty of a double with no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.mytable { | |
margin: 1cm; | |
padding: 50px; | |
border: 1px solid black; | |
font-size: 100%; | |
font: inherit; | |
vertical-align: baseline; | |
border-collapse: collapse; | |
border-spacing: 10px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table, caption, tbody, tfoot, thead, tr, th, td { | |
margin: 1cm; | |
padding: 5px; | |
border: 1px solid black; | |
font-size: 100%; | |
font: inherit; | |
vertical-align: baseline; | |
} | |
tr:nth-child(even){background-color: #f2f2f2} |