From 6279fa19ac6e2a4087df2e6fe985430ecc2c2d5d Mon Sep 17 00:00:00 2001 From: kinitrupti Date: Fri, 12 May 2017 18:53:46 +0530 Subject: Removed duplicates --- sample_notebooks/SumedhKadam/Chapter_1.ipynb | 117 +++++++++++++++++++++ .../SumedhKadam/Chapter_1_General.ipynb | 117 --------------------- 2 files changed, 117 insertions(+), 117 deletions(-) create mode 100644 sample_notebooks/SumedhKadam/Chapter_1.ipynb delete mode 100644 sample_notebooks/SumedhKadam/Chapter_1_General.ipynb (limited to 'sample_notebooks/SumedhKadam') diff --git a/sample_notebooks/SumedhKadam/Chapter_1.ipynb b/sample_notebooks/SumedhKadam/Chapter_1.ipynb new file mode 100644 index 00000000..62d27f1f --- /dev/null +++ b/sample_notebooks/SumedhKadam/Chapter_1.ipynb @@ -0,0 +1,117 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Chapter 1 General Principles" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Ex 1.1 Page No 10 " + ] + }, + { + "cell_type": "code", + "execution_count": 27, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Part(a)\n", + "(10 mN)(5 GN) = 50 kilo Newton square\n", + "\n", + "Part(b)\n", + "(100 mm)(0.5 MN square) = 25 Gigameter Newton square\n", + "\n", + "Part(c)\n", + "(50 MN cube)(500 Gg) = 100 Kilo Newton cube per kg\n" + ] + } + ], + "source": [ + "# Example Number 1.1\n", + "\n", + "# Part(a)\n", + "# Variable Declaration\n", + "a = 10 # [micro Newton(mN)]\n", + "b = 5 # [Giga Newton(GN)]\n", + "\n", + "# Calculation\n", + "# We have to find c = a * b\n", + "c = 10*5 # [micro Newton(mN)*Giga Newton(GN)]\n", + "c = (10*10**(-3))*(5*10**(9)) # [N**(2)]\n", + "c = (10*10**(-3))*(5*10**(9))*10**(-6) #[kN**(2)]\n", + "\n", + "#Result\n", + "print\"Part(a)\"\n", + "print \"(10 mN)(5 GN) = \",int(c),\"kilo Newton square\\n\"\n", + "\n", + "# Part(b)\n", + "# Variable Declaration\n", + "a = 100 #[millimeter(mm)]\n", + "b = 0.5**(2) #[mega Newton square(MN**(2))]\n", + "\n", + "# Calculation\n", + "# We have to find c = a * b\n", + "c = (100*10**(-3))*(0.25*10**(12)) #[m.N**(2)]\n", + "c = (100*10**(-3))*(0.25*10**(12))*10**(-9) #[Gm.N**(2)]\n", + "\n", + "#Result\n", + "print\"Part(b)\"\n", + "print \"(100 mm)(0.5 MN square) = \",int(c),\"Gigameter Newton square\\n\"\n", + "\n", + "# Part(c) (Correction in the question (50 MN cube)(500 Gg))\n", + "# Variable Declaration\n", + "a = 50 #[mega newton cube((MN)**(3))]\n", + "b = 500 #[gigagram(Gg)]\n", + "\n", + "# Calculation\n", + "# We have to find c = a / b\n", + "c = 50*(10**(6))**3 / 500*10**(6) #[N**(3)/kg]\n", + "c = (50*((10**(6))**3) / (500*10**(6)))*10**(-9) #[kN**(3)/kg]\n", + "\n", + "#Result\n", + "print\"Part(c)\"\n", + "print \"(50 MN cube)(500 Gg) = \",int(c),\"Kilo Newton cube per kg\"\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [] + } + ], + "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.12" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/sample_notebooks/SumedhKadam/Chapter_1_General.ipynb b/sample_notebooks/SumedhKadam/Chapter_1_General.ipynb deleted file mode 100644 index 62d27f1f..00000000 --- a/sample_notebooks/SumedhKadam/Chapter_1_General.ipynb +++ /dev/null @@ -1,117 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Chapter 1 General Principles" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Ex 1.1 Page No 10 " - ] - }, - { - "cell_type": "code", - "execution_count": 27, - "metadata": { - "collapsed": false - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Part(a)\n", - "(10 mN)(5 GN) = 50 kilo Newton square\n", - "\n", - "Part(b)\n", - "(100 mm)(0.5 MN square) = 25 Gigameter Newton square\n", - "\n", - "Part(c)\n", - "(50 MN cube)(500 Gg) = 100 Kilo Newton cube per kg\n" - ] - } - ], - "source": [ - "# Example Number 1.1\n", - "\n", - "# Part(a)\n", - "# Variable Declaration\n", - "a = 10 # [micro Newton(mN)]\n", - "b = 5 # [Giga Newton(GN)]\n", - "\n", - "# Calculation\n", - "# We have to find c = a * b\n", - "c = 10*5 # [micro Newton(mN)*Giga Newton(GN)]\n", - "c = (10*10**(-3))*(5*10**(9)) # [N**(2)]\n", - "c = (10*10**(-3))*(5*10**(9))*10**(-6) #[kN**(2)]\n", - "\n", - "#Result\n", - "print\"Part(a)\"\n", - "print \"(10 mN)(5 GN) = \",int(c),\"kilo Newton square\\n\"\n", - "\n", - "# Part(b)\n", - "# Variable Declaration\n", - "a = 100 #[millimeter(mm)]\n", - "b = 0.5**(2) #[mega Newton square(MN**(2))]\n", - "\n", - "# Calculation\n", - "# We have to find c = a * b\n", - "c = (100*10**(-3))*(0.25*10**(12)) #[m.N**(2)]\n", - "c = (100*10**(-3))*(0.25*10**(12))*10**(-9) #[Gm.N**(2)]\n", - "\n", - "#Result\n", - "print\"Part(b)\"\n", - "print \"(100 mm)(0.5 MN square) = \",int(c),\"Gigameter Newton square\\n\"\n", - "\n", - "# Part(c) (Correction in the question (50 MN cube)(500 Gg))\n", - "# Variable Declaration\n", - "a = 50 #[mega newton cube((MN)**(3))]\n", - "b = 500 #[gigagram(Gg)]\n", - "\n", - "# Calculation\n", - "# We have to find c = a / b\n", - "c = 50*(10**(6))**3 / 500*10**(6) #[N**(3)/kg]\n", - "c = (50*((10**(6))**3) / (500*10**(6)))*10**(-9) #[kN**(3)/kg]\n", - "\n", - "#Result\n", - "print\"Part(c)\"\n", - "print \"(50 MN cube)(500 Gg) = \",int(c),\"Kilo Newton cube per kg\"\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "collapsed": true - }, - "outputs": [], - "source": [] - } - ], - "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.12" - } - }, - "nbformat": 4, - "nbformat_minor": 2 -} -- cgit