feat: english class 06

This commit is contained in:
max_richter 2022-04-07 15:32:39 +02:00
parent 9d2a6831fe
commit 233512cb11
11 changed files with 396 additions and 5 deletions

View File

@ -8,7 +8,7 @@
"name": "pnpm",
"message": "No package.json (or package.yaml, or package.json5) was found in \"/home/jim/Notes\".",
"code": "ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND",
"stack": "pnpm: No package.json (or package.yaml, or package.json5) was found in \"/home/jim/Notes\".\n at readProjectManifest (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.3/node_modules/pnpm/dist/pnpm.cjs:19818:13)\n at async Object.readProjectManifestOnly (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.3/node_modules/pnpm/dist/pnpm.cjs:19822:28)\n at async readProjectManifestOnly (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.3/node_modules/pnpm/dist/pnpm.cjs:43721:24)\n at async Object.handler (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.3/node_modules/pnpm/dist/pnpm.cjs:177918:24)\n at async /home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.3/node_modules/pnpm/dist/pnpm.cjs:182194:21\n at async run (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.3/node_modules/pnpm/dist/pnpm.cjs:182168:34)\n at async runPnpm (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.3/node_modules/pnpm/dist/pnpm.cjs:182387:5)\n at async /home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.3/node_modules/pnpm/dist/pnpm.cjs:182379:7"
"stack": "pnpm: No package.json (or package.yaml, or package.json5) was found in \"/home/jim/Notes\".\n at readProjectManifest (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.4/node_modules/pnpm/dist/pnpm.cjs:19815:13)\n at async Object.readProjectManifestOnly (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.4/node_modules/pnpm/dist/pnpm.cjs:19819:28)\n at async readProjectManifestOnly (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.4/node_modules/pnpm/dist/pnpm.cjs:43733:24)\n at async Object.handler (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.4/node_modules/pnpm/dist/pnpm.cjs:177853:24)\n at async /home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.4/node_modules/pnpm/dist/pnpm.cjs:182129:21\n at async run (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.4/node_modules/pnpm/dist/pnpm.cjs:182103:34)\n at async runPnpm (/home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.4/node_modules/pnpm/dist/pnpm.cjs:182322:5)\n at async /home/jim/.asdf/installs/nodejs/17.8.0/.npm/pnpm-global/5/node_modules/.pnpm/pnpm@6.32.4/node_modules/pnpm/dist/pnpm.cjs:182314:7"
}
}
}

View File

