summaryrefslogtreecommitdiff
path: root/Thermodynamics_by_Gaggioli_and_Obert/ch1.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2016-09-24 23:30:26 +0600
committerTrupti Kini2016-09-24 23:30:26 +0600
commita54f67e8de857b73ac3af2ada963f8349b03de5d (patch)
tree528499b6bb01b04790e649f92e5758bce6128d49 /Thermodynamics_by_Gaggioli_and_Obert/ch1.ipynb
parent75799451fd9bd83e4d9ba0981c5c55052d7cdff4 (diff)
downloadPython-Textbook-Companions-a54f67e8de857b73ac3af2ada963f8349b03de5d.tar.gz
Python-Textbook-Companions-a54f67e8de857b73ac3af2ada963f8349b03de5d.tar.bz2
Python-Textbook-Companions-a54f67e8de857b73ac3af2ada963f8349b03de5d.zip
Added(A)/Deleted(D) following books
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter10_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter11_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter12_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter13_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter14_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter15_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter16_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter2_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter3_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter4_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter5_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter6_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter7_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter8_1.ipynb A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/screenshots/2correlationCoeff_1.png A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/screenshots/2expansionofSignal_1.png A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/screenshots/2timeInvertedsignal_1.png A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter10_1.ipynb A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter11_1.ipynb A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter15_1.ipynb A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter1_1.ipynb A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter2_1.ipynb A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter3_1.ipynb A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter5_1.ipynb A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter6_1.ipynb A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter7_1.ipynb A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter8_1.ipynb A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter9_1.ipynb A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/screenshots/ctftch1.png A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/screenshots/fourierTransch1.png A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/screenshots/modulatedWaveChap3_1.png A Thermodynamics_by_Gaggioli_and_Obert/Ch18.ipynb A Thermodynamics_by_Gaggioli_and_Obert/Ch8.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch1.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch10.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch11.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch12.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch13.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch14.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch15.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch16.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch17.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch2.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch3.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch5.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch7.ipynb A Thermodynamics_by_Gaggioli_and_Obert/ch9.ipynb A Thermodynamics_by_Gaggioli_and_Obert/screenshots/changeInMoisture14.png A Thermodynamics_by_Gaggioli_and_Obert/screenshots/degreeOfSaturation14.png A Thermodynamics_by_Gaggioli_and_Obert/screenshots/humidityratio14.png
Diffstat (limited to 'Thermodynamics_by_Gaggioli_and_Obert/ch1.ipynb')
-rw-r--r--Thermodynamics_by_Gaggioli_and_Obert/ch1.ipynb227
1 files changed, 227 insertions, 0 deletions
diff --git a/Thermodynamics_by_Gaggioli_and_Obert/ch1.ipynb b/Thermodynamics_by_Gaggioli_and_Obert/ch1.ipynb
new file mode 100644
index 00000000..56ea81cb
--- /dev/null
+++ b/Thermodynamics_by_Gaggioli_and_Obert/ch1.ipynb
@@ -0,0 +1,227 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 1 Survey Of Units And Dimensions"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Ex:1.1 Pg: 19"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Force to accelerate = 3.108 lbf\n"
+ ]
+ }
+ ],
+ "source": [
+ "#Initialization of variables\n",
+ "gc=32.1739 #lbm ft/lbf s**2\n",
+ "m=10 #lbm\n",
+ "a=10 #ft/s**2\n",
+ "#calculations\n",
+ "F=m*a/gc\n",
+ "#results\n",
+ "print \"Force to accelerate = %.3f lbf\"%(F)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Ex:1.2 Pg: 19"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Force to accelerate = 10 lbf\n"
+ ]
+ }
+ ],
+ "source": [
+ "#Initialization of variables\n",
+ "gc=32.1739 #lbm ft/lbf s**2\n",
+ "m=10 #lbm\n",
+ "a=gc #ft/s**2\n",
+ "#calculations\n",
+ "F=m*a/gc\n",
+ "#results\n",
+ "print \"Force to accelerate = %d lbf\"%(F)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Ex:1.3 Pg: 19"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "velocity = 60 mph\n"
+ ]
+ }
+ ],
+ "source": [
+ "#Initialization of variables\n",
+ "v=88 #ft/s\n",
+ "#calculations\n",
+ "v2=v*3600/5280\n",
+ "#results\n",
+ "print \"velocity = %d mph\"%(v2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Ex:1.4 Pg: 20"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "velocity = 0 mph\n"
+ ]
+ }
+ ],
+ "source": [
+ "#Initialization of variables\n",
+ "v=88 #ft/s\n",
+ "#calculations\n",
+ "v2=v*1/5280*3600\n",
+ "#results\n",
+ "print \"velocity = %d mph\"%(v2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Ex:1.5 Pg: 20"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Force without dimensions = 5.79e-04 lbm/ft sec\n"
+ ]
+ }
+ ],
+ "source": [
+ "#Initialization of variables\n",
+ "F=5e-9 #lbf/ft**2 hr\n",
+ "g=32.1739\n",
+ "#calculations\n",
+ "F2=F*3600*g\n",
+ "#results\n",
+ "print \"Force without dimensions = %.2e lbm/ft sec\"%(F2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Ex:1.6 Pg: 21"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Density of water in this system = 1.937 lbf/ft**2\n",
+ "\n",
+ " Specific weight = 62.305 lbf/ft**2\n"
+ ]
+ }
+ ],
+ "source": [
+ "#Initialization of variables\n",
+ "rho=62.305 #lbf/ft**2\n",
+ "g=32.1739 #ft/s**2\n",
+ "#calculations\n",
+ "gam=rho/g\n",
+ "#results\n",
+ "print \"Density of water in this system = %.3f lbf/ft**2\"%(gam)\n",
+ "print \"\\n Specific weight = %.3f lbf/ft**2\"%(rho)"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}