Skip to content

Commit

Permalink
fehler
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjung92 committed May 8, 2017
1 parent b1ce796 commit e50405b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 22 deletions.
33 changes: 17 additions & 16 deletions .ipynb_checkpoints/Fehlerfortpflanzung-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 27,
"metadata": {
"collapsed": false
},
Expand All @@ -14,32 +14,32 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 28,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"R = sp.symbols('R') #Variablennamen einsetzen 'd' ist reserviert\n",
"variablen = [R]\n",
"variablen_werte = [45]\n",
"fehler_werte = [30.5]"
"h,r,T = sp.symbols('h r T') #Variablennamen einsetzen 'd' ist reserviert\n",
"variablen = [h,r,T]\n",
"variablen_werte = [2.8, 3.4, 4.2]\n",
"fehler_werte = [0.3,0.2,0.1]"
]
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 29,
"metadata": {
"collapsed": true
"collapsed": false
},
"outputs": [],
"source": [
"funktion = ("
"funktion = (h*r**2*sp.sqrt(T))"
]
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 30,
"metadata": {
"collapsed": false
},
Expand All @@ -62,7 +62,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 31,
"metadata": {
"collapsed": true
},
Expand All @@ -75,7 +75,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 32,
"metadata": {
"collapsed": false
},
Expand Down Expand Up @@ -121,7 +121,7 @@
{
"data": {
"text/latex": [
"$$r=4.2\\pm0.2$$"
"$$r=3.4\\pm0.2$$"
],
"text/plain": [
"<IPython.core.display.Math object>"
Expand All @@ -133,7 +133,7 @@
{
"data": {
"text/latex": [
"$$T=2.4\\pm0.1$$"
"$$T=4.2\\pm0.1$$"
],
"text/plain": [
"<IPython.core.display.Math object>"
Expand Down Expand Up @@ -183,7 +183,7 @@
{
"data": {
"text/latex": [
"$$f= 76.52 \\pm 11.08$$"
"$$f= 66.33 \\pm 10.58$$"
],
"text/plain": [
"<IPython.core.display.Math object>"
Expand All @@ -195,7 +195,7 @@
{
"data": {
"text/latex": [
"$$f= 76.52 \\pm 14.5 \\%$$"
"$$f= 66.33 \\pm 16.0 \\%$$"
],
"text/plain": [
"<IPython.core.display.Math object>"
Expand All @@ -208,6 +208,7 @@
"source": [
"print('Funktion:')\n",
"display(Math('f='+sp.latex(funktion)))\n",
"\n",
"print('Messwerte:')\n",
"for i in range(len(variablen)):\n",
" display(Math(str(variablen[i])+'='+str(variablen_werte[i])+'\\pm'+\n",
Expand Down
12 changes: 6 additions & 6 deletions Fehlerfortpflanzung.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 1,
"metadata": {
"collapsed": false
},
Expand All @@ -14,7 +14,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 2,
"metadata": {
"collapsed": false
},
Expand All @@ -28,7 +28,7 @@
},
{
"cell_type": "code",
"execution_count": 29,
"execution_count": 3,
"metadata": {
"collapsed": false
},
Expand All @@ -39,7 +39,7 @@
},
{
"cell_type": "code",
"execution_count": 30,
"execution_count": 4,
"metadata": {
"collapsed": false
},
Expand All @@ -62,7 +62,7 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 5,
"metadata": {
"collapsed": true
},
Expand All @@ -75,7 +75,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 6,
"metadata": {
"collapsed": false
},
Expand Down

0 comments on commit e50405b

Please sign in to comment.