Solve a Matrix for unknows in Python / Numpy / Scipy -
i need solve system of matrices unkowns u4,f1,f2,f3,f5 , f6 particular fea problem. have generated matrix containing numbers input , need solve these knowns.
the code should act follows:
0 + 0 + 0 + 150*1000*u4 + 0 + 0 = −1732
therefore, u4=-0.01154
so other unknowns can found out follows:
0 + 0 + 0 + (43:4)(−0:0115) 1000 + 0 + 0 = f1
therefore f1=-500 , on....
i beginner , familiar basics of numpy , python oop. please me set code this.

in [0]: import numpy np in [1]: = np.random.rand(6,6) in [2]: a4 = a[3,:] in [3]: u4 = -1732/a4[3] in [4]: f = a4*u4 in [5]: f out[5]: array([ -246.6101995 , -589.6732277 , -574.67690895, -1732. , -2592.99948033, -2383.52077134]) replace a or atleast fourth column a4 data...
Comments
Post a Comment