diff options
author | hardythe1 | 2015-06-03 15:27:17 +0530 |
---|---|---|
committer | hardythe1 | 2015-06-03 15:27:17 +0530 |
commit | df60071cf1d1c18822d34f943ab8f412a8946b69 (patch) | |
tree | ab059cf19bad4a1233a464ccf5d72cf8b3fb323c /_A_Textbook_Of_Engineering_Physics/Chapter6.ipynb | |
parent | fba055ce5aa0955e22bac2413c33493b10ae6532 (diff) | |
download | Python-Textbook-Companions-df60071cf1d1c18822d34f943ab8f412a8946b69.tar.gz Python-Textbook-Companions-df60071cf1d1c18822d34f943ab8f412a8946b69.tar.bz2 Python-Textbook-Companions-df60071cf1d1c18822d34f943ab8f412a8946b69.zip |
add books
Diffstat (limited to '_A_Textbook_Of_Engineering_Physics/Chapter6.ipynb')
-rwxr-xr-x | _A_Textbook_Of_Engineering_Physics/Chapter6.ipynb | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/_A_Textbook_Of_Engineering_Physics/Chapter6.ipynb b/_A_Textbook_Of_Engineering_Physics/Chapter6.ipynb new file mode 100755 index 00000000..5992fd39 --- /dev/null +++ b/_A_Textbook_Of_Engineering_Physics/Chapter6.ipynb @@ -0,0 +1,95 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:2c7fa5f48e2180e437af8892520159f12789c250e22a9e424719ad83f83b7fff"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter6-Properties of Light"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg124"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "##Example 6.1\n",
+ "##Optical path calculation \n",
+ "\n",
+ "##given values\n",
+ "n=1.33;##refractive index of medium\n",
+ "x=.75;##geometrical path in micrometre\n",
+ " ##calculation\n",
+ "y=x*n;##\n",
+ "print'%s %.3f %s'%('optical path (in micrometre) is:',y,'')\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "optical path (in micrometre) is: 0.998 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg137"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "##Example 6.2\n",
+ "##Coherence length calculation \n",
+ "\n",
+ "##given values\n",
+ "l=1*10**-14.;##line width in metre\n",
+ "x=10.6*10**-6.;##IR emission wavelength in metre\n",
+ " ##calculation\n",
+ "y=x**2./l;##\n",
+ "print'%s %.1f %s'%('coherence length(in metre) is:',y,'')\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "coherence length(in metre) is: 11236.0 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file |