Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Fle Edt View Insert Cell Keme Holb Trusted Python 3 O 220 Run Code 3. Basic Array Arithmetic Question 1. Multiply the numbers 42. 4224,42422424,

image text in transcribed
Fle Edt View Insert Cell Keme Holb Trusted Python 3 O 220 Run Code 3. Basic Array Arithmetic Question 1. Multiply the numbers 42. 4224,42422424, and -250 by 157. Assign each variable below such that first product is assigned to the result of 42. 157, second product is assigned to the result of 4224 157 and so on For this question, don't use arrays. In t 1 N first product ... second product third product fourth product print(first_product, second product, third product, fourth product) Question 2. Now, do the same calculation, but using an array called numbers and only a singlo multiplication (*) cporntor. Store the results in an array named products In [ 1 numbers products products Question 3. Oops, we made a typol instead of 157, we wanted to multiply each number by 1577 Compute the correct products in the cell below using array arithmetic. Notice that your job is only easy if you previously defined an array containing the number In 1 Ncorrect products correct products Question 4. We've loaded an array of temperatures in the next cell Each number is the highest temperature observed on a day at a climate observation station, mostly from the US Since they're from the US goverment agency NOAA, on the temperatures are in Fahrenheit Convert them all to Celsius by first subtracting 32 from them, then multiplying the results by Make sure to ROUND the final result after converting to Colous to the nearest Integer siro the np. round function In tl max tenperatures - Table read table("renperatures.csv').column("Dally Mae Temperature) celsius_max_temperatures - celsius_max_temperatures

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

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions