Question

Question 10 O pts This is worth 5 extra credit points. Create a vector ODD of odd integers in the interval (-7:15). Create a
0 0
Add a comment Improve this question Transcribed image text
Answer #1

import numpy as np

odd = []

even = []

for i in range(-7,16,2):

odd.append(i)

for i in range(14,-9,-2):

even.append(i)

result = np.multiply.outer(odd,even)

print(result)

1 import numpy as np 2 3 odd = 0 4 even = 0 5 for i in range( -7,16,2): 6 odd.append(i) 7 8 for i in range (14,-9,-2): 9 even

Add a comment
Know the answer?
Add Answer to:
Question 10 O pts This is worth 5 extra credit points. Create a vector ODD of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Extra Credit: This problem is worth 10 extra points on top of the 100 total points...

    Extra Credit: This problem is worth 10 extra points on top of the 100 total points in the exam. However, even if you correctly answer this question, your total score is still capped at 100. (10 points) Suppose Arijit (A) and Jon (J) are the only two consumers of two kinds of goods X and Y Arijit and Jon each has utility function such that the Marginal Utility of X is criven by y, and the Marginal Utility of Y...

  • WRITE A PROGRAM IN C++ THAT DECLARES AN INTEGER VECTOR V 1.)INITIALIZE THE VECTOR, V, WITH...

    WRITE A PROGRAM IN C++ THAT DECLARES AN INTEGER VECTOR V 1.)INITIALIZE THE VECTOR, V, WITH 10 INTEGERS WITH VALUES FROM 1 TO 10 2.)OUTPUT THE VECTOR IN DESCENDING ORDER, THEN ASCENDING ORDER 2.)ADD ALL THE EVEN NUMBERS 3.)ADD ALL THE ODD NUMBERS 4.)OUTPUT THE SUM OF EVEN INTEGERS 5.)OUTPUT THE SUM OF ODD INTEGERS 7.)OUTPUT THE PRODUCT OF EVEN INTEGERS 8.)OUTPUT THE PRODUCT OF ODD INTEGERS SAMPLE: Vector: 2 4 3 5 2 3 8 9 1 10 Ascending...

  • d=6.2cm u Tv 26cm Extra Credit worth 5 points: The magnetic field through the center of...

    d=6.2cm u Tv 26cm Extra Credit worth 5 points: The magnetic field through the center of this solenoid is 4.50 T. The solenoid has the dimensions shown. Determine the energy stored in the magnetic field of this solenoid. (Note: the number of windings on this solenoid is not known, i.e. N is not equal to 7 as in the diagram!) O 1.41 kJ O 6.32 kJ O 12.6 kJ O 25.3 kJ O 93.6 kJ

  • Y(x) A -2 +2 х Extra Credit worth 5 pts: The graph above represents a wave...

    Y(x) A -2 +2 х Extra Credit worth 5 pts: The graph above represents a wave function (x) for a particle confined to -2.00 m < x < 2.00 m. What is the normalized wave function w(x) in the region where -2.00 m <x< 2.00 m? (Show ALL work!) 1 2 Ows + 1 4 o x+2 4 0 w x2+2x+4 16 -(x+2)

  • Extra Credit, 40 points. There are 15 extra credit problems in the 4 tables below. The answers to these 15 problems are contained in the Extra Credit Answer Table Below. On your multiple choice a...

    Extra Credit, 40 points. There are 15 extra credit problems in the 4 tables below. The answers to these 15 problems are contained in the Extra Credit Answer Table Below. On your multiple choice answer sheet, write the number from the Extra Credit Answer Table that best corresponds to the 15 extra credit problems 50 Table 1. Extra Credit Problems 1-4 1. calcium nitride 2. Sr3(PO4)2 3. HCO Table 2. Extra Credit Problems 5-8 group of the periodic table. 6...

  • Question 10 O pts BONUS QUESTION WORTH 10 points! TWO TAIL TEST: Suppose that a random...

    Question 10 O pts BONUS QUESTION WORTH 10 points! TWO TAIL TEST: Suppose that a random sampleof 16 measures from a normally distributed population gives a sample mean of x 13.5 and a sample standard deviation of s-6. The Null Hypothesis is equal to 15 and the Alternate Hypothesis is not equal to 15. Using hypothesis testing for T values, do you reject the null hypothesis at alpha - 10 level of signingance? yes no maybe 23 not sure

  • **Two points extra credit for every code - Assignment worth total of 14 extra credit points...

    **Two points extra credit for every code - Assignment worth total of 14 extra credit points ** 1. Two surgeons work together to perform an arthrodesis. Dr. Bonet, a general surgeon, makes the anterior incision to gain access to the spine for the arthrodesis procedure. Dr. Carpenter, the neurosurgeon, takes over and performs the anterior interbody arthrodesis on level T9-T10 utilizing a structural allograft. To stabilize the fusion site, the same physician also applied anterior instrumentation to T9-T10. Dr. Bonet...

  • **Two points extra credit for every code - Assignment worth total of 14 extra credit points...

    **Two points extra credit for every code - Assignment worth total of 14 extra credit points ** 1. Two surgeons work together to perform an arthrodesis. Dr. Bonet, a general surgeon, makes the anterior incision to gain access to the spine for the arthrodesis procedure. Dr. Carpenter, the neurosurgeon, takes over and performs the anterior interbody arthrodesis on level T9-T10 utilizing a structural allograft. To stabilize the fusion site, the same physician also applied anterior instrumentation to T9-T10. Dr. Bonet...

  • Question 1 0.25 pts This is an extra credit problem. It is optional. The Creighton family...

    Question 1 0.25 pts This is an extra credit problem. It is optional. The Creighton family owns a vacation rental which generates $13,752 in income each quarter. The family outsources maintenance to another company which charges $1,140 per quarter, with the amount increasing by $14 each subsequent quarter. What is the equivalent uniform quarterly worth of the vacation rental when looked at over a 12-year planning period? Use a nominal annual interest rate of 7%, compounded quarterly to make the...

  • Question 7 0.2 pts This is an extra credit review problem. It is not required. Assume...

    Question 7 0.2 pts This is an extra credit review problem. It is not required. Assume you have $4,642 to invest today in an account paying 4% compounded annually. How many years will it take before you have $14,975 in your account? Enter your answer as: 12 Round your answer. Do not use a decimal point or any units. Question 8 0.25 pts This is an extra credit review problem. It is not required. You developed a new product that...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT