diff options
author | prashantsinalkar | 2020-04-14 10:19:27 +0530 |
---|---|---|
committer | prashantsinalkar | 2020-04-14 10:23:54 +0530 |
commit | 476705d693c7122d34f9b049fa79b935405c9b49 (patch) | |
tree | 2b1df110e24ff0174830d7f825f43ff1c134d1af /Fiber_Optics_Communication_by_H_Kolimbiris/5-Optical_Amplifiers.ipynb | |
parent | abb52650288b08a680335531742a7126ad0fb846 (diff) | |
download | all-scilab-tbc-books-ipynb-476705d693c7122d34f9b049fa79b935405c9b49.tar.gz all-scilab-tbc-books-ipynb-476705d693c7122d34f9b049fa79b935405c9b49.tar.bz2 all-scilab-tbc-books-ipynb-476705d693c7122d34f9b049fa79b935405c9b49.zip |
Initial commit
Diffstat (limited to 'Fiber_Optics_Communication_by_H_Kolimbiris/5-Optical_Amplifiers.ipynb')
-rw-r--r-- | Fiber_Optics_Communication_by_H_Kolimbiris/5-Optical_Amplifiers.ipynb | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/Fiber_Optics_Communication_by_H_Kolimbiris/5-Optical_Amplifiers.ipynb b/Fiber_Optics_Communication_by_H_Kolimbiris/5-Optical_Amplifiers.ipynb new file mode 100644 index 0000000..0ddb79f --- /dev/null +++ b/Fiber_Optics_Communication_by_H_Kolimbiris/5-Optical_Amplifiers.ipynb @@ -0,0 +1,84 @@ +{ +"cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Chapter 5: Optical Amplifiers" + ] + }, +{ + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.1: Input_power.sce" + ] + }, + { +"cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], +"source": [ +"//Chapter 5\n", +"//page no 128\n", +"//given\n", +"clc;\n", +"Vrms=0.3; //in V\n", +"CF=0.75; //in V/mW\n", +"Pi=Vrms/CF; \n", +"printf('\n input power %0.1f mW\n',Pi);" + ] + } +, +{ + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 5.2: Compute_pseudo_random_binary_sequence.sce" + ] + }, + { +"cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], +"source": [ +"//Chapter 5\n", +"//page no 131\n", +"//given\n", +"clc;\n", +"Di=155; //in Mb/s\n", +"sl=10^-3*Di*10^6; //in bitstream\n", +"//PRBS=2^x-1=sl;\n", +"x=log(sl+1)/log(2);//equation is made to pick value of x\n", +"printf('\n PRBS =2^%0.0f -1 \n',x);" + ] + } +], +"metadata": { + "kernelspec": { + "display_name": "Scilab", + "language": "scilab", + "name": "scilab" + }, + "language_info": { + "file_extension": ".sce", + "help_links": [ + { + "text": "MetaKernel Magics", + "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md" + } + ], + "mimetype": "text/x-octave", + "name": "scilab", + "version": "0.7.1" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} |