Question: Your Tasks 1 ) Compute the system response ( unknown quantities ) Write the function solveSystem ( ) that takes six input arguments k _
Your Tasks
Compute the system response unknown quantities
Write the function solveSystem that takes six input arguments kpp kpf kfp kff up pf and returns two outputs uf and pp
Input arguments:
kpp: a D NumPy array that represents the Kpp submatrix.
kpf: a D NumPy array that represents the Kpf submatrix.
kfp: a D NumPy array that represents the Kfp submatrix.
kff: a D NumPy array that represents the Kff submatrix.
up: a D NumPy array that stores the known prescribed displacement values Up
pf: a D NumPy array that stores the known force values Pf
Outputs:
uf: a D NumPy array that stores the displacement values of the free nodes Uf
pp: a D NumPy array that stores the reaction forces on the prescribed nodes Pp
Some things to consider:
Be aware of data types. What should the data type of uf and pp be
You can use the @ character to represent matrix dot products. For example, AB can be expressed as A @ B in Python, where A B are NumPy arrays.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
