SlideShare a Scribd company logo
Mathcad -- CP (Computational Physics) with Python - Example Example 0.1.1.xmcd
First Example of Computational Physics Using Python
by Julio C. Banks, PE
Reference
Computational Physics With Python by Dr. Eric Ayars - 2013
Page 6. Copyright c 2013 Eric Ayars except where otherwise noted.
Version 0.9, August 18, 2013.
Note: Julia is a computer language similar to Python but unlike Python, Julia is
compiled.
Solve the system of linear algebraic equations [A]{x} = {b}
Example 0.1.1
In electronics, Kirchho's laws are used to solve for the currents through components
in circuit networks. Applying these laws gives us systems of linear equations, which
can then be expressed as matrix equations, such as
A
13
2
4
2
11
6
4
6
15








 x
IA
IB
IC










= b
5
10
5









Python solution
Input:
A = matrix([ [-13,2,4], [2,-11,6], [4,6,-15] ])
B = array([5,-10,5])
Solution:
linalg.solve(A,B)
--> array([-0.28624535, 0.81040892, -0,08550186])
Mathcad v15 Solution: x A
1
b
0.28624535
0.81040892
0.08550186









Post Process:
IA
IB
IC










x
0.28624535
0.81040892
0.08550186









Julio C. Banks, PE Sell-A-Vision@Outlook.com page 1 of 1

More Related Content

What's hot

Big o notation
Big o notationBig o notation
Big o notation
keb97
 
Effect Estimation Method of Parallel Computing Based on Dynamic Generation of...
Effect Estimation Method of Parallel Computing Based on Dynamic Generation of...Effect Estimation Method of Parallel Computing Based on Dynamic Generation of...
Effect Estimation Method of Parallel Computing Based on Dynamic Generation of...
IJMER
 
Hyperparameter Optimization with Hyperband Algorithm
Hyperparameter Optimization with Hyperband AlgorithmHyperparameter Optimization with Hyperband Algorithm
Hyperparameter Optimization with Hyperband Algorithm
Deep Learning Italia
 
Numerical approach of riemann-liouville fractional derivative operator
Numerical approach of riemann-liouville fractional derivative operatorNumerical approach of riemann-liouville fractional derivative operator
Numerical approach of riemann-liouville fractional derivative operator
IJECEIAES
 
Energy of Certain Planar Graphs
Energy of Certain Planar GraphsEnergy of Certain Planar Graphs
Energy of Certain Planar Graphs
ijcoa
 
Math principle
Math principle Math principle
Math principle
thachsanh86
 
A mathematical model for integrating product of two functions
A mathematical model for integrating product of two functionsA mathematical model for integrating product of two functions
A mathematical model for integrating product of two functions
Alexander Decker
 
An adaptive algorithm for detection of duplicate records
An adaptive algorithm for detection of duplicate recordsAn adaptive algorithm for detection of duplicate records
An adaptive algorithm for detection of duplicate records
Likan Patra
 
Project 2
Project 2Project 2
Project 2
Dylan Devotta
 
Network Optimization Brief
Network Optimization BriefNetwork Optimization Brief
Network Optimization Brief
jasonj383
 
search engine for images
search engine for imagessearch engine for images
search engine for images
Anjani
 
Pyramid Vector Quantization
Pyramid Vector QuantizationPyramid Vector Quantization
Pyramid Vector Quantization
ShahDhruv21
 
Graph Matching
Graph MatchingGraph Matching
Graph Matching
graphitech
 
presentation
presentationpresentation
presentation
jie ren
 
Shape Matching and Object Recognition Using Shape Contexts
Shape Matching and Object Recognition Using Shape ContextsShape Matching and Object Recognition Using Shape Contexts
Shape Matching and Object Recognition Using Shape Contexts
Ratul Alahy
 
Thesis_Draft_Nurkhaidarov
Thesis_Draft_NurkhaidarovThesis_Draft_Nurkhaidarov
Thesis_Draft_Nurkhaidarov
Bek Nurkhaidarov
 
Algorithms 101 for Data Scientists
Algorithms 101 for Data ScientistsAlgorithms 101 for Data Scientists
Algorithms 101 for Data Scientists
Christopher Conlan
 
Fourier Transform Assignment Help
Fourier Transform Assignment HelpFourier Transform Assignment Help
Fourier Transform Assignment Help
Matlab Assignment Experts
 
002
002002

What's hot (19)

Big o notation
Big o notationBig o notation
Big o notation
 
