Molto lavoro per negare il modello, ora si inizia con LaTeX perché altrimenti non finiamo
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
"## Valori statici (calibro)\n",
|
||||
"N = 10\n",
|
||||
"\n",
|
||||
"A = 23.97 +- 0.16 "
|
||||
"A = 23.98765 ± 0.18498"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -19,7 +19,7 @@
|
||||
"## Valori statici (sonar)\n",
|
||||
"N = 6\n",
|
||||
"\n",
|
||||
"A = 23.46 +- 0.23\n"
|
||||
"A = 23.41058 ± 0.22237"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -30,12 +30,12 @@
|
||||
"## Valori dinamici (sonar)\n",
|
||||
"N = 4\n",
|
||||
"\n",
|
||||
"K nostro: 24.35 +- 0.25\n"
|
||||
"KC= 24.3546921 ± 0.03539\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"execution_count": 1,
|
||||
"id": "b349ba73",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -46,7 +46,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"execution_count": 2,
|
||||
"id": "a68eb302",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -54,22 +54,22 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"t = 1.751\n",
|
||||
"p-value (two-tailed) = 10.1827 %\n"
|
||||
"t = 1.951\n",
|
||||
"p-value (two-tailed) = 7.1395 %\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# Valori statici (calibro)\n",
|
||||
"Nd = 10\n",
|
||||
"Ad = 23.97\n",
|
||||
"uAd = 0.16 * 3\n",
|
||||
"Ad = 24.00\n",
|
||||
"uAd = 0.18 * 3\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"#Valori statici (sonar)\n",
|
||||
"Ns = 6\n",
|
||||
"As = 23.46\n",
|
||||
"uAs = 0.23 * 3\n",
|
||||
"As = 23.41\n",
|
||||
"uAs = 0.22 * 3\n",
|
||||
"\n",
|
||||
"#Nomi coerenti con Cannelli\n",
|
||||
"GdL = Nd + Ns - 2\n",
|
||||
@@ -88,7 +88,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"execution_count": 6,
|
||||
"id": "2746d086",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -96,21 +96,21 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"t = -1.147\n",
|
||||
"p-value (two-tailed) = 27.3612 %\n"
|
||||
"t = -0.972\n",
|
||||
"p-value (two-tailed) = 35.0452 %\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# Valori statici (calibro)\n",
|
||||
"Nd = 10\n",
|
||||
"Ad = 23.97\n",
|
||||
"uAd = 0.16 * 3\n",
|
||||
"Ad = 24.00\n",
|
||||
"uAd = 0.18 *3\n",
|
||||
"\n",
|
||||
"#Valori dinamici (sonar)\n",
|
||||
"Ns = 4\n",
|
||||
"As = 24.35\n",
|
||||
"uAs = 0.25 * 3\n",
|
||||
"uAs = 0.26 *3\n",
|
||||
"\n",
|
||||
"#Nomi coerenti con Cannelli\n",
|
||||
"GdL = Nd + Ns - 2\n",
|
||||
@@ -129,7 +129,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 13,
|
||||
"execution_count": 4,
|
||||
"id": "be0c6cc6",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -137,21 +137,21 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"t = -1.934\n",
|
||||
"p-value (two-tailed) = 8.9234 %\n"
|
||||
"t = -2.775\n",
|
||||
"p-value (two-tailed) = 2.4092 %\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# Valori statici (sonar)\n",
|
||||
"Nd = 6\n",
|
||||
"Ad = 23.46\n",
|
||||
"uAd = 0.23 * 3\n",
|
||||
"Ad = 23.41\n",
|
||||
"uAd = 0.22 * 3\n",
|
||||
"\n",
|
||||
"#Valori dinamici (sonar)\n",
|
||||
"Ns = 4\n",
|
||||
"As = 24.35\n",
|
||||
"uAs = 0.25 * 3\n",
|
||||
"uAs = 0.03 * 3\n",
|
||||
"\n",
|
||||
"#Nomi coerenti con Cannelli\n",
|
||||
"GdL = Nd + Ns - 2\n",
|
||||
|
||||
@@ -2,29 +2,25 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "ba4e56bc",
|
||||
"id": "3b66972b",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"## Valori dinamici\n",
|
||||
"N = 10\n",
|
||||
"# Molla statica 1 Calibro\n",
|
||||
"Ac = 3.20021 ± 0.00923\n",
|
||||
"\n",
|
||||
"A = 3.21951 +- 0.00470 "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "aaf30c1f",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"## Valori statici\n",
|
||||
"N = 6\n",
|
||||
"# Molla statica 1 Sonar\n",
|
||||
"Ac = 3.21962 ± 0.00633\n",
|
||||
"\n",
|
||||
"A = 3.2002 +- 0.0092\n"
|
||||
"# Molla dinamica 1 Sonar\n",
|
||||
"KdC = 3.2792872 ± 0.00924\n",
|
||||
"\n",
|
||||
"# Molla dinamica 1 Cronometro\n",
|
||||
"KdtC = 3.66092 ± 0.10078\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"execution_count": 2,
|
||||
"id": "b349ba73",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -35,7 +31,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"execution_count": 3,
|
||||
"id": "a68eb302",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -43,21 +39,103 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"t = 5.774\n",
|
||||
"p-value (two-tailed) = 0.0048 %\n"
|
||||
"t = 3.807\n",
|
||||
"p-value (two-tailed) = 0.1924 %\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# Valori dimanici (sonar)\n",
|
||||
"# Valori statici (sonar)\n",
|
||||
"Nd = 10\n",
|
||||
"Ad = 3.220\n",
|
||||
"uAd = 0.005\n",
|
||||
"Ad = 3.220\n",
|
||||
"uAd = 0.006\n",
|
||||
"\n",
|
||||
"#Valori statici (calibro)\n",
|
||||
"Ns = 6\n",
|
||||
"As = 3.200\n",
|
||||
"uAs = 0.009\n",
|
||||
"uAs = 0.015\n",
|
||||
"\n",
|
||||
"#Nomi coerenti con Cannelli\n",
|
||||
"GdL = Nd + Ns - 2\n",
|
||||
"\n",
|
||||
"s2 = ( (Nd - 1) * uAd**2 + (Ns - 1) * uAs**2 ) / GdL\n",
|
||||
"\n",
|
||||
"sigma2 = ( s2 / Nd ) + ( s2 / Ns )\n",
|
||||
"\n",
|
||||
"t = ( Ad - As ) / np.sqrt( sigma2 )\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"p_value = 2 * (1 - student_t.cdf(abs(t), df=GdL))\n",
|
||||
"print(f\"t = {t:.3f}\")\n",
|
||||
"print(f\"p-value (two-tailed) = {p_value * 100:.4f} %\")\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"id": "459b7f56",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"t = -5.278\n",
|
||||
"p-value (two-tailed) = 0.0117 %\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# Valori statici (sonar)\n",
|
||||
"Nd = 10\n",
|
||||
"Ad = 3.220\n",
|
||||
"uAd = 0.006 * 3\n",
|
||||
"\n",
|
||||
"#Valori dinamici (sonar)\n",
|
||||
"Ns = 6\n",
|
||||
"As = 3.279\n",
|
||||
"uAs = 0.009 * 3\n",
|
||||
"\n",
|
||||
"#Nomi coerenti con Cannelli\n",
|
||||
"GdL = Nd + Ns - 2\n",
|
||||
"\n",
|
||||
"s2 = ( (Nd - 1) * uAd**2 + (Ns - 1) * uAs**2 ) / GdL\n",
|
||||
"\n",
|
||||
"sigma2 = ( s2 / Nd ) + ( s2 / Ns )\n",
|
||||
"\n",
|
||||
"t = ( Ad - As ) / np.sqrt( sigma2 )\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"p_value = 2 * (1 - student_t.cdf(abs(t), df=GdL))\n",
|
||||
"print(f\"t = {t:.3f}\")\n",
|
||||
"print(f\"p-value (two-tailed) = {p_value * 100:.4f} %\")\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"id": "5d82905f",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"t = 0.701\n",
|
||||
"p-value (two-tailed) = 49.4616 %\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# Valori dinamici (sonar)\n",
|
||||
"Nd = 10\n",
|
||||
"Ad = 3.279\n",
|
||||
"uAd = 0.09 *3\n",
|
||||
"\n",
|
||||
"#Valori statici (calibro)\n",
|
||||
"Ns = 6\n",
|
||||
"As = 3.200\n",
|
||||
"uAs = 0.015 * 3\n",
|
||||
"\n",
|
||||
"#Nomi coerenti con Cannelli\n",
|
||||
"GdL = Nd + Ns - 2\n",
|
||||
|
||||
Reference in New Issue
Block a user