Question: Create the following numpy array: x = [3.1, 3.5, 4.5, 2.9, -3.1, -3.5, -5.9]. Then find and display the following: around of x floor

Create the following numpy array: x = [3.1, 3.5, 4.5, 2.9, -3.1,-3.5, -5.9]. Then find and display the following: around of x floorof x Ceil of x trunc x 5. Using numpy create twomatrices A and B as: A [23 41 567 and B [12

Create the following numpy array: x = [3.1, 3.5, 4.5, 2.9, -3.1, -3.5, -5.9]. Then find and display the following: around of x floor of x Ceil of x trunc x 5. Using numpy create two matrices A and B as: A [23 41 567 and B [12 15 13 14 16 17 Then, find and display the following: A + B, 2A, 2A + 5B, 5A 2A, A * B, A ^ 2, A ^ 2 + B ^2. 6. Write a Python program to solve the following system of linear equations. 4w+x+2y-3z=-16 -3w+3x-y+4z=20 -w+2x+5y + z = -4 5w+4x+3y-z=-10 Find the solution for w, x, y and z. Note: You need to construct a matrix A and b as follow. Then the solution will be A^(-1) b 4 1 2-31 -3 3 -14 -161 20 A= -12 5 1 -4 5 4 3 -1, -10] 7. Solve the following system of linear equations using the same method used in question 6. - x1 + x2 x3 + x4 -1 2x12x2 x3 + x4 - = = 0 - 4x1 x2 + 2x3 + 5x4 -x1 +1.5x2 2.7x3 + 0.5x4 = 3 0.5 8. Solve the following circuit for current in loop A, B and C. Use the following system of linear equations. -15+0.68(-1)+0.68(1-1)= 0 0.68(-1)+0.68 I +0.56(I-Ic) = 0 0.68(-1)+0.56(Ic Is)+1.0I = 0 VS +15 V Loop A 6800 R R3 Loop B 680 R ww 560Q R Loop C 6800 R 1.0 kQ

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!