This commit is contained in:
Глеб Луговцов 2024-03-24 10:58:49 +03:00
parent edab697b50
commit 39cb2e40bf
2 changed files with 130 additions and 0 deletions

View File

@ -0,0 +1,30 @@
0.0,278.5
0.07,276.4
0.09,273.0
0.12,271.3
0.15,268.0
0.16,265.0
0.17,262.8
0.2,260.2
0.23,256.6
0.24,253.6
0.25,251.4
0.27,248.5
0.28,245.9
0.3,243.0
0.33,240.7
0.35,237.7
0.36,235.5
0.37,232.4
0.38,227.8
0.41,224.5
0.42,222.0
0.44,219.3
0.45,217.3
0.46,215.2
0.48,213.6
0.5,211.8
0.52,208.6
0.54,206.0
0.55,203.5
0.56,200.7
1 0.0 278.5
2 0.07 276.4
3 0.09 273.0
4 0.12 271.3
5 0.15 268.0
6 0.16 265.0
7 0.17 262.8
8 0.2 260.2
9 0.23 256.6
10 0.24 253.6
11 0.25 251.4
12 0.27 248.5
13 0.28 245.9
14 0.3 243.0
15 0.33 240.7
16 0.35 237.7
17 0.36 235.5
18 0.37 232.4
19 0.38 227.8
20 0.41 224.5
21 0.42 222.0
22 0.44 219.3
23 0.45 217.3
24 0.46 215.2
25 0.48 213.6
26 0.5 211.8
27 0.52 208.6
28 0.54 206.0
29 0.55 203.5
30 0.56 200.7

View File

@ -0,0 +1,100 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "f3d63f3c-fd2c-45c8-88d6-634885aa687a",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"print(f\"{u[-1]},{r[-1]}\")\n",
"for _ in range(10):\n",
" u.append(float(input()))\n",
" r.append(float(input()))"
]
},
{
"cell_type": "code",
"execution_count": 20,
"id": "8bca9ef2-d285-4919-9690-e0275c736d5b",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.0,278.5\n",
"0.07,276.4\n",
"0.09,273.0\n",
"0.12,271.3\n",
"0.15,268.0\n",
"0.16,265.0\n",
"0.17,262.8\n",
"0.2,260.2\n",
"0.23,256.6\n",
"0.24,253.6\n",
"0.25,251.4\n",
"0.27,248.5\n",
"0.28,245.9\n",
"0.3,243.0\n",
"0.33,240.7\n",
"0.35,237.7\n",
"0.36,235.5\n",
"0.37,232.4\n",
"0.38,227.8\n",
"0.41,224.5\n",
"0.42,222.0\n",
"0.44,219.3\n",
"0.45,217.3\n",
"0.46,215.2\n",
"0.48,213.6\n",
"0.5,211.8\n",
"0.52,208.6\n",
"0.54,206.0\n",
"0.55,203.5\n",
"0.56,200.7\n"
]
}
],
"source": [
"with open(\"data.csv\", \"w\") as f:\n",
" for i in range(len(u)):\n",
" f.write(f\"{u[i]},{r[i]}\\n\")\n",
" print(f\"{u[i]},{r[i]}\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "d76a5336-85dc-43d4-a453-a9868f5b214f",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
}