> For the complete documentation index, see [llms.txt](https://felienne.gitbook.io/codasium/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://felienne.gitbook.io/codasium/module-3.3-spreadsheets/les-2/les-2b.md).

# Les 2b

**Opdracht 1) Eenvoudige berekeningen**

Open [de data](https://www.dropbox.com/s/6f0xrn4knxb5lvz/earthquakes-kaggle-1000.xlsx?dl=0) weer in Excel.&#x20;

Maak formules voor deze vijf berekeningen:

1. Minimale magnitude van alle rijen Tip: gebruik de formule: MIN
2. Minimale diepte
3. Maximale magnitude
4. Gemiddelde magnitude Tip: gebruik de formule: GEMIDDELDE
5. Gemiddelde diepte

{% hint style="info" %}
Soms staat Excel in het Nederlands. Als dat bij jou zo is kun je de vertalingen van de formules [opzoeken](https://www.perfectxl.com/nl/over-spreadsheets/excel-verklarende-woordenlijst/wat-is-excel-functie/excel-functie-vertalingen-engels-nederlands/).
{% endhint %}

**Opdracht 2) Conditionele berekeningen**

Werk verder in het bestand dat je al hebt.

Bereken nu deze *conditionele* berekeningen. Zet de formules in de lijst formules, en de antwoorden in de lijst getallen.

Maak formules voor deze zes berekeningen:

1. Aantal Nuclear Explosions Tip: gebruik de formule AANTAL.ALS
2. Aantal met magnitude groter dan 7
3. Aantal earthquakes met magnitude groter dan 7 Tip:&#x20;

   Gebruik de formule AANTALLEN.ALS <-- kijk goed, het is AANTAL**LEN**
4. Gemiddelde magnitude van Nuclear Explosions Tip: gebruik de formule GEMIDDELDE.ALS
5. Gemiddelde latitude van Earthquakes
6. Gemiddelde longitude van Earthquakes

**Opdracht 3 Andere formules (X)**

Ga zelf op zoek naar formules die je zou kunnen gebruiken, reken er iets mee uit, en leg uit waarom of waarvoor je juist deze formule zou gebruiken. Je mag er zoveel verzinnen als je maar wilt.

Denk bijvoorbeeld aan:

* Welke diepte komt het vaakst voor?
* De hoogste magnitude in juli?
* Aardbevingen op jouw verjaardag?
* Aardbevingen in de kleine pauze (tussen half 11 en 11)?


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://felienne.gitbook.io/codasium/module-3.3-spreadsheets/les-2/les-2b.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
