Difference between revisions of "Applets:Periodendauer periodischer Signale"
From LNTwww
David.Jobst (talk | contribs) |
David.Jobst (talk | contribs) |
||
Line 1: | Line 1: | ||
− | < | + | <!DOCTYPE html> |
− | + | <html lang="de"> | |
− | < | + | <head> |
− | + | <title>CSS Grid</title> | |
− | } | + | <style> |
− | + | .wrapper{ | |
+ | display:grid; | ||
+ | |||
+ | grid-auto-rows:minmax(100px, auto); | ||
+ | grid-gap:1em; | ||
+ | justify-items:stretch; | ||
+ | align-items:stretch; | ||
+ | grid-template-columns: 70% 30%; | ||
+ | |||
+ | } | ||
+ | |||
+ | .wrapper > div{ | ||
+ | padding:1em; | ||
+ | } | ||
+ | .wrapper > div:nth-child(odd){ | ||
+ | |||
+ | } | ||
+ | |||
+ | .box1{ | ||
+ | /*align-self:start;*/ | ||
+ | grid-column:1/3; | ||
+ | grid-row:/4; | ||
+ | border: 1px solid black; | ||
+ | } | ||
+ | |||
+ | .box2{ | ||
+ | /*align-self:end;*/ | ||
+ | grid-column:1/3; | ||
+ | grid-row:2/4; | ||
+ | border: 1px solid black; | ||
+ | |||
+ | } | ||
+ | |||
+ | .box3{ | ||
+ | /*justify-self:end;*/ | ||
+ | grid-column:1/3; | ||
+ | grid-row:3/4; | ||
+ | border: 1px solid black; | ||
+ | } | ||
+ | |||
+ | .box4{ | ||
+ | grid-column:1/3; | ||
+ | grid-row:4/4; | ||
+ | border: 1px solid black; | ||
+ | } | ||
+ | .box5{ | ||
+ | grid-column:2/3; | ||
+ | grid-row:4/4; | ||
+ | border: 1px solid black; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.button { | .button { | ||
background-color: black; | background-color: black; | ||
Line 28: | Line 70: | ||
background-color: #939393; | background-color: #939393; | ||
} | } | ||
− | + | table { | |
+ | border-collapse: separate; | ||
+ | border-spacing: 20px 0; | ||
+ | } | ||
+ | |||
+ | </style> | ||
</head> | </head> | ||
<body onload="drawNow()"> | <body onload="drawNow()"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 196: | Line 223: | ||
}; | }; | ||
</script> | </script> | ||
+ | |||
+ | <div class="wrapper"> | ||
+ | <div class="box box1">Box 1 | ||
+ | |||
+ | </div> | ||
+ | <div class="box box2"> | ||
+ | <div id="cnfBoxHtml" class="jxgbox" style="width:600px; height:150px; float:top; margin:-10px 20px 100px 0px;"></div> | ||
+ | |||
+ | |||
+ | </div> | ||
+ | <div class="box box3"> | ||
+ | <div id="pltBoxHtml" class="jxgbox" style="width:600px; height:600px; border:1px solid black; margin:-100px 20px 10px 0px;"></div> | ||
+ | </div> | ||
+ | <div class="box box4"> | ||
+ | <tr> | ||
+ | <td>$x(t)$= <span id="x(t)"></span> $\quad$ </td> | ||
+ | <td>$x(t+ T_0)$= <span id="x(t+T_0)"></span> $\quad$ </td> | ||
+ | <td>$x(t+2T_0)$= <span id="x(t+2T_0)"></span> $\quad$ </td> | ||
+ | <td>$x_{\text{max}}$= <span id="x_max"></span> $\quad$ </td> | ||
+ | <td style="color:blue;">$T_0$= <span id="T_0"></span> $\quad$ </td> | ||
+ | </tr> | ||
+ | </div> | ||
+ | <div class="box box5"> | ||
+ | <p> | ||
+ | <input type="checkbox" id="gridbox" onclick="showgrid();" checked> <label for="gridbox">Gitterlinien Zeigen</label> | ||
+ | <button class="button" onclick="drawNow();">Reset</button> | ||
+ | </p> | ||
+ | |||
+ | |||
+ | </div> | ||
+ | </div> | ||
</body> | </body> | ||
</html> | </html> | ||
+ | |||
{{Display}} | {{Display}} |
Revision as of 19:27, 18 September 2017
<!DOCTYPE html>
Box 1
$x(t)$= $\quad$
$x(t+ T_0)$= $\quad$
$x(t+2T_0)$= $\quad$
$x_{\text{max}}$= $\quad$
$T_0$= $\quad$