Effect Estimation Method of Parallel Computing Based on Dynamic Generation of...
Effect Estimation Method of Parallel Computing Based on Dynamic Generation of...Effect Estimation Method of Parallel Computing Based on Dynamic Generation of...
Effect Estimation Method of Parallel Computing Based on Dynamic Generation of...
 
Hyperparameter Optimization with Hyperband Algorithm
Hyperparameter Optimization with Hyperband AlgorithmHyperparameter Optimization with Hyperband Algorithm
Hyperparameter Optimization with Hyperband Algorithm
 
Numerical approach of riemann-liouville fractional derivative operator
Numerical approach of riemann-liouville fractional derivative operatorNumerical approach of riemann-liouville fractional derivative operator
Numerical approach of riemann-liouville fractional derivative operator
 
Energy of Certain Planar Graphs
Energy of Certain Planar GraphsEnergy of Certain Planar Graphs
Energy of Certain Planar Graphs
 
Math principle
Math principle Math principle
Math principle
 
A mathematical model for integrating product of two functions
A mathematical model for integrating product of two functionsA mathematical model for integrating product of two functions
A mathematical model for integrating product of two functions
 
An adaptive algorithm for detection of duplicate records
An adaptive algorithm for detection of duplicate recordsAn adaptive algorithm for detection of duplicate records
An adaptive algorithm for detection of duplicate records
 
Project 2
Project 2Project 2
Project 2
 
Network Optimization Brief
Network Optimization BriefNetwork Optimization Brief
Network Optimization Brief
 
search engine for images
search engine for imagessearch engine for images
search engine for images
 
Pyramid Vector Quantization
Pyramid Vector QuantizationPyramid Vector Quantization
Pyramid Vector Quantization
 
Graph Matching
Graph MatchingGraph Matching
Graph Matching
 
presentation
presentationpresentation
presentation
 
Shape Matching and Object Recognition Using Shape Contexts
Shape Matching and Object Recognition Using Shape ContextsShape Matching and Object Recognition Using Shape Contexts
Shape Matching and Object Recognition Using Shape Contexts
 
Thesis_Draft_Nurkhaidarov
Thesis_Draft_NurkhaidarovThesis_Draft_Nurkhaidarov
Thesis_Draft_Nurkhaidarov
 
Algorithms 101 for Data Scientists
Algorithms 101 for Data ScientistsAlgorithms 101 for Data Scientists
Algorithms 101 for Data Scientists
 
Fourier Transform Assignment Help
Fourier Transform Assignment HelpFourier Transform Assignment Help
Fourier Transform Assignment Help
 
002
002002
002
 

Similar to Mathcad - cp (computational physics) with python - example example 0.1.1.xmcd

Ee2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebraEe2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebra
CK Yang
 
Improved Parallel Prefix Algorithm on OTIS-Mesh of Trees
Improved Parallel Prefix Algorithm on OTIS-Mesh of TreesImproved Parallel Prefix Algorithm on OTIS-Mesh of Trees
Improved Parallel Prefix Algorithm on OTIS-Mesh of Trees
IDES Editor
 
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
SSA KPI
 
Optimal Power System Planning with Renewable DGs with Reactive Power Consider...
Optimal Power System Planning with Renewable DGs with Reactive Power Consider...Optimal Power System Planning with Renewable DGs with Reactive Power Consider...
Optimal Power System Planning with Renewable DGs with Reactive Power Consider...
International Journal of Power Electronics and Drive Systems
 
COMBINED ECONOMIC AND EMISSION DISPATCH WITH AND WITHOUT CONSIDERING TRANSMIS...
COMBINED ECONOMIC AND EMISSION DISPATCH WITH AND WITHOUT CONSIDERING TRANSMIS...COMBINED ECONOMIC AND EMISSION DISPATCH WITH AND WITHOUT CONSIDERING TRANSMIS...
COMBINED ECONOMIC AND EMISSION DISPATCH WITH AND WITHOUT CONSIDERING TRANSMIS...
cscpconf
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
Sudheesh S Madhav
 
Lesson 29
Lesson 29Lesson 29
Lesson 29
Avijit Kumar
 
AI Lesson 29
AI Lesson 29AI Lesson 29
AI Lesson 29
Assistant Professor
 
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...
IJERA Editor
 
Assignment premier academic writing agency with industry
Assignment premier academic writing agency with industry Assignment premier academic writing agency with industry
Assignment premier academic writing agency with industry
Nicole Valerio
 
