diff options
author | Trupti Kini | 2016-02-23 23:30:06 +0600 |
---|---|---|
committer | Trupti Kini | 2016-02-23 23:30:06 +0600 |
commit | b2a89c36eff3882f8a6c4ac8ba7ccfb1e9f0dfb5 (patch) | |
tree | 0cdc401b6e3026ec8d67b4cd4200242a9b3b0c45 /sample_notebooks/sai kiranmalepati | |
parent | c9798a3caf88de3b5840887c664f8c58dab34d18 (diff) | |
download | Python-Textbook-Companions-b2a89c36eff3882f8a6c4ac8ba7ccfb1e9f0dfb5.tar.gz Python-Textbook-Companions-b2a89c36eff3882f8a6c4ac8ba7ccfb1e9f0dfb5.tar.bz2 Python-Textbook-Companions-b2a89c36eff3882f8a6c4ac8ba7ccfb1e9f0dfb5.zip |
Added(A)/Deleted(D) following books
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER01.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER02.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER03.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER04.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER05.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER07.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER08.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER09.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER10.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER11.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER12.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER14.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER16.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER18.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./CHAPTER19.ipynb
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./screenshots/Screenshot02.png
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./screenshots/Screenshot04.png
A Fundamentals_Of_Aerodynamics_by_J._D._Anderson_Jr./screenshots/Screenshot08.png
A Fundamentals_Of_Electronic_Devices_by_P._Raja,_Pragati_Sharma/chapter_1.ipynb
A Fundamentals_Of_Electronic_Devices_by_P._Raja,_Pragati_Sharma/chapter_2.ipynb
A Fundamentals_Of_Electronic_Devices_by_P._Raja,_Pragati_Sharma/chapter_3.ipynb
A Fundamentals_Of_Electronic_Devices_by_P._Raja,_Pragati_Sharma/chapter_4.ipynb
A Fundamentals_Of_Electronic_Devices_by_P._Raja,_Pragati_Sharma/chapter_5.ipynb
A Fundamentals_Of_Electronic_Devices_by_P._Raja,_Pragati_Sharma/chapter_6.ipynb
A Fundamentals_Of_Electronic_Devices_by_P._Raja,_Pragati_Sharma/chapter_7.ipynb
A Fundamentals_Of_Electronic_Devices_by_P._Raja,_Pragati_Sharma/chapter_8.ipynb
A Fundamentals_Of_Electronic_Devices_by_P._Raja,_Pragati_Sharma/screenshots/t6.png
A Fundamentals_Of_Electronic_Devices_by_P._Raja,_Pragati_Sharma/screenshots/t7.png
A Fundamentals_Of_Electronic_Devices_by_P._Raja,_Pragati_Sharma/screenshots/t8.png
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/Chapter9_6.ipynb
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter1_6.ipynb
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter2_6.ipynb
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter3_6.ipynb
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter4_6.ipynb
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter6_6.ipynb
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter7_6.ipynb
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter8_6.ipynb
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter_5_6.ipynb
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/screenshots/1.2_1.png
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/screenshots/3.7_1.png
A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/screenshots/6.7_1.png
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/Chapter11_4.ipynb
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/Chapter12_4.ipynb
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/Chapter14_4.ipynb
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/Chapter1_4.ipynb
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/Chapter2_4.ipynb
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/Chapter4_4.ipynb
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/Chapter5_4.ipynb
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/Chapter6_4.ipynb
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/Chapter7_4.ipynb
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/Chapter9_4.ipynb
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/screenshots/11.1new_3.png
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/screenshots/5.1new_3.png
A Modern_Electronic_Instrumentation_And_Measurement_Techniques_by_A._D._Helfrick_And_W._D._Cooper/screenshots/5.4new_2.png
A Textbook_on_Optical_Fiber_Communication_and_Its_Applications_by_S._C._Gupta/Chapter2.ipynb
A Textbook_on_Optical_Fiber_Communication_and_Its_Applications_by_S._C._Gupta/Chapter3.ipynb
A Textbook_on_Optical_Fiber_Communication_and_Its_Applications_by_S._C._Gupta/Chapter4.ipynb
A Textbook_on_Optical_Fiber_Communication_and_Its_Applications_by_S._C._Gupta/Chapter5.ipynb
A Textbook_on_Optical_Fiber_Communication_and_Its_Applications_by_S._C._Gupta/Chapter6.ipynb
A Textbook_on_Optical_Fiber_Communication_and_Its_Applications_by_S._C._Gupta/Chapter7.ipynb
A Textbook_on_Optical_Fiber_Communication_and_Its_Applications_by_S._C._Gupta/Chapter8.ipynb
A Textbook_on_Optical_Fiber_Communication_and_Its_Applications_by_S._C._Gupta/screenshots/Potential_Difference.png
A Textbook_on_Optical_Fiber_Communication_and_Its_Applications_by_S._C._Gupta/screenshots/Threshold_power.png
A Textbook_on_Optical_Fiber_Communication_and_Its_Applications_by_S._C._Gupta/screenshots/Various_Angles_and_aperture.png
A "sample_notebooks/DaudIbrahir Saifi/Chapter_07.ipynb"
A sample_notebooks/MohdGufran/chapter_10_1.ipynb
A sample_notebooks/ebbygeorge/Chapter01_1.ipynb
A "sample_notebooks/sai kiranmalepati/Samplenb.ipynb"
Diffstat (limited to 'sample_notebooks/sai kiranmalepati')
-rw-r--r-- | sample_notebooks/sai kiranmalepati/Samplenb.ipynb | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/sample_notebooks/sai kiranmalepati/Samplenb.ipynb b/sample_notebooks/sai kiranmalepati/Samplenb.ipynb new file mode 100644 index 00000000..1e3cfad6 --- /dev/null +++ b/sample_notebooks/sai kiranmalepati/Samplenb.ipynb @@ -0,0 +1,158 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "#Chapter-1, Section-1.22, pg-24, problem 1\n", + "\n", + "L=20; #True length of the chain is defined as L\n", + "print(' the length of the chain is ',L,'meters'); #Print L\n", + "\n", + "E=0.03; # Error in chain\n", + "print(' the error in the chain is ',E); # Print E\n", + "\n", + "ML=327; # Measured length is defined as ML\n", + "print(' the measured length ',ML,'meters'); #print ML\n", + "\n", + "tlength=((L+E)/L)*ML; #True length of L calculated\n", + "print(' the ture length of the chain is ',tlength,'meters') # Print true length.\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "# Chapter-1, Section-1.23, pg 39, Problem- 4\n", + "\n", + "import math # Library imported.\n", + "\n", + "ab=28.7*math.cos(5*(math.pi/180)); #AB calculated using trigonometry\n", + "b1c=23.4*math.cos(7*(math.pi/180)); #B'C calculated\n", + "c1d=20.9*math.cos(10*(math.pi/180)); # C'D calculated\n", + "d1e=29.6*math.cos(12*(math.pi/180)) ; # D'E calculated\n", + "print(' the value of ab is ',ab,'meters'); #AB printed\n", + "\n", + "print(' the value of b1c is ',b1c,'meters'); #B'C printed\n", + "\n", + "print(' the value of c1d is ',c1d,'meters'); #C'D printed\n", + "\n", + "print(' the value of d1e is ',d1e,'meters'); #D'E printed\n", + "\n", + "\n", + "total=ab+b1c+c1d+d1e; #total calculated.\n", + "print('the total distance is ',total,'meters') #total printed\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "# Chapter 1, Section 1.22, Problem 6, pg 27.\n", + "\n", + "L=30; # Length of tape\n", + "t0=20; # Temperature of tape\n", + "p0=10; # Pull under which tape is present\n", + "pm=15; # Measured line pull\n", + "tm=32; # Mean temperature.\n", + "a=0.03; # Cross-sectional area\n", + "al=11/(1000000); # Temperature correction co-efficient\n", + "E=2.1*(1000000); # E for steel\n", + "w=0.693; #Total weight\n", + "ml=780; #measured length\n", + "\n", + "n=1; #n defined\n", + "print(' for n=1'); #print n value\n", + "ct=al*L*(tm-t0); # temperature correction calculated\n", + "print('the temperature correction is',ct,'meters'); # print temperature correction\n", + "\n", + "cp=(pm-p0)*L/(a*E); #pull correction calculated\n", + "print('the pull corretion is ',cp,' meters'); #print pull correction\n", + "\n", + "cs=-L*w*w/(24*pm*pm*n*n); #sag correction calculated\n", + "print('the sag correction is ',cs,'meters'); # print sag correction\n", + "\n", + "e=ct+cp+cs; #total correction calculated\n", + "print('the total correction is ',e,'meters'); # total correction printed\n", + "\n", + "l1=L+e; # correction in length =sum of correction and measured length \n", + "\n", + "truelength=(l1/L)*ml; #true length calculated\n", + "print('the true length is ',truelength); #true length printed\n", + "\n", + "n=2; #new n defined\n", + "\n", + "print(' for n=2'); # print n value\n", + "ct=al*L*(tm-t0); # temperature correction calculated\n", + "print('the temperature correction is',ct,'meters'); # print temperature correction\n", + "\n", + "\n", + "cp=(pm-p0)*L/(a*E); #pull correction calculated\n", + "print('the pull corretion is ',cp,' meters'); #print pull correction\n", + "\n", + "cs=-L*w*w/(24*pm*pm*n*n); #sag correction calculated\n", + "print('the sag correction is ',cs,'meters'); #print sag correction\n", + "\n", + "e=ct+cp+cs; #total correction calculated\n", + "print('the total correction is ',e,'meters'); # total correction printed\n", + "\n", + "l1=L+e; #correction in length =sum of correction and measured length \n", + "\n", + "truelength=(l1/L)*ml; #true length calculated\n", + "print('the true length is ',truelength); #true length printed\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "# Chapter-2, Section-2.4, Problem 2, Page number 56\n", + "\n", + "import math #Library to be used is imported\n", + "\n", + "cd=(15-15*math.cos(3*(math.pi/180)))/10; #displacement perpendicular to chain line.\n", + "\n", + "print('the required displacement perpendicular to char line is ',cd); #Print cd\n", + "bc=15*(math.sin(3*(math.pi/180)))/10; #displacement parallel to chain line.\n", + "print('the displacemenet parllel to the chain line is ',bc) #print bc" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "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.5.1" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} |