summaryrefslogtreecommitdiff
path: root/Electronic_Communication_by_D_Roddy/2-WAVEFORM_SPECTRA.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Electronic_Communication_by_D_Roddy/2-WAVEFORM_SPECTRA.ipynb')
-rw-r--r--Electronic_Communication_by_D_Roddy/2-WAVEFORM_SPECTRA.ipynb58
1 files changed, 58 insertions, 0 deletions
diff --git a/Electronic_Communication_by_D_Roddy/2-WAVEFORM_SPECTRA.ipynb b/Electronic_Communication_by_D_Roddy/2-WAVEFORM_SPECTRA.ipynb
new file mode 100644
index 0000000..367a0de
--- /dev/null
+++ b/Electronic_Communication_by_D_Roddy/2-WAVEFORM_SPECTRA.ipynb
@@ -0,0 +1,58 @@
+{
+"cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 2: WAVEFORM SPECTRA"
+ ]
+ },
+{
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 2.13_1: example_1.sce"
+ ]
+ },
+ {
+"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+"source": [
+"clc;\n",
+"//page no 74\n",
+"//prob no. 2.13.1\n",
+"//A rectangular pulse with h=3V and width=2ms across 10 ohm resistor\n",
+"V=3;t=2*10^-3;R=10;\n",
+"//Determination of average energy\n",
+"P=(V^2)/R;//Instantaneous power\n",
+"U=P*t;\n",
+"disp('J',U,'The average energy is');"
+ ]
+ }
+],
+"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
+}