Quatum fridge
Quatum fridgeQuatum fridge
Quatum fridge
Jun Steed Huang
 
2002 santiago et al
2002 santiago et al2002 santiago et al
2002 santiago et al
CosmoSantiago
 
A new approach in specifying the inverse quadratic matrix in modulo-2 for con...
A new approach in specifying the inverse quadratic matrix in modulo-2 for con...A new approach in specifying the inverse quadratic matrix in modulo-2 for con...
A new approach in specifying the inverse quadratic matrix in modulo-2 for con...
Anax Fotopoulos
 
ON THE DUALITY FEATURE OF P-CLASS PROBLEMS AND NP COMPLETE PROBLEMS
ON THE DUALITY FEATURE OF P-CLASS PROBLEMS AND NP COMPLETE PROBLEMSON THE DUALITY FEATURE OF P-CLASS PROBLEMS AND NP COMPLETE PROBLEMS
ON THE DUALITY FEATURE OF P-CLASS PROBLEMS AND NP COMPLETE PROBLEMS
cscpconf
 
19 avadhanam kartikeya sarma 177-185
19 avadhanam kartikeya sarma 177-18519 avadhanam kartikeya sarma 177-185
19 avadhanam kartikeya sarma 177-185
Alexander Decker
 
Novel Parallel - Perfix Structure Binary to Residue Number System Conversion ...
Novel Parallel - Perfix Structure Binary to Residue Number System Conversion ...Novel Parallel - Perfix Structure Binary to Residue Number System Conversion ...
Novel Parallel - Perfix Structure Binary to Residue Number System Conversion ...
CSCJournals
 
Fundamentals of quantum computing part i rev
Fundamentals of quantum computing   part i revFundamentals of quantum computing   part i rev
Fundamentals of quantum computing part i rev
PRADOSH K. ROY
 
Optimal L-shaped matrix reordering, aka graph's core-periphery
Optimal L-shaped matrix reordering, aka graph's core-peripheryOptimal L-shaped matrix reordering, aka graph's core-periphery
Optimal L-shaped matrix reordering, aka graph's core-periphery
Francesco Tudisco
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
EasyStudy3
 
Programmable array-logic-and-programmable-logic-array
Programmable array-logic-and-programmable-logic-arrayProgrammable array-logic-and-programmable-logic-array
Programmable array-logic-and-programmable-logic-array
Jher Carlson Atasan
 

Similar to Mathcad - cp (computational physics) with python - example example 0.1.1.xmcd (20)

Ee2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebraEe2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebra
 
Improved Parallel Prefix Algorithm on OTIS-Mesh of Trees
Improved Parallel Prefix Algorithm on OTIS-Mesh of TreesImproved Parallel Prefix Algorithm on OTIS-Mesh of Trees
Improved Parallel Prefix Algorithm on OTIS-Mesh of Trees
 
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
 
Optimal Power System Planning with Renewable DGs with Reactive Power Consider...
Optimal Power System Planning with Renewable DGs with Reactive Power Consider...Optimal Power System Planning with Renewable DGs with Reactive Power Consider...
Optimal Power System Planning with Renewable DGs with Reactive Power Consider...
 
COMBINED ECONOMIC AND EMISSION DISPATCH WITH AND WITHOUT CONSIDERING TRANSMIS...
COMBINED ECONOMIC AND EMISSION DISPATCH WITH AND WITHOUT CONSIDERING TRANSMIS...COMBINED ECONOMIC AND EMISSION DISPATCH WITH AND WITHOUT CONSIDERING TRANSMIS...
COMBINED ECONOMIC AND EMISSION DISPATCH WITH AND WITHOUT CONSIDERING TRANSMIS...
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
 
Lesson 29
Lesson 29Lesson 29
Lesson 29
 
AI Lesson 29
AI Lesson 29AI Lesson 29
AI Lesson 29
 
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...
 
Assignment premier academic writing agency with industry
Assignment premier academic writing agency with industry Assignment premier academic writing agency with industry
Assignment premier academic writing agency with industry
 
Quatum fridge
Quatum fridgeQuatum fridge
Quatum fridge
 
2002 santiago et al
2002 santiago et al2002 santiago et al
2002 santiago et al
 
A new approach in specifying the inverse quadratic matrix in modulo-2 for con...
A new approach in specifying the inverse quadratic matrix in modulo-2 for con...A new approach in specifying the inverse quadratic matrix in modulo-2 for con...
A new approach in specifying the inverse quadratic matrix in modulo-2 for con...
 
