3 files renamed
4 files added
2 files deleted
| New file |
| | |
| | | Lernziel: |
| | | |
| | | * HTTP-Server |
| | | * Syntax von URLs (=Bestandteil eines URL) |
| | | * Relative/absolute Pfade |
| | | |
| | | Task: |
| | | |
| | | * Identifizieren Sie alle URL in der Datei `index.html` |
| | | * Identifizieren Sie die Bestandteile von einer URL. |
| | | Welcher Bestandteil einer URL haben wir in eine ULR in `index.html` verwendet? |
| New file |
| | |
| | | html { |
| | | font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; |
| | | } |
| File was renamed from 01-intro-url-path/index.html |
| | |
| | | <script src="https://cdn.jsdelivr.net/npm/jsxgraph/distrib/jsxgraphcore.js"></script> |
| | | <link rel="stylesheet" type="text/css" |
| | | href="https://cdn.jsdelivr.net/npm/jsxgraph/distrib/jsxgraph.css"> |
| | | |
| | | <link rel="stylesheet" type="text/css" |
| | | href="./common.css"/> |
| | | </head> |
| | | <body> |
| | | <h1>Fluglinien mit Kurzwinkel</h1> |
| | | <h1>Fluglinien mit Kurswinkel</h1> |
| | | <div id="box" class="jxgbox" style="width:950px; aspect-ratio: 1/1;"></div> |
| | | <script src="tangente.js"></script> |
| | | </body> |
| File was renamed from 01-intro-url-path/tangente.js |
| | |
| | | const RADIUS = 6; |
| | | const BOARD_SIZE = 14; |
| | | |
| | | const toXYZ = (longitude, latitude) => { |
| | | const lon = (longitude * Math.PI) / 180; |
| | | const lat = (latitude * Math.PI) / 180; |
| | |
| | | } |
| | | |
| | | |
| | | // board commands |
| | | const RADIUS = 6; |
| | | const BOARD_SIZE = 14; |
| | | |
| | | const board = JXG.JSXGraph.initBoard( |
| | | 'box', { |
| | | boundingbox: [-BOARD_SIZE, BOARD_SIZE, BOARD_SIZE, -BOARD_SIZE], |
| | |
| | | }); |
| | | const bound = [-10, 10]; |
| | | const view = board.create('view3d', |
| | | [[-8, -8], [15, 15], |
| | | [[-10, -10], [19, 19], |
| | | [bound, bound, bound]], |
| | | { |
| | | axesPosition: 'none', |
| | |
| | | const meridianNormalVector = normalVector(TANGENT_COORDINATE, NORTH_POLE); |
| | | const meridianPlan = view.create('circle3d', [origin, meridianNormalVector, RADIUS]); |
| | | |
| | | const projectionLine = view.create('line3d', [targetPoint, toXYZ(...TANGENT_COORDINATE), [-Infinity, Infinity] ]); |
| | | const projectionLine = view.create('line3d', [targetPoint, toXYZ(...TANGENT_COORDINATE), [0, Infinity] ]); |
| | | const ot = view.create('line3d', [origin, tangentPoint]) |
| New file |
| | |
| | | /* |
| | | compile: $ gcc division.c -o division |
| | | run : $ ./division |
| | | */ |
| | | |
| | | #include <stdio.h> |
| | | |
| | | int main() { |
| | | int q = 11 / (-7); |
| | | int r = 11 % (-7); |
| | | printf("q = %d r = %d\n", q, r); |
| | | return 0; |
| | | } |
| New file |
| | |
| | | q = 11 // (-7) |
| | | r = 11 % (-7) |
| | | print(f"q = {q} r = {r}") |
| | | |