summaryrefslogtreecommitdiff
path: root/sample_notebooks/KhushbuPattani/KhushbuPattani_version_backup/chapter1.ipynb
diff options
context:
space:
mode:
authorkinitrupti2017-05-12 18:40:35 +0530
committerkinitrupti2017-05-12 18:40:35 +0530
commit64d949698432e05f2a372d9edc859c5b9df1f438 (patch)
tree012fd5b4ac9102cdcf5bc56305e49d6714fa5951 /sample_notebooks/KhushbuPattani/KhushbuPattani_version_backup/chapter1.ipynb
parent9c6ab8cbf3e1a84c780386abf4852d84cdd32d56 (diff)
downloadPython-Textbook-Companions-64d949698432e05f2a372d9edc859c5b9df1f438.tar.gz
Python-Textbook-Companions-64d949698432e05f2a372d9edc859c5b9df1f438.tar.bz2
Python-Textbook-Companions-64d949698432e05f2a372d9edc859c5b9df1f438.zip
Revised list of TBCs
Diffstat (limited to 'sample_notebooks/KhushbuPattani/KhushbuPattani_version_backup/chapter1.ipynb')
-rwxr-xr-xsample_notebooks/KhushbuPattani/KhushbuPattani_version_backup/chapter1.ipynb53
1 files changed, 53 insertions, 0 deletions
diff --git a/sample_notebooks/KhushbuPattani/KhushbuPattani_version_backup/chapter1.ipynb b/sample_notebooks/KhushbuPattani/KhushbuPattani_version_backup/chapter1.ipynb
new file mode 100755
index 00000000..f014e773
--- /dev/null
+++ b/sample_notebooks/KhushbuPattani/KhushbuPattani_version_backup/chapter1.ipynb
@@ -0,0 +1,53 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 1: Solution of Equation & Curve Fitting"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 1.1, page no. 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+ "source": [
+ "import numpy\n",
+ "\n",
+ "p = 2*(x^3)+x^2-13*x+6\n",
+ "print \"The roots of above equation are: \", numpy.roots([2,1,-13,6])"
+ ]
+ }
+ ],
+ "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.10"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}