ON THE DUALITY FEATURE OF P-CLASS PROBLEMS AND NP COMPLETE PROBLEMS
ON THE DUALITY FEATURE OF P-CLASS PROBLEMS AND NP COMPLETE PROBLEMSON THE DUALITY FEATURE OF P-CLASS PROBLEMS AND NP COMPLETE PROBLEMS
ON THE DUALITY FEATURE OF P-CLASS PROBLEMS AND NP COMPLETE PROBLEMS
 
19 avadhanam kartikeya sarma 177-185
19 avadhanam kartikeya sarma 177-18519 avadhanam kartikeya sarma 177-185
19 avadhanam kartikeya sarma 177-185
 
Novel Parallel - Perfix Structure Binary to Residue Number System Conversion ...
Novel Parallel - Perfix Structure Binary to Residue Number System Conversion ...Novel Parallel - Perfix Structure Binary to Residue Number System Conversion ...
Novel Parallel - Perfix Structure Binary to Residue Number System Conversion ...
 
Fundamentals of quantum computing part i rev
Fundamentals of quantum computing   part i revFundamentals of quantum computing   part i rev
Fundamentals of quantum computing part i rev
 
Optimal L-shaped matrix reordering, aka graph's core-periphery
Optimal L-shaped matrix reordering, aka graph's core-peripheryOptimal L-shaped matrix reordering, aka graph's core-periphery
Optimal L-shaped matrix reordering, aka graph's core-periphery
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Programmable array-logic-and-programmable-logic-array
Programmable array-logic-and-programmable-logic-arrayProgrammable array-logic-and-programmable-logic-array
Programmable array-logic-and-programmable-logic-array
 

More from Julio Banks

Apologia - A Call for a Reformation of Christian Protestants Organizations.pdf
Apologia - A Call for a Reformation of Christian Protestants Organizations.pdfApologia - A Call for a Reformation of Christian Protestants Organizations.pdf
Apologia - A Call for a Reformation of Christian Protestants Organizations.pdf
Julio Banks
 
Mathcad - CMS (Component Mode Synthesis) Analysis.pdf
Mathcad - CMS (Component Mode Synthesis) Analysis.pdfMathcad - CMS (Component Mode Synthesis) Analysis.pdf
Mathcad - CMS (Component Mode Synthesis) Analysis.pdf
Julio Banks
 
MathCAD - Synchronicity Algorithm.pdf
MathCAD - Synchronicity Algorithm.pdfMathCAD - Synchronicity Algorithm.pdf
MathCAD - Synchronicity Algorithm.pdf
Julio Banks
 
Sharing the gospel with muslims
Sharing the gospel with muslimsSharing the gospel with muslims
Sharing the gospel with muslims
Julio Banks
 
Mathcad explicit solution cubic equation examples
Mathcad   explicit solution cubic equation examplesMathcad   explicit solution cubic equation examples
Mathcad explicit solution cubic equation examples
Julio Banks
 
Math cad prime the relationship between the cubit, meter, pi and the golden...
Math cad prime   the relationship between the cubit, meter, pi and the golden...Math cad prime   the relationship between the cubit, meter, pi and the golden...
Math cad prime the relationship between the cubit, meter, pi and the golden...
Julio Banks
 
Mathcad day number in the year and solar declination angle
Mathcad   day number in the year and solar declination angleMathcad   day number in the year and solar declination angle
Mathcad day number in the year and solar declination angle
Julio Banks
 
Transcript for abraham_lincoln_thanksgiving_proclamation_1863
Transcript for abraham_lincoln_thanksgiving_proclamation_1863Transcript for abraham_lincoln_thanksgiving_proclamation_1863
Transcript for abraham_lincoln_thanksgiving_proclamation_1863
Julio Banks
 
Thanksgiving and lincolns calls to prayer
Thanksgiving and lincolns calls to prayerThanksgiving and lincolns calls to prayer
Thanksgiving and lincolns calls to prayer
Julio Banks
 
Jannaf 10 1986 paper by julio c. banks, et. al.-ballistic performance of lpg ...
Jannaf 10 1986 paper by julio c. banks, et. al.-ballistic performance of lpg ...Jannaf 10 1986 paper by julio c. banks, et. al.-ballistic performance of lpg ...
Jannaf 10 1986 paper by julio c. banks, et. al.-ballistic performance of lpg ...
Julio Banks
 
