Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals of Materials Science and Engineering An Integrated Approach

Authors: David G. Rethwisch

4th Edition

1118214226, 1118061608, 9781118214220, 978-1118061602

More Books

Students also viewed these Mechanical Engineering questions

Question

construct and interpret a scatterplot of bivariate numerical data.

Answered: 1 week ago