1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2024-11-22 16:04:21 +00:00

Capitolo 16

This commit is contained in:
Steffo 2019-12-01 17:07:12 +01:00
parent 473d0a997f
commit b858ed28cf
24 changed files with 832 additions and 25 deletions

2
docs/bundle.32481.js Normal file

File diff suppressed because one or more lines are too long

1
docs/bundle.32481.js.map Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"/":{"style.d5a9c.css":{"type":"style","weight":1},"bundle.f3348.js":{"type":"script","weight":1}}}
{"/":{"style.352c7.css":{"type":"style","weight":1},"bundle.32481.js":{"type":"script","weight":1}}}

View file

@ -235,6 +235,117 @@ var split_Split = function (_Component) {
}(preact_min["Component"]);
// EXTERNAL MODULE: ./components/plus.css
var plus = __webpack_require__("ddTt");
var plus_default = /*#__PURE__*/__webpack_require__.n(plus);
// CONCATENATED MODULE: ./components/plus.js
function plus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function plus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function plus__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var plus_Plus = function (_Component) {
plus__inherits(Plus, _Component);
function Plus() {
plus__classCallCheck(this, Plus);
return plus__possibleConstructorReturn(this, _Component.apply(this, arguments));
}
Plus.prototype.render = function render() {
return Object(preact_min["h"])(
"span",
{ "class": plus_default.a.plus },
this.props.children
);
};
return Plus;
}(preact_min["Component"]);
// EXTERNAL MODULE: ./components/minus.css
var minus = __webpack_require__("MeW5");
var minus_default = /*#__PURE__*/__webpack_require__.n(minus);
// CONCATENATED MODULE: ./components/minus.js
function minus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function minus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function minus__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var minus_Minus = function (_Component) {
minus__inherits(Minus, _Component);
function Minus() {
minus__classCallCheck(this, Minus);
return minus__possibleConstructorReturn(this, _Component.apply(this, arguments));
}
Minus.prototype.render = function render() {
return Object(preact_min["h"])(
"span",
{ "class": minus_default.a.minus },
this.props.children
);
};
return Minus;
}(preact_min["Component"]);
// EXTERNAL MODULE: ./components/todo.css
var todo = __webpack_require__("tO1d");
var todo_default = /*#__PURE__*/__webpack_require__.n(todo);
// CONCATENATED MODULE: ./components/todo.js
function todo__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function todo__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function todo__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var todo_Todo = function (_Component) {
todo__inherits(Todo, _Component);
function Todo() {
todo__classCallCheck(this, Todo);
return todo__possibleConstructorReturn(this, _Component.apply(this, arguments));
}
Todo.prototype.render = function render() {
return Object(preact_min["h"])(
"span",
{ "class": todo_default.a.todo },
this.props.children
);
};
return Todo;
}(preact_min["Component"]);
// CONCATENATED MODULE: ./pages/fisica.js
var _templateObject = _taggedTemplateLiteralLoose(['\x0Bec{v} = \x0Bec{v}_x + \x0Bec{v}_y'], ['\\vec{v} = \\vec{v}_x + \\vec{v}_y']),
_templateObject2 = _taggedTemplateLiteralLoose(['left | \x0Bec{v}_x \right | = left | \x0Bec{v} \right | sin alpha'], ['\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha']),
@ -285,7 +396,16 @@ var _templateObject = _taggedTemplateLiteralLoose(['\x0Bec{v} = \x0Bec{v}_x + \x
_templateObject47 = _taggedTemplateLiteralLoose(['E_{p_g} = m cdot g cdot h'], ['E_{p_g} = m \\cdot g \\cdot h']),
_templateObject48 = _taggedTemplateLiteralLoose(['E_{p_e} = \frac{1}{2} k x^2'], ['E_{p_e} = \\frac{1}{2} k x^2']),
_templateObject49 = _taggedTemplateLiteralLoose(['E = E_k + E_p'], ['E = E_k + E_p']),
_templateObject50 = _taggedTemplateLiteralLoose(['P = \frac{Delta E}{Delta t}'], ['P = \\frac{\\Delta E}{\\Delta t}']);
_templateObject50 = _taggedTemplateLiteralLoose(['P = \frac{Delta E}{Delta t}'], ['P = \\frac{\\Delta E}{\\Delta t}']),
_templateObject51 = _taggedTemplateLiteralLoose(['C_{elettrone} = 1.602 cdot 10^{-19}'], ['C_{elettrone} = 1.602 \\cdot 10^{-19}']),
_templateObject52 = _taggedTemplateLiteralLoose(['left | \x0Bec{F}_{elettrica} \right | = \frac{-k cdot q_1 cdot q_2}{s^2}'], ['\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}']),
_templateObject53 = _taggedTemplateLiteralLoose(['k'], ['k']),
_templateObject54 = _taggedTemplateLiteralLoose(['k = 8.99 cdot 10^9 \frac{N cdot m^2}{C^2}'], ['k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}']),
_templateObject55 = _taggedTemplateLiteralLoose(['epsilon_0'], ['\\epsilon_0']),
_templateObject56 = _taggedTemplateLiteralLoose(['k = \frac{1}{4 pi cdot epsilon_0}'], ['k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}']),
_templateObject57 = _taggedTemplateLiteralLoose(['left | \x0Bec{F}_{elettrica} \right | = \frac{q_1 cdot q_2}{4 pi cdot epsilon_0 cdot s^2}'], ['\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}']),
_templateObject58 = _taggedTemplateLiteralLoose(['\x0Bec{E} = \frac{\x0Bec{F}_{elettrica}}{q} = \frac{-k cdot q}{s^2}'], ['\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}']),
_templateObject59 = _taggedTemplateLiteralLoose(['Phi_{elettrico} = 4 pi cdot k cdot q = \frac{q}{epsilon_0}'], ['\\Phi_{elettrico} = 4 \\pi \\cdot k \\cdot q = \\frac{q}{\\epsilon_0}']);
@ -303,12 +423,15 @@ function fisica__inherits(subClass, superClass) { if (typeof superClass !== "fun
var r = String.raw;
var _ref = Object(preact_min["h"])(
'h1',
null,
'Fisica'
'Fisica (2019)'
);
var _ref2 = Object(preact_min["h"])(
@ -1144,17 +1267,17 @@ var _ref106 = Object(preact_min["h"])(
null,
'Ad esempio, \xE8 conservativa la ',
Object(preact_min["h"])(
'b',
'i',
null,
'forza di gravit\xE0'
),
', ma non \xE8 conservativa la ',
', ma ',
Object(preact_min["h"])(
'del',
'b',
null,
'forza di attrito'
'non'
),
'.'
' \xE8 conservativa la forza di attrito.'
);
var _ref107 = Object(preact_min["h"])(
@ -1175,6 +1298,333 @@ var _ref109 = Object(preact_min["h"])(
'\xC8 la velocit\xE0 di trasferimento di energia:'
);
var _ref110 = Object(preact_min["h"])(
'h2',
null,
'Elettrostatica'
);
var _ref111 = Object(preact_min["h"])(
'h3',
null,
'Carica elettrica'
);
var _ref112 = Object(preact_min["h"])(
'p',
null,
'\xC8 una propriet\xE0 dei corpi che pu\xF2 essere ',
Object(preact_min["h"])(
plus_Plus,
null,
'positiva'
),
' o ',
Object(preact_min["h"])(
minus_Minus,
null,
'negativa'
),
'.'
);
var _ref113 = Object(preact_min["h"])(
'p',
null,
'Si conserva: in un sistema chiuso la carica totale \xE8 costante.'
);
var _ref114 = Object(preact_min["h"])(
'p',
null,
'Cariche ',
Object(preact_min["h"])(
plus_Plus,
null,
'opp'
),
Object(preact_min["h"])(
minus_Minus,
null,
'oste'
),
' si attraggono; cariche ',
Object(preact_min["h"])(
plus_Plus,
null,
'uguali'
),
' si respingono.'
);
var _ref115 = Object(preact_min["h"])(
panel_Panel,
null,
Object(preact_min["h"])(
'h3',
null,
'Conduttori e isolanti'
),
Object(preact_min["h"])(
'p',
null,
'Pi\xF9 ',
Object(preact_min["h"])(
'a',
{ href: 'https://it.wikipedia.org/wiki/Ione' },
'ioni'
),
' ha un corpo, meglio la carica si muove attraverso di esso.'
),
Object(preact_min["h"])(
'p',
null,
'I corpi in cui la carica si muove bene sono ',
Object(preact_min["h"])(
'i',
null,
'conduttori'
),
', mentre quelli in cui si muove difficilmente sono ',
Object(preact_min["h"])(
'i',
null,
'isolanti'
),
'.'
),
Object(preact_min["h"])(
'p',
null,
'Il corpo umano \xE8 un buon conduttore.'
)
);
var _ref116 = Object(preact_min["h"])(
'h2',
null,
'Polarizzazione'
);
var _ref117 = Object(preact_min["h"])(
split_Split,
null,
Object(preact_min["h"])(
panel_Panel,
null,
Object(preact_min["h"])(
'h3',
null,
'Polarizzazione'
),
Object(preact_min["h"])(
'p',
null,
'E\' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.'
)
)
);
var _ref118 = Object(preact_min["h"])(
split_Split,
null,
Object(preact_min["h"])(
panel_Panel,
null,
Object(preact_min["h"])(
'h3',
null,
'Messa a terra'
),
Object(preact_min["h"])(
'p',
null,
'Se un corpo conduttore \xE8 in contatto con la Terra, le cariche su di esso saranno ',
Object(preact_min["h"])(
'i',
null,
'equilibrate'
),
' e il corpo diventer\xE0 elettricamente neutro (con stesso numero di ',
Object(preact_min["h"])(
plus_Plus,
null,
'cariche positive'
),
' e ',
Object(preact_min["h"])(
minus_Minus,
null,
'negative'
),
' all\'interno).'
)
)
);
var _ref119 = Object(preact_min["h"])(
split_Split,
null,
Object(preact_min["h"])(
panel_Panel,
null,
Object(preact_min["h"])(
'h3',
null,
'Polarizzazione per strofinio'
),
Object(preact_min["h"])(
'p',
null,
'Strofinando tra loro due corpi isolanti, essi si ',
Object(preact_min["h"])(
'i',
null,
'polarizzeranno per strofinio'
),
'.'
)
),
Object(preact_min["h"])(
panel_Panel,
null,
Object(preact_min["h"])(
'h3',
null,
'Polarizzazione per contatto'
),
Object(preact_min["h"])(
'p',
null,
'Toccando un conduttore con un corpo carico, il conduttore potr\xE0 ',
Object(preact_min["h"])(
'i',
null,
'polarizzarsi per contatto'
),
'.'
)
),
Object(preact_min["h"])(
panel_Panel,
null,
Object(preact_min["h"])(
'h3',
null,
'Polarizzazione per induzione'
),
Object(preact_min["h"])(
'p',
null,
'Se un corpo conduttore ha cariche "esterne" di un ',
Object(preact_min["h"])(
plus_Plus,
null,
'certo segno'
),
' vicino, esso avr\xE0 tutte le cariche del ',
Object(preact_min["h"])(
minus_Minus,
null,
'segno opposto'
),
' in equilibrio vicino alle cariche esterne, e tutte le cariche dello ',
Object(preact_min["h"])(
plus_Plus,
null,
'stesso segno'
),
' pi\xF9 lontano possibile da esse.'
),
Object(preact_min["h"])(
'p',
null,
'Mettendo a terra il conduttore, nuove cariche del ',
Object(preact_min["h"])(
minus_Minus,
null,
'segno opposto'
),
' saranno attratte all\'interno del corpo per equilibrare le cariche che si sono allontanate.'
),
Object(preact_min["h"])(
'p',
null,
'Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritrover\xE0 ',
Object(preact_min["h"])(
minus_Minus,
null,
'caricato del segno opposto'
),
' rispetto alle cariche esterne.'
)
)
);
var _ref120 = Object(preact_min["h"])(
'h2',
null,
'Forza elettrica'
);
var _ref121 = Object(preact_min["h"])(
'h3',
null,
'Legge di Coulomb'
);
var _ref122 = Object(preact_min["h"])(
'p',
null,
'Due corpi carichi si attraggono tra loro con forza:'
);
var _ref123 = Object(preact_min["h"])(
'i',
null,
'costante di Coulomb'
);
var _ref124 = Object(preact_min["h"])(
'h3',
null,
'Permeabilit\xE0 dello spazio vuoto'
);
var _ref125 = Object(preact_min["h"])(
'i',
null,
'permeabilit\xE0 del vuoto'
);
var _ref126 = Object(preact_min["h"])(
'h3',
null,
'Campo elettrico'
);
var _ref127 = Object(preact_min["h"])(
'p',
null,
'Misura che forza viene applicata in ogni punto su una carica unitaria:'
);
var _ref128 = Object(preact_min["h"])(
'h3',
null,
'Flusso elettrico / Legge di Gauss'
);
var _ref129 = Object(preact_min["h"])(
'p',
null,
Object(preact_min["h"])(
todo_Todo,
null,
'Da capire'
)
);
var fisica_Fisica = function (_Component) {
fisica__inherits(Fisica, _Component);
@ -1980,6 +2430,145 @@ var fisica_Fisica = function (_Component) {
)
)
)
),
_ref110,
Object(preact_min["h"])(
split_Split,
null,
Object(preact_min["h"])(
panel_Panel,
null,
_ref111,
_ref112,
_ref113,
Object(preact_min["h"])(
'p',
null,
'Esiste un\'unit\xE0 elementare: ',
Object(preact_min["h"])(
latex_Latex,
null,
r(_templateObject51)
),
'.'
),
_ref114
),
_ref115
),
_ref116,
_ref117,
_ref118,
_ref119,
_ref120,
Object(preact_min["h"])(
split_Split,
null,
Object(preact_min["h"])(
panel_Panel,
null,
_ref121,
_ref122,
Object(preact_min["h"])(
'p',
null,
Object(preact_min["h"])(
latex_Latex,
null,
r(_templateObject52)
)
),
Object(preact_min["h"])(
'p',
null,
Object(preact_min["h"])(
latex_Latex,
null,
r(_templateObject53)
),
' \xE8 la ',
_ref123,
', e vale ',
Object(preact_min["h"])(
latex_Latex,
null,
r(_templateObject54)
),
'.'
)
),
Object(preact_min["h"])(
panel_Panel,
null,
_ref124,
Object(preact_min["h"])(
'p',
null,
'La costante ',
Object(preact_min["h"])(
latex_Latex,
null,
r(_templateObject53)
),
' \xE8 in realt\xE0 dipendente da un altra costante, ',
Object(preact_min["h"])(
latex_Latex,
null,
r(_templateObject55)
),
', la ',
_ref125,
'.'
),
Object(preact_min["h"])(
'p',
null,
Object(preact_min["h"])(
latex_Latex,
null,
r(_templateObject56)
)
),
Object(preact_min["h"])(
'p',
null,
Object(preact_min["h"])(
latex_Latex,
null,
r(_templateObject57)
)
)
),
Object(preact_min["h"])(
panel_Panel,
null,
_ref126,
_ref127,
Object(preact_min["h"])(
'p',
null,
Object(preact_min["h"])(
latex_Latex,
null,
r(_templateObject58)
)
)
),
Object(preact_min["h"])(
panel_Panel,
null,
_ref128,
_ref129,
Object(preact_min["h"])(
'p',
null,
Object(preact_min["h"])(
latex_Latex,
null,
r(_templateObject59)
)
)
)
)
);
};
@ -2010,6 +2599,12 @@ var copyright__ref = Object(preact_min["h"])(
"CC BY-SA 4.0"
);
var copyright__ref2 = Object(preact_min["h"])(
"a",
{ href: "https://github.com/Steffo99/appuntiweb" },
"Codice sorgente"
);
var copyright_Copyright = function (_Component) {
copyright__inherits(Copyright, _Component);
@ -2024,7 +2619,9 @@ var copyright_Copyright = function (_Component) {
"div",
{ "class": copyright_default.a.copyright },
"\xA9 2019 - Stefano Pigozzi - ",
copyright__ref
copyright__ref,
" - ",
copyright__ref2
);
};
@ -2278,6 +2875,14 @@ var App = function (_Component) {
/***/ }),
/***/ "MeW5":
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
module.exports = {"minus":"minus__2d_8r"};
/***/ }),
/***/ "P9k+":
/***/ (function(module, exports) {
@ -2286,6 +2891,14 @@ module.exports = {"panel":"panel__22fOQ"};
/***/ }),
/***/ "ddTt":
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
module.exports = {"plus":"plus__1JPyf"};
/***/ }),
/***/ "qMTX":
/***/ (function(module, exports) {
@ -2294,6 +2907,14 @@ module.exports = {"copyright":"copyright__TBGn1"};
/***/ }),
/***/ "tO1d":
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
module.exports = {"todo":"todo__5Soco"};
/***/ }),
/***/ "xHuH":
/***/ (function(module, exports) {

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
*{-webkit-box-sizing:border-box;box-sizing:border-box}body{background-color:#0d193b;color:#a0ccff;font-family:sans-serif}h1,h2,h3,h4,h5,h6{text-align:center;margin-top:4px;margin-bottom:4px;color:#fff;font-weight:400}a{color:#00caca;text-decoration:none}a:hover{color:#4affff}a:active{color:#fff}.latex__34DCT{display:inline-block;vertical-align:middle}.panel__22fOQ{background-color:rgba(62.7%,80%,100%,10%);padding:4px;border-radius:4px;margin:4px;height:calc(100% - 8px);min-width:200px}.split__2Bl8C{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.splitchild__3Ip86{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;-ms-flex-preferred-size:0;flex-basis:0}.copyright__TBGn1{margin-top:8px;color:#fff;text-align:center;font-size:x-small}
/*# sourceMappingURL=style.d5a9c.css.map*/
*{-webkit-box-sizing:border-box;box-sizing:border-box}body{background-color:#0d193b;color:#a0ccff;font-family:sans-serif}h1,h2,h3,h4,h5,h6{text-align:center;margin-top:4px;margin-bottom:4px;color:#fff;font-weight:400}a{color:#00caca;text-decoration:none}a:hover{color:#4affff}a:active{color:#fff}.latex__34DCT{display:inline-block;vertical-align:middle}.panel__22fOQ{background-color:rgba(62.7%,80%,100%,10%);padding:4px;border-radius:4px;margin:4px;height:calc(100% - 8px);min-width:200px}.split__2Bl8C{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.splitchild__3Ip86{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;-ms-flex-preferred-size:0;flex-basis:0}.plus__1JPyf{color:#ff7d7d}.minus__2d_8r{color:#7d7dff}.todo__5Soco{border:4px solid #ff0;border-radius:4px;padding:2px;background-color:#000;color:#ff0}.copyright__TBGn1{margin-top:8px;color:#fff;text-align:center;font-size:x-small}
/*# sourceMappingURL=style.352c7.css.map*/

View file

@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./D:/Codice/appuntiweb/src/index.css","webpack:///./components/D:/Codice/appuntiweb/src/components/latex.css","webpack:///./components/D:/Codice/appuntiweb/src/components/panel.css","webpack:///./components/D:/Codice/appuntiweb/src/components/split.css","webpack:///./components/D:/Codice/appuntiweb/src/components/plus.css","webpack:///./components/D:/Codice/appuntiweb/src/components/minus.css","webpack:///./components/D:/Codice/appuntiweb/src/components/todo.css","webpack:///./components/D:/Codice/appuntiweb/src/components/copyright.css"],"names":[],"mappings":"AAAA,EACC,8BAAuB,sBAGxB,KACC,yBACA,cACA,sBAAwB,CAGzB,kBACC,kBACA,eACA,kBACA,WACA,eAAoB,CAGrB,EACI,cACA,oBAAsB,CAG1B,QACC,aAAe,CAGhB,SACC,UAAe,CC5BhB,cACI,qBACA,qBAAuB,CCF3B,cACI,0CACA,YACA,kBACA,WACA,wBACA,eAAiB,CCNrB,cACI,oBAAc,iCACd,mBAAgB,eAGpB,mBACI,mBAAa,gCACb,oBAAe,cACf,0BAAc,aCRlB,aACI,aAAe,CCDnB,cACI,aAAe,CCDnB,aACI,sBACA,kBACA,YACA,sBACA,UAAc,CCLlB,kBACI,eACA,WACA,kBACA,iBAAmB","file":"style.352c7.css","sourcesContent":["* {\n\tbox-sizing: border-box;\n}\n\nbody {\n\tbackground-color: #0d193b;\n\tcolor: #a0ccff;\n\tfont-family: sans-serif;\n}\n\nh1, h2, h3, h4, h5, h6 {\n\ttext-align: center;\n\tmargin-top: 4px;\n\tmargin-bottom: 4px;\n\tcolor: #ffffff;\n\tfont-weight: normal;\n}\n\na {\n color: #00caca;\n text-decoration: none;\n}\n\na:hover {\n\tcolor: #4affff;\n}\n\na:active {\n\tcolor: #ffffff;\n}\n\n\n// WEBPACK FOOTER //\n// ./D:/Codice/appuntiweb/src/index.css",".latex {\n display: inline-block;\n vertical-align: middle;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/latex.css",".panel {\n background-color: rgba(62.7%, 80%, 100%, 10%);\n padding: 4px;\n border-radius: 4px;\n margin: 4px;\n height: calc(100% - 8px);\n min-width: 200px;\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/panel.css",".split {\n display: flex;\n flex-wrap: wrap;\n}\n\n.splitchild {\n flex-grow: 1;\n flex-shrink: 0;\n flex-basis: 0;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/split.css",".plus {\r\n color: #ff7d7d;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/plus.css",".minus {\r\n color: #7d7dff;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/minus.css",".todo {\r\n border: 4px yellow solid;\r\n border-radius: 4px;\r\n padding: 2px;\r\n background-color: black;\r\n color: yellow;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/todo.css",".copyright {\r\n margin-top: 8px;\r\n color: white;\r\n text-align: center;\r\n font-size: x-small;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/copyright.css"],"sourceRoot":""}

View file

@ -1 +0,0 @@
{"version":3,"sources":["webpack:///./D:/Codice/appuntiweb/src/index.css","webpack:///./components/D:/Codice/appuntiweb/src/components/latex.css","webpack:///./components/D:/Codice/appuntiweb/src/components/panel.css","webpack:///./components/D:/Codice/appuntiweb/src/components/split.css","webpack:///./components/D:/Codice/appuntiweb/src/components/copyright.css"],"names":[],"mappings":"AAAA,EACC,8BAAuB,sBAGxB,KACC,yBACA,cACA,sBAAwB,CAGzB,kBACC,kBACA,eACA,kBACA,WACA,eAAoB,CAGrB,EACI,cACA,oBAAsB,CAG1B,QACC,aAAe,CAGhB,SACC,UAAe,CC5BhB,cACI,qBACA,qBAAuB,CCF3B,cACI,0CACA,YACA,kBACA,WACA,wBACA,eAAiB,CCNrB,cACI,oBAAc,iCACd,mBAAgB,eAGpB,mBACI,mBAAa,gCACb,oBAAe,cACf,0BAAc,aCRlB,kBACI,eACA,WACA,kBACA,iBAAmB","file":"style.d5a9c.css","sourcesContent":["* {\n\tbox-sizing: border-box;\n}\n\nbody {\n\tbackground-color: #0d193b;\n\tcolor: #a0ccff;\n\tfont-family: sans-serif;\n}\n\nh1, h2, h3, h4, h5, h6 {\n\ttext-align: center;\n\tmargin-top: 4px;\n\tmargin-bottom: 4px;\n\tcolor: #ffffff;\n\tfont-weight: normal;\n}\n\na {\n color: #00caca;\n text-decoration: none;\n}\n\na:hover {\n\tcolor: #4affff;\n}\n\na:active {\n\tcolor: #ffffff;\n}\n\n\n// WEBPACK FOOTER //\n// ./D:/Codice/appuntiweb/src/index.css",".latex {\n display: inline-block;\n vertical-align: middle;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/latex.css",".panel {\n background-color: rgba(62.7%, 80%, 100%, 10%);\n padding: 4px;\n border-radius: 4px;\n margin: 4px;\n height: calc(100% - 8px);\n min-width: 200px;\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/panel.css",".split {\n display: flex;\n flex-wrap: wrap;\n}\n\n.splitchild {\n flex-grow: 1;\n flex-shrink: 0;\n flex-basis: 0;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/split.css",".copyright {\r\n margin-top: 8px;\r\n color: white;\r\n text-align: center;\r\n font-size: x-small;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/copyright.css"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
*{-webkit-box-sizing:border-box;box-sizing:border-box}body{background-color:#0d193b;color:#a0ccff;font-family:sans-serif}h1,h2,h3,h4,h5,h6{text-align:center;margin-top:4px;margin-bottom:4px;color:#fff;font-weight:400}a{color:#00caca;text-decoration:none}a:hover{color:#4affff}a:active{color:#fff}.latex__34DCT{display:inline-block;vertical-align:middle}.panel__22fOQ{background-color:rgba(62.7%,80%,100%,10%);padding:4px;border-radius:4px;margin:4px;height:calc(100% - 8px);min-width:200px}.split__2Bl8C{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.splitchild__3Ip86{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;-ms-flex-preferred-size:0;flex-basis:0}.copyright__TBGn1{margin-top:8px;color:#fff;text-align:center;font-size:x-small}
/*# sourceMappingURL=style.d5a9c.css.map*/
*{-webkit-box-sizing:border-box;box-sizing:border-box}body{background-color:#0d193b;color:#a0ccff;font-family:sans-serif}h1,h2,h3,h4,h5,h6{text-align:center;margin-top:4px;margin-bottom:4px;color:#fff;font-weight:400}a{color:#00caca;text-decoration:none}a:hover{color:#4affff}a:active{color:#fff}.latex__34DCT{display:inline-block;vertical-align:middle}.panel__22fOQ{background-color:rgba(62.7%,80%,100%,10%);padding:4px;border-radius:4px;margin:4px;height:calc(100% - 8px);min-width:200px}.split__2Bl8C{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.splitchild__3Ip86{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;-ms-flex-preferred-size:0;flex-basis:0}.plus__1JPyf{color:#ff7d7d}.minus__2d_8r{color:#7d7dff}.todo__5Soco{border:4px solid #ff0;border-radius:4px;padding:2px;background-color:#000;color:#ff0}.copyright__TBGn1{margin-top:8px;color:#fff;text-align:center;font-size:x-small}
/*# sourceMappingURL=style.352c7.css.map*/

1
docs/style.352c7.css.map Normal file
View file

@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./D:/Codice/appuntiweb/src/index.css","webpack:///./components/D:/Codice/appuntiweb/src/components/latex.css","webpack:///./components/D:/Codice/appuntiweb/src/components/panel.css","webpack:///./components/D:/Codice/appuntiweb/src/components/split.css","webpack:///./components/D:/Codice/appuntiweb/src/components/plus.css","webpack:///./components/D:/Codice/appuntiweb/src/components/minus.css","webpack:///./components/D:/Codice/appuntiweb/src/components/todo.css","webpack:///./components/D:/Codice/appuntiweb/src/components/copyright.css"],"names":[],"mappings":"AAAA,EACC,8BAAuB,sBAGxB,KACC,yBACA,cACA,sBAAwB,CAGzB,kBACC,kBACA,eACA,kBACA,WACA,eAAoB,CAGrB,EACI,cACA,oBAAsB,CAG1B,QACC,aAAe,CAGhB,SACC,UAAe,CC5BhB,cACI,qBACA,qBAAuB,CCF3B,cACI,0CACA,YACA,kBACA,WACA,wBACA,eAAiB,CCNrB,cACI,oBAAc,iCACd,mBAAgB,eAGpB,mBACI,mBAAa,gCACb,oBAAe,cACf,0BAAc,aCRlB,aACI,aAAe,CCDnB,cACI,aAAe,CCDnB,aACI,sBACA,kBACA,YACA,sBACA,UAAc,CCLlB,kBACI,eACA,WACA,kBACA,iBAAmB","file":"style.352c7.css","sourcesContent":["* {\n\tbox-sizing: border-box;\n}\n\nbody {\n\tbackground-color: #0d193b;\n\tcolor: #a0ccff;\n\tfont-family: sans-serif;\n}\n\nh1, h2, h3, h4, h5, h6 {\n\ttext-align: center;\n\tmargin-top: 4px;\n\tmargin-bottom: 4px;\n\tcolor: #ffffff;\n\tfont-weight: normal;\n}\n\na {\n color: #00caca;\n text-decoration: none;\n}\n\na:hover {\n\tcolor: #4affff;\n}\n\na:active {\n\tcolor: #ffffff;\n}\n\n\n// WEBPACK FOOTER //\n// ./D:/Codice/appuntiweb/src/index.css",".latex {\n display: inline-block;\n vertical-align: middle;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/latex.css",".panel {\n background-color: rgba(62.7%, 80%, 100%, 10%);\n padding: 4px;\n border-radius: 4px;\n margin: 4px;\n height: calc(100% - 8px);\n min-width: 200px;\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/panel.css",".split {\n display: flex;\n flex-wrap: wrap;\n}\n\n.splitchild {\n flex-grow: 1;\n flex-shrink: 0;\n flex-basis: 0;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/split.css",".plus {\r\n color: #ff7d7d;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/plus.css",".minus {\r\n color: #7d7dff;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/minus.css",".todo {\r\n border: 4px yellow solid;\r\n border-radius: 4px;\r\n padding: 2px;\r\n background-color: black;\r\n color: yellow;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/todo.css",".copyright {\r\n margin-top: 8px;\r\n color: white;\r\n text-align: center;\r\n font-size: x-small;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/copyright.css"],"sourceRoot":""}

View file

@ -1 +0,0 @@
{"version":3,"sources":["webpack:///./D:/Codice/appuntiweb/src/index.css","webpack:///./components/D:/Codice/appuntiweb/src/components/latex.css","webpack:///./components/D:/Codice/appuntiweb/src/components/panel.css","webpack:///./components/D:/Codice/appuntiweb/src/components/split.css","webpack:///./components/D:/Codice/appuntiweb/src/components/copyright.css"],"names":[],"mappings":"AAAA,EACC,8BAAuB,sBAGxB,KACC,yBACA,cACA,sBAAwB,CAGzB,kBACC,kBACA,eACA,kBACA,WACA,eAAoB,CAGrB,EACI,cACA,oBAAsB,CAG1B,QACC,aAAe,CAGhB,SACC,UAAe,CC5BhB,cACI,qBACA,qBAAuB,CCF3B,cACI,0CACA,YACA,kBACA,WACA,wBACA,eAAiB,CCNrB,cACI,oBAAc,iCACd,mBAAgB,eAGpB,mBACI,mBAAa,gCACb,oBAAe,cACf,0BAAc,aCRlB,kBACI,eACA,WACA,kBACA,iBAAmB","file":"style.d5a9c.css","sourcesContent":["* {\n\tbox-sizing: border-box;\n}\n\nbody {\n\tbackground-color: #0d193b;\n\tcolor: #a0ccff;\n\tfont-family: sans-serif;\n}\n\nh1, h2, h3, h4, h5, h6 {\n\ttext-align: center;\n\tmargin-top: 4px;\n\tmargin-bottom: 4px;\n\tcolor: #ffffff;\n\tfont-weight: normal;\n}\n\na {\n color: #00caca;\n text-decoration: none;\n}\n\na:hover {\n\tcolor: #4affff;\n}\n\na:active {\n\tcolor: #ffffff;\n}\n\n\n// WEBPACK FOOTER //\n// ./D:/Codice/appuntiweb/src/index.css",".latex {\n display: inline-block;\n vertical-align: middle;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/latex.css",".panel {\n background-color: rgba(62.7%, 80%, 100%, 10%);\n padding: 4px;\n border-radius: 4px;\n margin: 4px;\n height: calc(100% - 8px);\n min-width: 200px;\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/panel.css",".split {\n display: flex;\n flex-wrap: wrap;\n}\n\n.splitchild {\n flex-grow: 1;\n flex-shrink: 0;\n flex-basis: 0;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/split.css",".copyright {\r\n margin-top: 8px;\r\n color: white;\r\n text-align: center;\r\n font-size: x-small;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/D:/Codice/appuntiweb/src/components/copyright.css"],"sourceRoot":""}

View file

@ -1 +1 @@
"use strict";var precacheConfig=[["https://gh.steffo.eu/appuntiweb/assets/icon.png","cf3fdf7af60a294d6d3f48cb7ad82488"],["https://gh.steffo.eu/appuntiweb/bundle.f3348.js","5cdc49dc9983f31c798fd3e457f7bce2"],["https://gh.steffo.eu/appuntiweb/favicon.ico","94eae66bebbd6bbfe48a669f245048ac"],["https://gh.steffo.eu/appuntiweb/index.html","8b4c464820cf60cd9bc2d1bc6ef063c8"],["https://gh.steffo.eu/appuntiweb/manifest.json","310a916537fc6f66deb88310b13a2759"],["https://gh.steffo.eu/appuntiweb/style.d5a9c.css","191ab63825677d4b9a2e5665c93bf9fb"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(e){return e.redirected?("body"in e?Promise.resolve(e.body):e.blob()).then(function(t){return new Response(t,{headers:e.headers,status:e.status,statusText:e.statusText})}):Promise.resolve(e)},createCacheKey=function(e,t,n,r){var a=new URL(e);return r&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,t){var n=new URL(e);return n.hash="",n.search=n.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(e){return t.every(function(t){return!t.test(e[0])})}).map(function(e){return e.join("=")}).join("&"),n.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],r=new URL(t,self.location),a=createCacheKey(r,hashParamName,n,!1);return[r.toString(),a]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(e){return setOfCachedUrls(e).then(function(t){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(n){if(!t.has(n)){var r=new Request(n,{credentials:"same-origin"});return fetch(r).then(function(t){if(!t.ok)throw new Error("Request for "+n+" returned a response with status "+t.status);return cleanResponse(t).then(function(t){return e.put(n,t)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var t=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(e){return e.keys().then(function(n){return Promise.all(n.map(function(n){if(!t.has(n.url))return e.delete(n)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(e){if("GET"===e.request.method){var t,n=stripIgnoredUrlParameters(e.request.url,ignoreUrlParametersMatching);(t=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,"index.html"),t=urlsToCacheKeys.has(n));!t&&"navigate"===e.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],e.request.url)&&(n=new URL("index.html",self.location).toString(),t=urlsToCacheKeys.has(n)),t&&e.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(t){return console.warn('Couldn\'t serve response for "%s" from cache: %O',e.request.url,t),fetch(e.request)}))}});
"use strict";var precacheConfig=[["https://gh.steffo.eu/appuntiweb/assets/icon.png","cf3fdf7af60a294d6d3f48cb7ad82488"],["https://gh.steffo.eu/appuntiweb/bundle.32481.js","1d5945d4ca8d4480d91a009908ec1e21"],["https://gh.steffo.eu/appuntiweb/favicon.ico","94eae66bebbd6bbfe48a669f245048ac"],["https://gh.steffo.eu/appuntiweb/index.html","6e0fc644703bcff37b293038d0ac23d9"],["https://gh.steffo.eu/appuntiweb/manifest.json","310a916537fc6f66deb88310b13a2759"],["https://gh.steffo.eu/appuntiweb/style.352c7.css","edfc3419fbf4e241afac47304ebbcffd"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(e){return e.redirected?("body"in e?Promise.resolve(e.body):e.blob()).then(function(t){return new Response(t,{headers:e.headers,status:e.status,statusText:e.statusText})}):Promise.resolve(e)},createCacheKey=function(e,t,n,r){var a=new URL(e);return r&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,t){var n=new URL(e);return n.hash="",n.search=n.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(e){return t.every(function(t){return!t.test(e[0])})}).map(function(e){return e.join("=")}).join("&"),n.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],r=new URL(t,self.location),a=createCacheKey(r,hashParamName,n,!1);return[r.toString(),a]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(e){return setOfCachedUrls(e).then(function(t){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(n){if(!t.has(n)){var r=new Request(n,{credentials:"same-origin"});return fetch(r).then(function(t){if(!t.ok)throw new Error("Request for "+n+" returned a response with status "+t.status);return cleanResponse(t).then(function(t){return e.put(n,t)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var t=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(e){return e.keys().then(function(n){return Promise.all(n.map(function(n){if(!t.has(n.url))return e.delete(n)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(e){if("GET"===e.request.method){var t,n=stripIgnoredUrlParameters(e.request.url,ignoreUrlParametersMatching);(t=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,"index.html"),t=urlsToCacheKeys.has(n));!t&&"navigate"===e.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],e.request.url)&&(n=new URL("index.html",self.location).toString(),t=urlsToCacheKeys.has(n)),t&&e.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(t){return console.warn('Couldn\'t serve response for "%s" from cache: %O',e.request.url,t),fetch(e.request)}))}});

View file

@ -3,6 +3,6 @@ import { Component } from 'preact';
export default class Copyright extends Component {
render() {
return <div class={style.copyright}>© 2019 - Stefano Pigozzi - <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a></div>;
return <div class={style.copyright}>© 2019 - Stefano Pigozzi - <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> - <a href="https://github.com/Steffo99/appuntiweb">Codice sorgente</a></div>;
}
}

3
src/components/minus.css Normal file
View file

@ -0,0 +1,3 @@
.minus {
color: #7d7dff;
}

8
src/components/minus.js Normal file
View file

@ -0,0 +1,8 @@
import style from "./minus.css";
import { Component } from 'preact';
export default class Minus extends Component {
render() {
return <span class={style.minus}>{this.props.children}</span>;
}
}

3
src/components/plus.css Normal file
View file

@ -0,0 +1,3 @@
.plus {
color: #ff7d7d;
}

8
src/components/plus.js Normal file
View file

@ -0,0 +1,8 @@
import style from "./plus.css";
import { Component } from 'preact';
export default class Plus extends Component {
render() {
return <span class={style.plus}>{this.props.children}</span>;
}
}

7
src/components/todo.css Normal file
View file

@ -0,0 +1,7 @@
.todo {
border: 4px yellow solid;
border-radius: 4px;
padding: 2px;
background-color: black;
color: yellow;
}

8
src/components/todo.js Normal file
View file

@ -0,0 +1,8 @@
import style from "./todo.css";
import { Component } from 'preact';
export default class Todo extends Component {
render() {
return <span class={style.todo}>{this.props.children}</span>;
}
}

View file

@ -3,6 +3,9 @@ import { Component } from 'preact';
import Latex from '../components/latex';
import Panel from '../components/panel';
import Split from '../components/split';
import Plus from '../components/plus';
import Minus from '../components/minus';
import Todo from '../components/todo';
const r = String.raw;
@ -10,7 +13,7 @@ export default class Fisica extends Component {
render() {
return (
<div>
<h1>Fisica</h1>
<h1>Fisica (2019)</h1>
<h2>Vettori</h2>
<Split>
<Panel>
@ -621,7 +624,7 @@ export default class Fisica extends Component {
Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo.
</p>
<p>
Ad esempio, è conservativa la <b>forza di gravità</b>, ma non è conservativa la <del>forza di attrito</del>.
Ad esempio, è conservativa la <i>forza di gravità</i>, ma <b>non</b> è conservativa la forza di attrito.
</p>
<p>
Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:
@ -642,6 +645,152 @@ export default class Fisica extends Component {
</p>
</Panel>
</Split>
<h2>
Elettrostatica
</h2>
<Split>
<Panel>
<h3>
Carica elettrica
</h3>
<p>
È una proprietà dei corpi che può essere <Plus>positiva</Plus> o <Minus>negativa</Minus>.
</p>
<p>
Si conserva: in un sistema chiuso la carica totale è costante.
</p>
<p>
Esiste un'unità elementare: <Latex>{r`C_{elettrone} = 1.602 \cdot 10^{-19}`}</Latex>.
</p>
<p>
Cariche <Plus>opp</Plus><Minus>oste</Minus> si attraggono; cariche <Plus>uguali</Plus> si respingono.
</p>
</Panel>
<Panel>
<h3>
Conduttori e isolanti
</h3>
<p>
Più <a href="https://it.wikipedia.org/wiki/Ione">ioni</a> ha un corpo, meglio la carica si muove attraverso di esso.
</p>
<p>
I corpi in cui la carica si muove bene sono <i>conduttori</i>, mentre quelli in cui si muove difficilmente sono <i>isolanti</i>.
</p>
<p>
Il corpo umano è un buon conduttore.
</p>
</Panel>
</Split>
<h2>
Polarizzazione
</h2>
<Split>
<Panel>
<h3>
Polarizzazione
</h3>
<p>
E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.
</p>
</Panel>
</Split>
<Split>
<Panel>
<h3>
Messa a terra
</h3>
<p>
Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno <i>equilibrate</i> e il corpo diventerà elettricamente neutro (con stesso numero di <Plus>cariche positive</Plus> e <Minus>negative</Minus> all'interno).
</p>
</Panel>
</Split>
<Split>
<Panel>
<h3>
Polarizzazione per strofinio
</h3>
<p>
Strofinando tra loro due corpi isolanti, essi si <i>polarizzeranno per strofinio</i>.
</p>
</Panel>
<Panel>
<h3>
Polarizzazione per contatto
</h3>
<p>
Toccando un conduttore con un corpo carico, il conduttore potrà <i>polarizzarsi per contatto</i>.
</p>
</Panel>
<Panel>
<h3>
Polarizzazione per induzione
</h3>
<p>
Se un corpo conduttore ha cariche "esterne" di un <Plus>certo segno</Plus> vicino, esso avrà tutte le cariche del <Minus>segno opposto</Minus> in equilibrio vicino alle cariche esterne, e tutte le cariche dello <Plus>stesso segno</Plus> più lontano possibile da esse.
</p>
<p>
Mettendo a terra il conduttore, nuove cariche del <Minus>segno opposto</Minus> saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate.
</p>
<p>
Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà <Minus>caricato del segno opposto</Minus> rispetto alle cariche esterne.
</p>
</Panel>
</Split>
<h2>
Forza elettrica
</h2>
<Split>
<Panel>
<h3>
Legge di Coulomb
</h3>
<p>
Due corpi carichi si attraggono tra loro con forza:
</p>
<p>
<Latex>{r`\left | \vec{F}_{elettrica} \right | = \frac{-k \cdot q_1 \cdot q_2}{s^2}`}</Latex>
</p>
<p>
<Latex>{r`k`}</Latex> è la <i>costante di Coulomb</i>, e vale <Latex>{r`k = 8.99 \cdot 10^9 \frac{N \cdot m^2}{C^2}`}</Latex>.
</p>
</Panel>
<Panel>
<h3>
Permeabilità dello spazio vuoto
</h3>
<p>
La costante <Latex>{r`k`}</Latex> è in realtà dipendente da un altra costante, <Latex>{r`\epsilon_0`}</Latex>, la <i>permeabilità del vuoto</i>.
</p>
<p>
<Latex>{r`k = \frac{1}{4 \pi \cdot \epsilon_0}`}</Latex>
</p>
<p>
<Latex>{r`\left | \vec{F}_{elettrica} \right | = \frac{q_1 \cdot q_2}{4 \pi \cdot \epsilon_0 \cdot s^2}`}</Latex>
</p>
</Panel>
<Panel>
<h3>
Campo elettrico
</h3>
<p>
Misura che forza viene applicata in ogni punto su una carica unitaria:
</p>
<p>
<Latex>{r`\vec{E} = \frac{\vec{F}_{elettrica}}{q} = \frac{-k \cdot q}{s^2}`}</Latex>
</p>
</Panel>
<Panel>
<h3>
Flusso elettrico / Legge di Gauss
</h3>
<p>
<Todo>Da capire</Todo>
</p>
<p>
<Latex>{r`\Phi_{elettrico} = 4 \pi \cdot k \cdot q = \frac{q}{\epsilon_0}`}</Latex>
</p>
</Panel>
</Split>
</div>
)
}