Man's search-for-meaning-viktor-frankl
Man's search-for-meaning-viktor-franklMan's search-for-meaning-viktor-frankl
Man's search-for-meaning-viktor-frankl
Julio Banks
 
Love versus shadow self
Love versus shadow selfLove versus shadow self
Love versus shadow self
Julio Banks
 
Exposing the truth about the qur'an
Exposing the truth about the qur'anExposing the truth about the qur'an
Exposing the truth about the qur'an
Julio Banks
 
NASA-TM-X-74335 --U.S. Standard Atmosphere 1976
NASA-TM-X-74335 --U.S. Standard Atmosphere 1976NASA-TM-X-74335 --U.S. Standard Atmosphere 1976
NASA-TM-X-74335 --U.S. Standard Atmosphere 1976
Julio Banks
 
Mathcad P-elements linear versus nonlinear stress 2014-t6
Mathcad   P-elements linear versus nonlinear stress 2014-t6Mathcad   P-elements linear versus nonlinear stress 2014-t6
Mathcad P-elements linear versus nonlinear stress 2014-t6
Julio Banks
 
Apologia - The martyrs killed for clarifying the bible
Apologia - The martyrs killed for clarifying the bibleApologia - The martyrs killed for clarifying the bible
Apologia - The martyrs killed for clarifying the bible
Julio Banks
 
Apologia - Always be prepared to give a reason for the hope that is within yo...
Apologia - Always be prepared to give a reason for the hope that is within yo...Apologia - Always be prepared to give a reason for the hope that is within yo...
Apologia - Always be prepared to give a reason for the hope that is within yo...
Julio Banks
 
Spontaneous creation of the universe ex nihil by maya lincoln and avi wasser
Spontaneous creation of the universe ex nihil by maya lincoln and avi wasserSpontaneous creation of the universe ex nihil by maya lincoln and avi wasser
Spontaneous creation of the universe ex nihil by maya lincoln and avi wasser
Julio Banks
 
The “necessary observer” that quantum mechanics require is described in the b...
The “necessary observer” that quantum mechanics require is described in the b...The “necessary observer” that quantum mechanics require is described in the b...
The “necessary observer” that quantum mechanics require is described in the b...
Julio Banks
 
Advances in fatigue and fracture mechanics by grzegorz (greg) glinka
Advances in fatigue and fracture mechanics by grzegorz (greg) glinkaAdvances in fatigue and fracture mechanics by grzegorz (greg) glinka
Advances in fatigue and fracture mechanics by grzegorz (greg) glinka
Julio Banks
 

More from Julio Banks (20)

Apologia - A Call for a Reformation of Christian Protestants Organizations.pdf
Apologia - A Call for a Reformation of Christian Protestants Organizations.pdfApologia - A Call for a Reformation of Christian Protestants Organizations.pdf
Apologia - A Call for a Reformation of Christian Protestants Organizations.pdf
 
Mathcad - CMS (Component Mode Synthesis) Analysis.pdf
Mathcad - CMS (Component Mode Synthesis) Analysis.pdfMathcad - CMS (Component Mode Synthesis) Analysis.pdf
Mathcad - CMS (Component Mode Synthesis) Analysis.pdf
 
MathCAD - Synchronicity Algorithm.pdf
MathCAD - Synchronicity Algorithm.pdfMathCAD - Synchronicity Algorithm.pdf
MathCAD - Synchronicity Algorithm.pdf
 
Sharing the gospel with muslims
Sharing the gospel with muslimsSharing the gospel with muslims
Sharing the gospel with muslims
 
Mathcad explicit solution cubic equation examples
Mathcad   explicit solution cubic equation examplesMathcad   explicit solution cubic equation examples
Mathcad explicit solution cubic equation examples
 
Math cad prime the relationship between the cubit, meter, pi and the golden...
Math cad prime   the relationship between the cubit, meter, pi and the golden...Math cad prime   the relationship between the cubit, meter, pi and the golden...
Math cad prime the relationship between the cubit, meter, pi and the golden...
 
Mathcad day number in the year and solar declination angle
Mathcad   day number in the year and solar declination angleMathcad   day number in the year and solar declination angle
Mathcad day number in the year and solar declination angle
 
Transcript for abraham_lincoln_thanksgiving_proclamation_1863
Transcript for abraham_lincoln_thanksgiving_proclamation_1863Transcript for abraham_lincoln_thanksgiving_proclamation_1863
Transcript for abraham_lincoln_thanksgiving_proclamation_1863
 
