diff options
author | Trupti Kini | 2016-09-04 23:30:27 +0600 |
---|---|---|
committer | Trupti Kini | 2016-09-04 23:30:27 +0600 |
commit | 27c5702e0236c608bdb1aac8ca4a4e2c70dee088 (patch) | |
tree | fb80bb5e76945256eb56f9eb9e6ec3a068b3b981 /Engineering_Mechanics_by_A._K._Tayal/Chapter13.ipynb | |
parent | 5f15ee61029068ad350502ad04768d7cd84e4736 (diff) | |
download | Python-Textbook-Companions-27c5702e0236c608bdb1aac8ca4a4e2c70dee088.tar.gz Python-Textbook-Companions-27c5702e0236c608bdb1aac8ca4a4e2c70dee088.tar.bz2 Python-Textbook-Companions-27c5702e0236c608bdb1aac8ca4a4e2c70dee088.zip |
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
Diffstat (limited to 'Engineering_Mechanics_by_A._K._Tayal/Chapter13.ipynb')
-rw-r--r-- | Engineering_Mechanics_by_A._K._Tayal/Chapter13.ipynb | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/Engineering_Mechanics_by_A._K._Tayal/Chapter13.ipynb b/Engineering_Mechanics_by_A._K._Tayal/Chapter13.ipynb new file mode 100644 index 00000000..70272cbe --- /dev/null +++ b/Engineering_Mechanics_by_A._K._Tayal/Chapter13.ipynb @@ -0,0 +1,116 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Chapter 13 Principle of Virtual Work" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Example 13.1 Application of Principle of Virtual Work" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of force (i.e P) that can hold the system in equilibrium is 500 N\n" + ] + } + ], + "source": [ + "# Initilization of variables\n", + "W=1000 # N # weight to be raised\n", + "# Calculations\n", + "# From the Principle of virtual work,\n", + "P=W/2 # N\n", + "# Results\n", + "print('The value of force (i.e P) that can hold the system in equilibrium is %d N'%P)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Example 13.7 Application of Principle of Virtual Work" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The Horizontal component of reaction at A (X_A) is 333.333333 N\n", + "The Vertical component of reaction at A (Y_A) is 1333.333333 N\n", + "The Horizontal component of reaction at B (X_B) is 333.333333 N\n", + "The Vertical component of reaction at B (Y_B) is 666.666667 N\n" + ] + } + ], + "source": [ + "import math\n", + "# Initilization of variables\n", + "P=1000 # N # Force acting at the hinge of the 1st square\n", + "Q=1000 # N # Force acting at the hinge of the 2nd square\n", + "# Calculations\n", + "# Chosing the co-ordinate system with originat A, we can write,\n", + "theta=45 # degree\n", + "# Forces that do work are P,Q & X_B. Applying the principle of virtual work & Simplyfying and solving for X_B,\n", + "X_B=((2*P)/6)*(math.cos(theta*math.pi/180)/math.sin(theta*math.pi/180)) # N \n", + "# Now give a virtual angular displacement to the whole frame about end A such that line AB turns by an angle delta_phi.\n", + "# The force doing work are P,Q&Y_B.Applying the principle of virtual work & Simplyfying this eq'n and solving for Y_B,\n", + "Y_B=((3*Q)+P)/6 # N\n", + "# Simply by removing the support at A & replacing it by the reactions X_A & Y_A we can obtain,\n", + "X_A=X_B # N\n", + "Y_A=P+Q-Y_B # N\n", + "# Results\n", + "print('The Horizontal component of reaction at A (X_A) is %f N'%X_A)\n", + "print('The Vertical component of reaction at A (Y_A) is %f N'%Y_A)\n", + "print('The Horizontal component of reaction at B (X_B) is %f N'%X_B)\n", + "print('The Vertical component of reaction at B (Y_B) is %f N'%Y_B)" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.5.1" + }, + "widgets": { + "state": {}, + "version": "1.1.2" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} |