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 /Basic_Fluid_Mechanics_by_Peerless/14-Further_Devolopments.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 'Basic_Fluid_Mechanics_by_Peerless/14-Further_Devolopments.ipynb')
-rw-r--r-- | Basic_Fluid_Mechanics_by_Peerless/14-Further_Devolopments.ipynb | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/Basic_Fluid_Mechanics_by_Peerless/14-Further_Devolopments.ipynb b/Basic_Fluid_Mechanics_by_Peerless/14-Further_Devolopments.ipynb new file mode 100644 index 0000000..e7d39ba --- /dev/null +++ b/Basic_Fluid_Mechanics_by_Peerless/14-Further_Devolopments.ipynb @@ -0,0 +1,111 @@ +{ +"cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Chapter 14: Further Devolopments" + ] + }, +{ + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 14.1: ex_1.sce" + ] + }, + { +"cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], +"source": [ +"clc\n", +"//initialisation of variables\n", +"clear\n", +"a= 60.5\n", +"Q= 0.2 //ft^3/sec\n", +"d= 3 //in\n", +"u= 0.0325\n", +"g= 32.2 //ft/sec^2\n", +"T= [50.0 60.0 70.0 80.0 90.0 100.0]\n", +"Ep= [294.5 188.6 113.2 60.4 37.7 24.5]\n", +"Eh= [0 69.9 139.8 209.7 279.5 349.4]\n", +"Et= [295 258 253 270 317 374]\n", +"//CALCULATIONS\n", +"re= a*4*Q/(%pi*(d/12)*u*g)\n", +"//RESULTS\n", +"printf ('Reynolds Number = %.1f ',re)\n", +"disp(T)\n", +"disp(Ep)\n", +"disp(Eh)\n", +"disp(Et)\n", +"plot(T,Ep)\n", +"plot(T,Eh)\n", +"plot(T,Et)\n", +"\n", +"xtitle('','T (F)', 'Eh,Ep,Eh&Ep (kW)')\n", +"\n", +"" + ] + } +, +{ + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 14.2: ex_2.sce" + ] + }, + { +"cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], +"source": [ +"clc\n", +"//initialisation of variables\n", +"clear\n", +"wcb= 2 //ton\n", +"wc= 100 //ton\n", +"wa= 6.5 //ton\n", +"wca= 20 \n", +"r= 0.8\n", +"r1= 1.2\n", +"//CALCULATIONS\n", +"wca1= wc/wa\n", +"wca2= wcb*(wca1/wca)^1.5\n", +"Wca= wcb*r^(9/4)*(1/r1)^(9/4)*(wca1/wca)^1.5\n", +"//RESULTS\n", +"printf ('(Wc/W)a = %.2f ',wca1)\n", +"printf ('\n Wc,a = %.2f ton',wca2)\n", +"printf ('\n Wc,a = %.2f ton',Wca)" + ] + } +], +"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 +} |