@ -121,11 +121,11 @@ o 8 16 0 12294 2 0.0001 0 2 8 3 source
```circuitjs
$ 64 0.000005 1.0312258501325766 50 5 50 5e-11
R 144 192 96 192 0 0 40 5 0 0 0.5
R 144 224 96 224 0 0 40 4 0 0 0.5
R 144 192 96 192 0 0 40 4 0 0 0.5
R 144 224 96 224 0 0 40 5 0 0 0.5
r 144 192 224 192 0 1000
r 144 224 224 224 0 1000
a 224 208 352 208 8 15 -15 1000000 2.000009999800004 2 100000
a 224 208 352 208 8 15 -15 1000000 2.499990000199996 2.5 100000
r 224 128 352 128 0 1000
w 352 128 352 208 0
w 224 192 224 128 0

View File

@ -0,0 +1,63 @@
# Voltage-controlled current source
```circuitjs
$ 1 0.000005 10.20027730826997 50 5 50 5e-11
409 640 368 800 368 1 0.6 -16.023420346306043 0.023100000000000002 0
v 592 432 592 384 0 0 40 1 0 0 0.5
w 592 384 640 384 0
r 800 368 880 368 0 470
w 800 368 800 256 0
w 800 256 592 256 0
w 592 256 592 352 0
w 592 352 640 352 0
w 592 432 880 432 0
w 880 368 880 432 0
w 880 368 928 368 3
r 928 368 928 448 0 220
g 928 448 928 496 0 0
R 720 400 720 496 0 0 40 -15 0 0 0.5
R 720 336 720 208 0 0 40 15 0 0 0.5
p 800 368 800 416 1 0 0
o 10 16 3 159746 0.0001 0.0001 0 1
o 3 16 3 159746 0.0001 0.0001 1 1
38 1 F1 0 0 12 -1 Voltage
```
# Differentiators based on OA
```circuitjs
$ 1 0.000005 10.20027730826997 50 5 50 5e-11
c 512 416 624 416 0 6.8000000000000005e-9 11.432213268038161 0.001
409 624 432 768 432 1 0.6 29.03806612154948 0.0231 0
r 624 352 768 352 0 470
w 768 432 768 352 0
w 624 416 624 352 0
g 624 448 624 496 0 0
R 512 416 512 480 0 1 50 5 0 0 0.5
R 688 400 688 368 0 0 40 -15 0 0 0.5
R 688 464 688 496 0 0 40 15 0 0 0.5
O 768 432 832 432 1 0
o 9 16 0 159746 14.661466041813108 0.0001 0 1
```
# Pseudo Integrators based on OA
```circuitjs
$ 1 0.000005 10.20027730826997 50 5 50 5e-11
409 624 432 768 432 1 0.6 29.035877276181203 0.0231 0
r 624 352 768 352 0 10000
w 768 432 768 352 0
w 624 416 624 352 0
g 624 448 624 496 0 0
R 512 416 512 480 0 1 50 1 0 0 0.5
R 688 400 688 368 0 0 40 -15 0 0 0.5
R 688 464 688 496 0 0 40 15 0 0 0.5
O 768 432 832 432 1 0
w 624 352 624 288 0
w 768 352 768 288 0
c 624 288 768 288 0 1.0000000000000001e-7 12.907537355618608 0.001
r 512 416 624 416 0 1000
o 8 16 0 159746 13.58313090577521 0.0001 0 1
o 5 16 0 159746 0.9999999999999959 0.0001 0 2 5 3
```

View File

@ -1,6 +1,6 @@
# Lux Meter
We want to create a lux meter with a output voltage of $0V \le V_O \le 5V$
We want to create a lux meter with a output voltage of $0V \le V_O \le 5V$.
```circuitjs
$ 1 0.000005 310.77885238917384 50 5 43 5e-11

View File

@ -0,0 +1,70 @@
# Passives
3D Printer - 2000
Computer Mouse - 1980
Driverless Car - 1960
Electric Car
Fibre Optics
Smartphones
Solar Cells
Stem Cell Therapy - 1990
# 7.2
## Discoveries
Smartphones
3D Printer
## Inventions
# Passive Voice
# Unit 7
When the agent is obvious
1.1 Rewrite the sentences in the passive form
A 3D Printer was taken to the international SPace Station by an astronout.
When was the computer mouse invented
Was stem cell therapy used by doctors in the 1990s?
Fibre optics werent installed in my area until last year.
Which company are driverless cars being manufactured by?
Were electric cars demonstrated at the exhibition?
## Task 5
1. have been developed
2. are caused
3. are delivered
4. can stop
5. are given
6. haven't been kept
7. is being tested
8. have been working
9. will make
## Task 6
1. for
2. by
## Task 7
1. by
2. by
3. by
4. for
5. for
6. by
# Unit 7.3
## Task 1
# Unit 7.4
# Homework
- Unit7 Tasks 2-7
- Unit 7.4 -> Activities 7-10
- Activities 10. Approx. 60-80 word long text.

View File

@ -0,0 +1,32 @@
# Passive Voice
# Use
We use the pasive to focus on what happend the action or process which takes place. Information about the agent (who or what does the ation) doesnt need to appear in the sentence. The passive is often used in formal writing contexts such as academic, business or legal texts and also when describing processes which consist of a series of stages. The choice between the use of the passive or active form of a verb depends on whether we want to emphasize the action (passive) or the agent (active).
# How
We form the passive with the verb be+ the past particible of the main verb. We can use the verb be i all tenses and with modal verbs, although the present perfect continous and past perfect continuous form of the passive are not used very often.
We us be in the negative and question form to make negative passibel sentences.
## Tenses
### Past Simple
**examples**
### Past Continous
**example**
_Were_ the subjects in the trial _being monitored_ during the trial
### Present Perfect
**example:**
Several market research surveys _have been carried out_ so far.
## Modals
When _will_ the app _be launched_.
The media _cant be told_ until next week.
Existing needs _must be_ clearly _identified_.
Results _should be reviewed_ by peers in academic settings.

View File

@ -0,0 +1,76 @@
# Ohms Law
Solve for voltage:
$\displaystyle V = \frac{I}{R}$
*Solve for resistance:*
$R = \frac{V}{I}$
_Solve for current_
$$
\begin{flalign}
I & = \frac{V}{R} &
\end{flalign}
$$
# Resistors in Series
$R = R1 + R2 + R3 ...$
# Resistors in Parallel
$$
\begin{flalign}
&\frac{1}{R} = \frac{1}{R1} + \frac{1}{R2} + \frac{1}{R3} ... &\\
\\
&\textit{For two resistors in parallel:} &\\
\\
&R = \frac{R1 * R2}{R1 + R2} &\\\
\end{flalign}
$$
***Tip:***
If resistors of the same value are in parallel the total resistance is a single resistor divided by the amount if resistors.
## Thevenins Theorem
States that it is possible to simplify any linear circuit, no matter how complex, to an equivalent circuit with just a single voltage source and series resistance connected to a load.
# Kirchhoff's Law
## Conservation of Charge (First Law)
All current entering a node must also leave that node
$$
\begin{flalign}
\sum{I_{IN}} = \sum{I_{OUT}}&&
\end{flalign}
$$
**Example:**
![](./assets/kirchhoffs-law-01.svg)
For this circuit kirchhoffs law states that:
$\displaystyle i1 = i2 + i3 + i4$
## Conservation of Energy (Second Law)
All the potential differences around the loop must sum to zero.
$\displaystyle \sum{V} = 0$
## Capacitors in Series
$\displaystyle \frac{1}{C_{t}} = \frac{1}{C_{1}}+\frac{1}{C_{2}}+\frac{1}{C_{3}} ...$
### Impedance in a Circuit
$$
\begin{flalign}
&Z = \sqrt{R^2 + X^2} &\\\
\\
&X = X_{L} - X_{C} \\
\end{flalign}
$$

View File

