summaryrefslogtreecommitdiff
path: root/Engineering_Physics_by_U_Mukherji/4-Ultrasonic.ipynb
diff options
context:
space:
mode:
authorprashantsinalkar2020-04-14 10:19:27 +0530
committerprashantsinalkar2020-04-14 10:23:54 +0530
commit476705d693c7122d34f9b049fa79b935405c9b49 (patch)
tree2b1df110e24ff0174830d7f825f43ff1c134d1af /Engineering_Physics_by_U_Mukherji/4-Ultrasonic.ipynb
parentabb52650288b08a680335531742a7126ad0fb846 (diff)
downloadall-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 'Engineering_Physics_by_U_Mukherji/4-Ultrasonic.ipynb')
-rw-r--r--Engineering_Physics_by_U_Mukherji/4-Ultrasonic.ipynb138
1 files changed, 138 insertions, 0 deletions
diff --git a/Engineering_Physics_by_U_Mukherji/4-Ultrasonic.ipynb b/Engineering_Physics_by_U_Mukherji/4-Ultrasonic.ipynb
new file mode 100644
index 0000000..ef12167
--- /dev/null
+++ b/Engineering_Physics_by_U_Mukherji/4-Ultrasonic.ipynb
@@ -0,0 +1,138 @@
+{
+"cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 4: Ultrasonic"
+ ]
+ },
+{
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 4.1: find_distance_between_two_ships.sce"
+ ]
+ },
+ {
+"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+"source": [
+"//chapter4,Example4_1,pg 84\n",
+"\n",
+"V1=343\n",
+"\n",
+"//S=V1*t1\n",
+"\n",
+"V2=1372\n",
+"\n",
+"//S=V2*t2\n",
+"\n",
+"dt=3//time difference\n",
+"\n",
+"S=((V1*V2)*(dt))/(V2-V1)\n",
+"\n",
+"printf('distance between two ships\n')\n",
+"\n",
+"printf('S=%.f m',S)"
+ ]
+ }
+,
+{
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 4.2: calculate_depth_of_sea.sce"
+ ]
+ },
+ {
+"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+"source": [
+"//chapter4,Example4_2,pg 84\n",
+"\n",
+"V=1700\n",
+"\n",
+"t=0.65\n",
+"\n",
+"d=(V*t)/2\n",
+"\n",
+"n=0.07*10^6\n",
+"\n",
+"lam=V/n\n",
+"\n",
+"printf('depth of sea\n')\n",
+"\n",
+"printf('d=%.1f m',d)\n",
+"\n",
+"printf('\nwavelength of pulse\n')\n",
+"\n",
+"printf('lam=%.4f m',lam)"
+ ]
+ }
+,
+{
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 4.3: calculate_natural_frequency.sce"
+ ]
+ },
+ {
+"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+"source": [
+"//chapter4,Example4_3,pg 84\n",
+"\n",
+"P=1\n",
+"\n",
+"l=40*10^-3\n",
+"\n",
+"E=115*10^9\n",
+"\n",
+"D=7.25*10^3\n",
+"\n",
+"n=(P/(2*l))*sqrt(E/D)\n",
+"\n",
+"printf('natural frequency\n')\n",
+"\n",
+"printf('n=%.2f Hz',n)\n",
+"\n",
+"printf('\nfrequency of rod is more than audible range, rod cannot be used in magnetostriction oscillator\n')"
+ ]
+ }
+],
+"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
+}