Thanksgiving and lincolns calls to prayer
Thanksgiving and lincolns calls to prayerThanksgiving and lincolns calls to prayer
Thanksgiving and lincolns calls to prayer
 
Jannaf 10 1986 paper by julio c. banks, et. al.-ballistic performance of lpg ...
Jannaf 10 1986 paper by julio c. banks, et. al.-ballistic performance of lpg ...Jannaf 10 1986 paper by julio c. banks, et. al.-ballistic performance of lpg ...
Jannaf 10 1986 paper by julio c. banks, et. al.-ballistic performance of lpg ...
 
Man's search-for-meaning-viktor-frankl
Man's search-for-meaning-viktor-franklMan's search-for-meaning-viktor-frankl
Man's search-for-meaning-viktor-frankl
 
Love versus shadow self
Love versus shadow selfLove versus shadow self
Love versus shadow self
 
Exposing the truth about the qur'an
Exposing the truth about the qur'anExposing the truth about the qur'an
Exposing the truth about the qur'an
 
NASA-TM-X-74335 --U.S. Standard Atmosphere 1976
NASA-TM-X-74335 --U.S. Standard Atmosphere 1976NASA-TM-X-74335 --U.S. Standard Atmosphere 1976
NASA-TM-X-74335 --U.S. Standard Atmosphere 1976
 
Mathcad P-elements linear versus nonlinear stress 2014-t6
Mathcad   P-elements linear versus nonlinear stress 2014-t6Mathcad   P-elements linear versus nonlinear stress 2014-t6
Mathcad P-elements linear versus nonlinear stress 2014-t6
 
Apologia - The martyrs killed for clarifying the bible
Apologia - The martyrs killed for clarifying the bibleApologia - The martyrs killed for clarifying the bible
Apologia - The martyrs killed for clarifying the bible
 
Apologia - Always be prepared to give a reason for the hope that is within yo...
Apologia - Always be prepared to give a reason for the hope that is within yo...Apologia - Always be prepared to give a reason for the hope that is within yo...
Apologia - Always be prepared to give a reason for the hope that is within yo...
 
Spontaneous creation of the universe ex nihil by maya lincoln and avi wasser
Spontaneous creation of the universe ex nihil by maya lincoln and avi wasserSpontaneous creation of the universe ex nihil by maya lincoln and avi wasser
Spontaneous creation of the universe ex nihil by maya lincoln and avi wasser
 
The “necessary observer” that quantum mechanics require is described in the b...
The “necessary observer” that quantum mechanics require is described in the b...The “necessary observer” that quantum mechanics require is described in the b...
The “necessary observer” that quantum mechanics require is described in the b...
 
Advances in fatigue and fracture mechanics by grzegorz (greg) glinka
Advances in fatigue and fracture mechanics by grzegorz (greg) glinkaAdvances in fatigue and fracture mechanics by grzegorz (greg) glinka
Advances in fatigue and fracture mechanics by grzegorz (greg) glinka
 

Recently uploaded

[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
PuktoonEngr
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 

Recently uploaded (20)

[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 

Mathcad - cp (computational physics) with python - example example 0.1.1.xmcd

  • 1. Mathcad -- CP (Computational Physics) with Python - Example Example 0.1.1.xmcd First Example of Computational Physics Using Python by Julio C. Banks, PE Reference Computational Physics With Python by Dr. Eric Ayars - 2013 Page 6. Copyright c 2013 Eric Ayars except where otherwise noted. Version 0.9, August 18, 2013. Note: Julia is a computer language similar to Python but unlike Python, Julia is compiled. Solve the system of linear algebraic equations [A]{x} = {b} Example 0.1.1 In electronics, Kirchho's laws are used to solve for the currents through components in circuit networks. Applying these laws gives us systems of linear equations, which can then be expressed as matrix equations, such as A 13 2 4 2 11 6 4 6 15          x IA IB IC           = b 5 10 5          Python solution Input: A = matrix([ [-13,2,4], [2,-11,6], [4,6,-15] ]) B = array([5,-10,5]) Solution: linalg.solve(A,B) --> array([-0.28624535, 0.81040892, -0,08550186]) Mathcad v15 Solution: x A 1 b 0.28624535 0.81040892 0.08550186          Post Process: IA IB IC           x 0.28624535 0.81040892 0.08550186          Julio C. Banks, PE Sell-A-Vision@Outlook.com page 1 of 1