summaryrefslogtreecommitdiff
path: root/Textbook_of_Engineering_Chemistry/dChapter_6.ipynb
diff options
context:
space:
mode:
authorroot2014-07-14 15:53:15 +0530
committerroot2014-07-14 15:53:15 +0530
commite7deb0183418e63da824955296b8bb3598ba359d (patch)
treefadbcd0f8cfd2d82b6b40903ae06bc381ede579e /Textbook_of_Engineering_Chemistry/dChapter_6.ipynb
parent5a3a66e158c99bbf7900278d8e7056136d628dbe (diff)
downloadPython-Textbook-Companions-e7deb0183418e63da824955296b8bb3598ba359d.tar.gz
Python-Textbook-Companions-e7deb0183418e63da824955296b8bb3598ba359d.tar.bz2
Python-Textbook-Companions-e7deb0183418e63da824955296b8bb3598ba359d.zip
adding book & removing unwanted files
Diffstat (limited to 'Textbook_of_Engineering_Chemistry/dChapter_6.ipynb')
-rwxr-xr-xTextbook_of_Engineering_Chemistry/dChapter_6.ipynb92
1 files changed, 92 insertions, 0 deletions
diff --git a/Textbook_of_Engineering_Chemistry/dChapter_6.ipynb b/Textbook_of_Engineering_Chemistry/dChapter_6.ipynb
new file mode 100755
index 00000000..7428ce43
--- /dev/null
+++ b/Textbook_of_Engineering_Chemistry/dChapter_6.ipynb
@@ -0,0 +1,92 @@
+{
+ "metadata": {
+ "name": ""
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 6:Lubricants"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example no:1,Page no:141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Variable declaration\n",
+ "d=760.0 #viscocity of Pennysylvanian oil in s at 37C#\n",
+ "a=528.0 #viscocity of lubricating oil in s at 37C#\n",
+ "c=480.0 #viscocity of Gulf oil in s at 37C#\n",
+ "\n",
+ "#Calculation\n",
+ "V=((d-a)/(d-c))*(100) #formula of viscocity index#\n",
+ "\n",
+ "#Result\n",
+ "print\"Viscocity index of the lubricating oil is \",round(V ,1)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Viscocity index of the lubricating oil is 82.9\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example no:2,Page no:144"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Variable declaration\n",
+ "s=0.86 #specific gravity of lubricating oil#\n",
+ "\n",
+ "#Calculation\n",
+ "A=(141.5/s)-131.5 #formula of API gravity#\n",
+ "\n",
+ "#Result\n",
+ "print\"The gravity of lubricating oil is \",round(A)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The gravity of lubricating oil is 33.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file