Lab Journal comment

parent f2175e35
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Logbook – Week 2\n",
"\n",
"This week, I used Jupyter and completed excersises 2.1, 2.2 and 2.3.\n",
"I estimated π, did simple stats like mean and standard deviation, and made a sequence plot and histogram. \n",
"The goal is to learn to keep code/tasks and notes in one place. \n"
]
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 6,
"metadata": {},
"outputs": [
{
......@@ -32,7 +43,7 @@
"min_val = np.min(data)\n",
"max_val = np.max(data)\n",
"median_val = np.median(data)\n",
"std_val = np.std(data, ddof=1) # Important: ddof=1 for corrected estimate\n",
"std_val = np.std(data, ddof=1) \n",
"\n",
"print(\"Mean:\", round(mean_val, 2))\n",
"print(\"Min:\", round(min_val, 2))\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment