From e2367185f4f754ea8fc2e0661f65366142fbd3b3 Mon Sep 17 00:00:00 2001 From: Trupti Kini Date: Sun, 4 Sep 2016 23:30:27 +0600 Subject: Added(A)/Deleted(D) following books A Basic_Electronics_by_Rakesh_Kumar_Garg,_Ashish_Dixit_&_Paban_Yadav/chapter1.ipynb A Basic_Electronics_by_Rakesh_Kumar_Garg,_Ashish_Dixit_&_Paban_Yadav/chapter2.ipynb A Basic_Electronics_by_Rakesh_Kumar_Garg,_Ashish_Dixit_&_Paban_Yadav/chapter3.ipynb A Basic_Electronics_by_Rakesh_Kumar_Garg,_Ashish_Dixit_&_Paban_Yadav/chapter4.ipynb A Basic_Electronics_by_Rakesh_Kumar_Garg,_Ashish_Dixit_&_Paban_Yadav/chapter5.ipynb A Basic_Electronics_by_Rakesh_Kumar_Garg,_Ashish_Dixit_&_Paban_Yadav/chapter6.ipynb A Basic_Electronics_by_Rakesh_Kumar_Garg,_Ashish_Dixit_&_Paban_Yadav/chapter7.ipynb A Basic_Electronics_by_Rakesh_Kumar_Garg,_Ashish_Dixit_&_Paban_Yadav/chapter8.ipynb A Basic_Electronics_by_Rakesh_Kumar_Garg,_Ashish_Dixit_&_Paban_Yadav/screenshots/DCLOADLINEchapter4.png A Basic_Electronics_by_Rakesh_Kumar_Garg,_Ashish_Dixit_&_Paban_Yadav/screenshots/DCLOADLineCH4.png A Basic_Electronics_by_Rakesh_Kumar_Garg,_Ashish_Dixit_&_Paban_Yadav/screenshots/TransferCharofnchmosfetCH8.png A Engineering_Mechanics_by_A._K._Tayal/Chapter10.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter12.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter13.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter14.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter15.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter16.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter17.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter18.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter19.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter2.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter20.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter21.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter22.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter23.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter24.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter25.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter26.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter3.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter4.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter5.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter6.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter7.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter8.ipynb A Engineering_Mechanics_by_A._K._Tayal/Chapter9.ipynb A Engineering_Mechanics_by_A._K._Tayal/screenshots/1.png A Engineering_Mechanics_by_A._K._Tayal/screenshots/2.png A Engineering_Mechanics_by_A._K._Tayal/screenshots/3.png A Semiconductor_circuit_approximations_by_A.P._Malvino/ch10.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch11.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch12.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch14.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch16.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch2.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch3.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch4.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch5.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch6.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch7.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch8.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/ch9.ipynb A Semiconductor_circuit_approximations_by_A.P._Malvino/screenshots/ACloadLineChapter10.png A Semiconductor_circuit_approximations_by_A.P._Malvino/screenshots/DCandACloadlinechapter9.png A Semiconductor_circuit_approximations_by_A.P._Malvino/screenshots/Powerratingchapter9.png --- .../ch5.ipynb | 533 +++++++++++++++++++++ 1 file changed, 533 insertions(+) create mode 100644 Semiconductor_circuit_approximations_by_A.P._Malvino/ch5.ipynb (limited to 'Semiconductor_circuit_approximations_by_A.P._Malvino/ch5.ipynb') diff --git a/Semiconductor_circuit_approximations_by_A.P._Malvino/ch5.ipynb b/Semiconductor_circuit_approximations_by_A.P._Malvino/ch5.ipynb new file mode 100644 index 00000000..add61935 --- /dev/null +++ b/Semiconductor_circuit_approximations_by_A.P._Malvino/ch5.ipynb @@ -0,0 +1,533 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Chapter 5 Bipolar Transistors" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.1 Page No 125" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The dc voltage between the collector and emitter = 16.12 volts\n" + ] + } + ], + "source": [ + "# given data\n", + "V_BB= 10##in V\n", + "V_BE= 0.7##in V\n", + "V_CC= 20## V\n", + "R_B= 1.5## MΩ\n", + "R_B= R_B*10**6##in Ω\n", + "R_C= 5*10**3##in Ω\n", + "bita= 125## unit less\n", + "I_B= (V_BB-V_BE)/R_B##in A\n", + "I_C= bita*I_B##in A\n", + "# The dc voltage between the collector and emitter \n", + "V_CE= V_CC-I_C*R_C##in V\n", + "print \"The dc voltage between the collector and emitter = %.2f volts\"%V_CE" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.2 Page No 125" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYEAAAEaCAYAAAD3+OukAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFvFJREFUeJzt3X2wbXV93/H3R8EaVBRQnowENSUPFhVt7VWrnGiUqxAT\nmwYkbQc1udFOquJEUZlpLk4m9Wm0RJ00cUBBEhEbKYIawSiHh/p8C3ILCtV6VQSvEVBhfKiVb//Y\n63A3x3Pu2eecvffae633a2YP+6y99t7fNetyvufz+62HVBWSpH66T9sFSJLaYxOQpB6zCUhSj9kE\nJKnHbAKS1GM2AUnqMZuAei3JC5NcNaHPvjvJo1Z5bTHJHzTP/22SSydRg7QWm4DmRpJdSX6Y5AdJ\n7kjyP5K8JEmWrfekJB9t1rktyWeTvLClsldTzYOq+tuqOq7letRTNgHNkwJOqKr9gSOANwKvAc5e\nWiHJk4FPAJcDj66qg4D/AGydfrnS7LMJaC5V1Z1VdQlwEnBKkl9vXnoLcE5VvaWqbm/W/Z9V9YJR\nPjfJU5J8Psn3knyuaSpLr70oyQ1NEvlqkj9a9t5XJ7klyc1JXjzqtiwfkmqGkV6S5KYmzbxz2fov\nbuq4PcnHkhwx6ndJy9kENNeq6vPAzcDTkuwHbAH+biOfleRA4CPAmcCBwNuAjzTLAXYDxzdJ5EXA\nf0lyTPPercCfAL8JHNX8dzOOB/458FjgxCTHNd/z28DrgOcDDwWuAs7f5Hepx2wC6oJbGPzSPoDB\nv+lbN/g5xwM3NmP0d1fV+4EvA78FUFUfraqvNc+vBC4Dnta890Tg3VV1Q1X9ENi+4a0ZeGNV/aCq\nvslgaOtxzfKXAm+oqhur6m7gDcDjkzxik9+nnrIJqAt+Ebi9edwNHLbBzzkc+MayZV9vlpPkOUk+\n00w23wE8FzioWe8w4JtD71v+Oev17aHnPwQe2Dz/JeAvmmGiO4DbmuUP3+T3qadsApprSf4Fg1/S\nV1fV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gc11\nrb6U5F3N3aoubZrM8LoPTrJr6OcHJPlGkvsmeXySzzSXMb5w2WWMk+RlwOHA5Uk+0Vwq+JwkOzO4\nI92po9QrjcImoLnU3JXtc8Bzm0UvAC7Yy1sew+CuUqt52rLhoEeu9LVDz38ZeGdV/TPge8DvLqvv\n+8C1SRaaRScAH6uqnwHvBV5dVY9jcOGy7fd+a70DuAVYqKpnMrgG/uFVdXRVPRZ4z162Q1oXm4Dm\n2dKQEAyGgs5fY/29/cV/VVUdM/T42hqf9bWquq55vgM4coV1LmjqoqnzgiQPBh7c3LEMBhf/evoa\n3/VV4FFJ3p7kOOAHa6wvjcwmoHl2MfDMJMcA+1XVNXtZ93oG11kfl58MPf8ZK8+vXQJsTXIA8ATg\nkyuss+ZQVHP1x8cCi8BLGVz/XhoLm4DmVnOHqMsZDI+8b43V3wc8JcnS8BFJnp7kMROu7/PA24FL\nmnuYfB+4o7nEMcC/Z/DLfbk7gf2bOg8C9qmqC4H/xKChSGPh0UGad+cDFwIn7m2lqvpxkhOAM5Oc\nCfwU+CJwKoN7BTwtyXCS+LPml+69PmaV5yv9vOQCBtd1XxhadgrwV0n2YzDU86IV3vcu4GNJvgW8\nEnhPkqU/2l67yndJ6+b9BCSpxxwOkqQeczhIndLcbu+9yxb/uKqe3EY90qxzOEiSeszhIEnqMZuA\nJPWYTUCSeswmIEk9ZhOQpB77/8yRe8vLdKxfAAAAAElFTkSuQmCC\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "from numpy import arange\n", + "%matplotlib inline\n", + "from matplotlib.pyplot import plot,xlabel,ylabel,title,show\n", + "# given data\n", + "V_CC= 30## V\n", + "R_C= 1.5##in kΩ\n", + "Ver_intercept= V_CC/R_C##in mA\n", + "Hor_intercept= V_CC## V\n", + "V_CE= arange(0,0.1+Hor_intercept,0.1) #V\n", + "I_C= [(V_CC-VCE)/R_C for VCE in V_CE] ## mA\n", + "# DC load line\n", + "plot(V_CE,I_C)\n", + "xlabel(\"V_CE in volts\")\n", + "ylabel(\"I_C in mA\")\n", + "title(\"DC load line\")\n", + "show()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.3 Page No 126" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of I_C = 6.01 mA\n", + "The value of V_CE = 20.98 volts\n" + ] + } + ], + "source": [ + "# given data\n", + "V_BE= 0.7##in V\n", + "V_CC= 30## V\n", + "R_B= 390## kΩ\n", + "R_B= R_B*10**3##in Ω\n", + "R_C= 1.5*10**3##in Ω\n", + "bita= 80## unit less\n", + "I_B= (V_CC-V_BE)/R_B##in A\n", + "# The collector current,\n", + "I_C= bita*I_B##in A\n", + "# The value of V_CE\n", + "V_CE= V_CC-I_C*R_C##in V\n", + "I_C= I_C*10**3## mA\n", + "print \"The value of I_C = %.2f mA\"%I_C\n", + "print \"The value of V_CE = %.2f volts\"%V_CE" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.4 Page No 126" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The LED current = 18.00 mA\n", + "The value of Vin = 6.34 volts\n" + ] + } + ], + "source": [ + "# given data\n", + "V_BE= 0.7## V\n", + "V_LED= 2.0##in V\n", + "V_CC= 20## V\n", + "R_B= 47## kΩ\n", + "R_B= R_B*10**3##in Ω\n", + "R_C= 1*10**3##in Ω\n", + "bita= 150## unit less\n", + "# The LED current\n", + "I_LED= (V_CC-V_LED)/R_C## A\n", + "I_Csat= I_LED## A\n", + "I_Bsat= I_Csat/bita## A\n", + "# The input voltage,\n", + "V_IN= I_Bsat*R_B+V_BE##in V\n", + "I_LED= I_LED*10**3## mA\n", + "print \"The LED current = %.2f mA\"%I_LED\n", + "print \"The value of Vin = %.2f volts\"%V_IN" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.5 Page No 129" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The collector voltage = 22.56 volts\n" + ] + } + ], + "source": [ + "# given data\n", + "Vz= 10## V\n", + "V_BE= 0.7## V\n", + "V_CC= 30.0## V\n", + "R_E= 5## kΩ\n", + "R_E= R_E*10**3##in Ω\n", + "R_C= 4## kΩ\n", + "R_C= R_C*10**3##in Ω\n", + "V_E= Vz-V_BE## V\n", + "I_E= V_E/R_E## A\n", + "I_C= I_E## A\n", + "# The collector voltage\n", + "V_C= V_CC-I_C*R_C## V\n", + "print \"The collector voltage = %.2f volts\"%V_C" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.6 Page No 130" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The collector voltage = 18.40 volts\n" + ] + } + ], + "source": [ + "# given data\n", + "V_BE= 0.7## V\n", + "R2= 1*10**3##in Ω\n", + "R1= 3.9*10**3##in Ω\n", + "R_E= 100## Ω\n", + "R_C= 150## kΩ\n", + "V_CC= 25.0## V\n", + "Vz= R2*V_CC/(R1+R2)## V\n", + "V_E= Vz-V_BE## V\n", + "I_E= V_E/R_E## A\n", + "I_C= I_E## A\n", + "# The collector voltage \n", + "V_C= V_CC-I_C*R_C## V\n", + "print \"The collector voltage = %.2f volts\"%V_C" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.7 Page No 130" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "In the first stage the collector voltage = 12.85 volts\n", + "In the second stage the collector voltage = 10.09 volts\n" + ] + } + ], + "source": [ + "# given data\n", + "R_E= 2*10**3## Ω\n", + "R_C= 1*10**3## kΩ\n", + "V_E= 4.3##in V\n", + "V_CC= 15.0## V\n", + "I_E= V_E/R_E## A\n", + "I_C= I_E##in A\n", + "# = %.2f the first stage the collector voltage \n", + "V_C= V_CC-I_C*R_C## A\n", + "print \"In the first stage the collector voltage = %.2f volts\"%V_C\n", + "# Second stage\n", + "V_E= 2.3## V\n", + "R_E= 220## Ω\n", + "R_C= 470## Ω\n", + "I_E= V_E/R_E## A\n", + "I_C= I_E##in A\n", + "# = %.2f the second stage the collector voltage \n", + "V_C= V_CC-I_C*R_C## A\n", + "print \"In the second stage the collector voltage = %.2f volts\"%V_C\n", + "\n", + "# Note : In the book, the calculated value of collector voltage in first stage is not accurate." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.8 Page No 133" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The minimum value of collector current = 0.98 mA\n", + "The maximum value of collector current = 2.93 mA\n" + ] + } + ], + "source": [ + "# given data\n", + "V_BE= 0.7##in V\n", + "V_CC= 30## V\n", + "R_B= 3*10**6## Ω\n", + "bitamin= 100## unit less\n", + "bitamax= 300## unit less\n", + "I_B= (V_CC-V_BE)/R_B## A\n", + "# The minimum value of collector current \n", + "I_Cmin= bitamin*I_B## A\n", + "# The maximum value of collector current \n", + "I_Cmax= bitamax*I_B## A\n", + "I_Cmin= I_Cmin*10**3## mA\n", + "I_Cmax= I_Cmax*10**3## mA\n", + "print \"The minimum value of collector current = %.2f mA\"%I_Cmin\n", + "print \"The maximum value of collector current = %.2f mA\"%I_Cmax" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.9 Page No 139" + ] + }, + { + "cell_type": "code", + "execution_count": 13, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of I_C = 9.33 mA\n", + "The value of V_CE = 5.58 volts\n" + ] + } + ], + "source": [ + "# given data\n", + "V_BE= 0.7##in V\n", + "V_CC= 15## V\n", + "R_E= 100## Ω\n", + "R_C= 910## Ω\n", + "R_B= 430*10**3## Ω\n", + "bita= 300## unit less\n", + "# The collector current,\n", + "I_C= (V_CC-V_BE)/(R_E+R_B/bita)## A\n", + "I_C= I_C*10**3## mA\n", + "print \"The value of I_C = %.2f mA\"%I_C\n", + "I_C= I_C*10**-3## A\n", + "# The collector to emitter voltage,\n", + "V_CE= V_CC-I_C*(R_C+R_E)## V\n", + "print \"The value of V_CE = %.2f volts\"%V_CE" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.10 Page No 140" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of I_C = 8.58 mA\n", + "The value of V_CE = 6.42 volts\n" + ] + } + ], + "source": [ + "# given data\n", + "V_BE= 0.7##in V\n", + "V_CC= 15## V\n", + "R_C= 1*10**3## Ω\n", + "R_B= 200*10**3## Ω\n", + "bita= 300## unit less\n", + "# The collector current,\n", + "I_C= (V_CC-V_BE)/(R_C+R_B/bita)## A\n", + "I_C=I_C*10**3## mA\n", + "print \"The value of I_C = %.2f mA\"%I_C\n", + "I_C=I_C*10**-3## A\n", + "# The collector to emitter voltage,\n", + "V_CE= V_CC-I_C*R_C## V\n", + "print \"The value of V_CE = %.2f volts\"%V_CE" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.11 Page No 140" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of I_C = 1.43 mA\n", + "The value of V_CE = 8.41 volts\n" + ] + } + ], + "source": [ + "# given data\n", + "V_BE= 0.7##in V\n", + "V_CC= 15## V\n", + "V_EE= 15## V\n", + "R_E= 10*10**3## Ω\n", + "R_C= 5.1*10**3## Ω\n", + "I_E= (V_EE-V_BE)/R_E## A\n", + "# The collector current,\n", + "I_C= I_E## A\n", + "V_C= V_CC-I_C*R_C## A\n", + "V_E= -V_BE## V\n", + "V_CE= V_C-V_E## V\n", + "# The collector to emitter voltage,\n", + "V_CE= V_CC+V_EE-I_C*(R_C+R_E)\n", + "I_C= I_C*10**3## mA\n", + "print \"The value of I_C = %.2f mA\"%I_C\n", + "print \"The value of V_CE = %.2f volts\"%V_CE" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.12 Page No 142" + ] + }, + { + "cell_type": "code", + "execution_count": 16, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "For first stage the collector voltage to ground = 22.93 volts\n", + "For second stage the collector voltage to ground = 13.95 volts\n" + ] + } + ], + "source": [ + "# given data\n", + "V_BE= 0.7##in V\n", + "V_CC= 30## V\n", + "Vz= 6## V\n", + "R_E= 3*10**3## Ω\n", + "R_C= 4*10**3## Ω\n", + "I_E= (Vz-V_BE)/R_E## A\n", + "I_C= I_E## A\n", + "# For first stage the collector voltage to ground \n", + "V_C= V_CC-I_C*R_C## v\n", + "print \"For first stage the collector voltage to ground = %.2f volts\"%V_C\n", + "Vz= 10## V\n", + "R_E= 2*10**3##in Ω\n", + "R_C= 3*10**3## Ω\n", + "I_E= (Vz-V_BE)/R_E## A\n", + "I_C= I_E## A\n", + "# For second stage the collector voltage to ground \n", + "V_C= I_C*R_C## v\n", + "print \"For second stage the collector voltage to ground = %.2f volts\"%V_C" + ] + } + ], + "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 +} -- cgit