@ -0,0 +1,43 @@
# Glossary
## Impedance (Z)
In [electrical engineering](https://en.wikipedia.org/wiki/Electrical_engineering "Electrical engineering"), **impedance** is the opposition to [alternating current](https://en.wikipedia.org/wiki/Alternating_current "Alternating current") presented by the combined effect of [resistance](https://en.wikipedia.org/wiki/Electrical_resistance "Electrical resistance") and [reactance](https://en.wikipedia.org/wiki/Electrical_reactance "Electrical reactance") in a [circuit](https://en.wikipedia.org/wiki/Electrical_circuit "Electrical circuit").
[[formulas#Impedance in a Circuit]]
## Voltage (V)
**Voltage**, **electric potential difference**, **electric pressure** or **electric tension** is the difference in [electric potential](https://en.wikipedia.org/wiki/Electric_potential "Electric potential") between two points.
## Resistance (R)
The **electrical resistance** of an object is a measure of its opposition to the flow of [electric current](https://en.wikipedia.org/wiki/Electric_current "Electric current").
## Capacitance (C)
**Capacitance** is the ability of a component or circuit to collect and store energy in the form of an electrical charge.
## Inductance (L)
**Inductance** is the tendency of an [electrical conductor](https://en.wikipedia.org/wiki/Electrical_conductor "Electrical conductor") to oppose a change in the [electric current](https://en.wikipedia.org/wiki/Electric_current "Electric current") flowing through it.
## Current (I)
How many electrons flow through a circuit in a second
## Polarity
Means if a component is symmetric or not
Polarised means that a component is not symmetric
## LED
Anode - The shorter Leg
Cathode - The longer Leg
## Diode
## Anode
The positive end of a diode
## Cathode
The negative end of a diode
## Conventional Current Flow
When electricity was discovered people thought the electrons flow from the positive terminal to the negative, in actuality they flow in the opposite direction, but it is still possible to calculate the flow with the old way.
## Reactive Components
A component is a **reactive component** when it resists to changes in current or voltage.

View File

@ -0,0 +1,75 @@
## Farad
Measures capacitance, the ability of a body to store an electrical charge.
1 Farad = the ability to store 1 couloumb
Term | Symbol | Weight
-----------|----|------
Picofarad | pW | $10^{-12}$
Nanofarad | nF | $10^{-9}$
Microfarad | $\micro$F | $10^{-6}$
Milifarad | mF | $10^{-3}$
Farad | F | $10^0$
Kilofarad | kF | $10^{3}$
## Couloumb
1 coulomb is the electric charge transported within one second through the cross-section of a conductor in which an electric current of the strength of 1 ampere flows.
## Henry
Measures electrical Inductance
$\displaystyle V(t)=L{\frac {dI}{dt}}$
## Volts
Measures electric potential
## Amperes
Measures electric current
## Ohms
Measures resistance
Term | Symbol | Weight
-----------|----|------
Nanoohm | n$\ohm$ | 10-9
Microohm | $\micro \ohm$ | $10^{-6}$
Milliohm | m$\ohm$ | $10^{-3}$
Ohm | $\ohm$ | $10^{0}$
Kiloohm | k$\ohm$ | $10^{3}$
Megaohm | M$\ohm$ | $10^{6}$
Gigaohm | G$\ohm$ | $10^{9}$
## Hertz
Measures frequency
Term | Symbol | Weight
----------|------- | -----
Hertz | Hz | $10^0$
Kilohertz | kHz | $10^{3}$
Megahertz | mHz | $10^6$
## Watt
Measures Power
$Power = V * I = \frac{V^{2}}{R} = I^{2}R$
Joules per Second
Term | Symbol | Weight
-----------|----|------
Nanowatt | nW | $10^{-9}$
Microwatt | $\micro$W | $10^{-6}$
Milliwatt | mW | $10^{-3}$
Watt | W | $10^{0}$
Kilowatt | kW | $10^{3}$
Megawatt | MW | $10^{6}$
Gigawatt | GW | $10^{9}$
**Examples:**
Device | Power
-------|----------
Arduino| 167mW
Laptop | 1.5W
House | 2.2kW

View File

@ -0,0 +1,31 @@
# Roadblocks
## ~~ Nested tmux sessions ~~
Adding this:
```config
RequestTTY true
RemoteCommand tmux new -A -s ssh
```
to the ssh config if the specific hosts will automatically start tmux when connected
If i ssh into a remote machine with tmux started as well I have some problems:
- ~~ Duplicate tmux bar ~~
- ~~ Shortcuts don't work in remote ~~
- This works by hitting the prefix key twice, e.g. ctrl-a-a
## ~~ Debian Gnome sometimes comma key doesn't work ~~
Has not happened in a while
## ~~ Neovim shortcut to comment out ~~
Fixed this by installing the NerdCommenter Plugin
## ~~ Neovim Auto fix problems shortcut + hover window ~~
## ~~ Better git merging in Neovim, like in VScode ~~
## ~~ Copying between neovim, tmux and ssh sessions does not work ~~
## Learn how to use splits and buffers in neovim
## Fix the dictionary for neovim ltex-ls

View File

@ -0,0 +1 @@
{}