Silaev/auto/3.3.5/335kCu.ipynb

81 lines
16 KiB
Plaintext
Raw Normal View History

2022-10-22 15:03:41 +03:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 5,
"id": "869ef02c",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"1.29\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYIAAAEGCAYAAABo25JHAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAqSElEQVR4nO3dd3yVhdn/8c9FCBAIQ1bYe08hCK4quMBRGcXHVeosta0+7dOWn4LUhQNLfVqtg1prrU9taW1DVESoynIriJgwAmETBGQTCGRdvz/OwUZMQhJyRs75vl+v8+Lc49zny53kXOeel7k7IiISv2pFOoCIiESWCoGISJxTIRARiXMqBCIicU6FQEQkztWOdIDKat68uXfq1KlKrz18+DANGjSo3kDVIFpzQfRmU67KUa7KicVcy5Yt2+3uLUqd6O416pGamupVtXDhwiq/NpSiNZd79GZTrspRrsqJxVzAUi/jc1W7hkRE4pwKgYhInFMhEBGJcyoEIiJxToVARCTOqRCIiES59OU5nDN9ARk5Bzhn+gLSl+dU6/Jr3HUEIiLxJH15DpPTMsgrKIL2kLM/j8lpGQCMGdS2Wt5DWwQiIlFsxvysQBEoIa+giBnzs6rtPUJWCMzseTPbZWaZZUy/3sw+Dz7eN7OBocoiIlJTbd+fV6nxVRHKLYIXgFHlTN8InO/uA4BpwLMhzCIiUiO1aZJUqfFVEbJC4O5LgL3lTH/f3fcFBz8E2oUqi4hITTVpZE+SEhO+Ni4pMYFJI3tW23uYh7BVpZl1Aua4e7+TzPcLoJe731rG9InARICUlJTUWbNmVSlPbm4uycnJVXptKEVrLojebMpVOcpVOdGWa8ehfF7Oymdws2KaJxkpjevRJCmxUssYMWLEMncfUurEsm5CVB0PoBO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4VhhMb+4pAcTz+tKndq1Ih0t5ugkWxGJOmuDzWKWbd7H2V2b8dDY/nRu3iDSsWKWCoGIRI2jBUU8uSCb3y9ZT3Ld2jx21UDGDW6rg8EhpkIgIlHhvezd3D07g017jjBucFumXt6Hpg3qRDpWXFAhEJGI2ns4nwdfX0Xapzl0alafl24dxjndmkc6VlxRIRCRiHB33s0p4H+WLOLQ0UJuH9GN2y/opmYxEaBCICJht3H3YaamZ/Bedj6pHU/jkXH96ZHSMNKx4pYKgYiETX5hMb9fvJ7fLcymbu1afK9PHe777llqFhNhKgQiEhZLN+1lcloG63blcnn/1tz77T6s+vRDFYEooEIgIiF1IK+AR+et4a8fbaFtkySev3EIF/QKNItZFeFsEqBCICIh4e68nvEF97+2ij25x7j13M78z8VqFhONdK22iFS7bfuOcPMLn3D7X5eT0qgur/z4XKZe0eerIpC+PIdzpi8gI+cA50xfQPrynAgnjm8qzSJSbQqLivnTe5v43zfXYgZTL+/NjWd3onbCf75zpi/PYXJaBnkFRdA+0GFscloGAGMGtY1U9LimQiAi1SJj2wHuSvucldsPcmGvljwwph9tmyR9Y74Z87MCRaCEvIIiZszPUiGIEBUCETklh48V8ti/1/LC+xtpnlyXp68fzKX9WpV5f6Dt+/MqNV5CT4VARKrsrVU7ueeVTL44eJTrh3Xg/43qRaN65TeLadMkiZxSPvTblLL1IOGhg8UiUmk7Dx7lh39Zxq0vLqVhvUT+edvZPDim/0mLAMCkkT1JOuE2EkmJCUwa2TNUceUktEUgIhVWXOy89NFmfjUvi/yiYiaN7Mn3v9WlUs1ijh8HmDE/CzhE2yZJTBrZU8cHIkiFQEQqZM2Og0xOy2D5lv2c2605D47pR6cqNosZM6gtYwa1ZdGiRdxx/fDqDSqVpkIgIuU6WlDEE2+v49klG2iUlMhvrh7
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"\n",
"k = [0.15, 0.45, 0.675, 0.9, 1.215]\n",
"I = [0.2, 0.4, 0.6, 0.8, 1]\n",
"\n",
"a, b = np.polyfit(I, k, deg = 1)\n",
"\n",
"klin = []\n",
"for i in range(5):\n",
" klin.append(a * I[i] + b)\n",
"\n",
"plt.grid()\n",
"plt.scatter(I, k)\n",
"plt.plot(I, klin)\n",
"plt.xlabel('I, А')\n",
"plt.ylabel('k, 10^-6 В/Тл')\n",
"print(a)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "3f137f1d",
"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.9.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
}