What technique is used to store sound waves as binary numbers?

Answers

Answer 1

Answer:

Sound waves are analogue and therefore they need to be converted into binary in order for a computer to be able to process them. To do this, the computer must convert the waveform into a numerical representation so that the waveform can be stored digitally. For this, we use an Analogue-to-Digital Convertor (ADC).

Explanation:

Answer 2
Sound waves aren’t a digital standard so they used conversion

Related Questions

what is the fullform of BIT​

Answers

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

The full Form of BIT is "Binary digit" which is the basic unit of information in computing . A Binary digit can be 0 or 1 . 0 represents off state & 1 represents on state .

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

give the full form of http​

Answers

Hypertext Transfer Protocol
h is for hyper
the T in text is the first T
transfer is the second T
and P is for protocol

HTTP hope that helps

The full from of http is hypertext Transfer Protocol

give the full form of GUI​

Answers

Explanation:

graphical user interface

Answer:-

GUI ➺ Graphical User Interface.

To insert a new column to left of a specific column right click the header containing the columns letter and select

Answers

To insert a new column to the left of a specific column, right-click the header containing the column's letter and select simply right-click on any cell in a column, right-click and then click on Insert.

What is inserting columns?

By doing so, the Insert dialog box will open, allowing you to choose "Entire Column." By doing this, a column would be added to the left of the column where the cell was selected.

Go to Home > Insert > Insert Sheet Columns or Delete Sheet Columns after selecting any cell in the column. You might also right-click the column's top and choose Insert or Delete.

Therefore, to insert a column, right-click the header containing the column's letter.

To learn more about inserting columns, refer to the link:

https://brainly.com/question/5054742

#SPJ1

why does computer need memory​

Answers

so that they can store your things you download.

Answer:

To Help you keep your cherisable and memorable moments.

what is the main objective of the administrator when creating and assigning storage accounts to users?

Answers

Note that the main objective of the administrator when creating and assigning storage accounts to Users is "to provide them with a secure and reliable method of storing and accessing their data, while also maintaining control and visibility over the data and its usage. "

What is an Administrator in IT?

IT administrators, also known as system administrators, configure and manage the computers, servers, networks, corporate software, and security systems of a business. They also assist the organization stay comply with cybersecurity rules by optimizing internal IT infrastructure for increased efficiency.

A competent administrator must understand networks and how to handle network problems. Basic hardware expertise is required. Understanding of backup, restoration, and recovery techniques. Excellent knowledge of permissions and user management

Learn more about Storage Accounts:
https://brainly.com/question/29929029
#SPJ1

Which company gave Apple its big break in the business market?

Commodore Business Machines
Software Arts
Tandy Corporation
Microsoft

Answers

Answer:

Microsoft

Explanation: I’m not a computer fanatic, but everybody should know this. And if anything else is the answer, then that’s because it would’ve been in the text that I DON’T have.

Answer: software arts

Explanation:

i just did it

Write the following program: Use struct data type to store information about courses. Every course is characterized by the following information: 1) Title (up to 20 characters); 2) Number of credits (integer); 3) Instructor (up to 15 characters); and 4) the suggested order of the course in the course sequence of the major (integer; Two courses can have the same suggested order).
- The information about individual courses is read from an input file.
- Store the information about all courses in an array and then display the content of the array.
- Order the courses in the alphabetical order of their titles and then display all the courses.
- Order the courses in the suggested order of the courses, such that one course with a lower suggested order is always before a course with a higher suggested order. Assuming that a student cannot take more than X credits per year (the value X is read from the keyboard), display what courses a student should take every year, so that courses are following the suggested order and the number of credits per year does not exceed the limit X.
Note: Extra credit is given if dynamic data structures are used.
example:
Inputfile: ESE999 5 Marshmello 2
MAT123 3 David 1
CSE123 4 Armin 3
JPN123 1 Martin 3
AMS123 2 Dimitri 1
Output:(display the content of the array):
ESE999 5 Marshmello 2
MAT123 3 David 1
CSE123 4 Armin 3
JPN123 1 Martin 3
AMS123 2 Dimitri 1
Output:(Order the courses in the alphabetical order of their titles and then display all the courses.)
AMS123 2 Dimitri 1
CSE123 4 Armin 3
ESE999 5 Marshmello 2
JPN123 1 Martin 3
MAT123 3 David 1
(Order the courses in the suggested order of the courses):
Input: 6
Output:
Year 1:
AMS123 2 Dimitri 1
MAT123 3 David 1
Year 2:
ESE999 5 Marshmello 2
JPN123 1 Martin 3
Year 3:
CSE123 4 Armin 3

Answers

I need this answer to 12

Consider the following code segment.
int[][] arr = {{3, 2, 1}, {4, 3, 5}};
for (int row = 0; row < arr.length; row++)
{
for (int col = 0; col < arr[row].length; col++)
{
if (col > 0)
{
if (arr[row][col] >= arr[row][col - 1])
{
System.out.println("Condition one");
}
}
if (arr[row][col] % 2 == 0)
{
System.out.println("Condition two");
}
}
}
As a result of executing the code segment, how many times are "Condition one" and "Condition two" printed?
A. "Condition one" is printed twice, and "Condition two" is printed twice.
B. "Condition one" is printed twice, and "Condition two" is printed once.
C. "Condition one" is printed once, and "Condition two" is printed twice.
D. "Condition one" is printed once, and "Condition two" is printed once.
E. "Condition one" is never printed, and "Condition two" is printed once.

Answers

Answer:

C. "Condition one" is printed once, and "Condition two" is printed twice.

Explanation:

Given

The above code segment

Required

The number of times [tex]each\ print\ statement[/tex] is executed

For "Condition one" to be printed, the following conditions must be true:

if (col > 0) ---- the column must be greater than 0 i.e. column 1 and 2

if (arr[row][col] >= arr[row][col - 1]) --- the current element must be greater than the element in the previous column

Through the iteration of the array, the condition is met just once. When

[tex]row = 1[/tex]  and   [tex]col = 2[/tex]

[tex]arr[1][2] > arr[1][2-1][/tex]

[tex]arr[1][2] > arr[1][1][/tex]

[tex]4 > 3[/tex]

For "Condition two" to be printed, the following condition must be true:

if (arr[row][col] % 2 == 0) ----array element must be even

Through the iteration of the array, the condition is met twice. When

[tex]row = 0[/tex]  and   [tex]col = 1[/tex]

[tex]row = 1[/tex]  and   [tex]col = 0[/tex]

[tex]arr[0][1] = 2[/tex]

[tex]arr[1][0] = 4[/tex]

Assign a pointer to any instance of searchChar in personName to searchResult #include iostream» 2 #include 3 using namespace std; 4 5 int main() 6 har personName [190]"Albert Johnson" 7 char searchChar 1 test passed All tests passed char* searchResult nulipt r; 10 searchChar-J'; IYour solution goes here 12 13 if (sea rc h Result coutくく"character ! nullptr) { found." くく endl; 15 16 else 17 18 19 20 return 0; 21 cout << "Character not found." << endl; Run

Answers

Answer:

Following are the code to the given question:

#include <iostream>//header file

#include <cstring>//header file

using namespace std;

int main() //main method  

{

   char personName[100] = "Albert Johnson";//defining a char array  

   char searchChar;//defining char variable

   char *searchResult = nullptr;//use pointer type char variable to holding value as nullptr

   searchChar = 'J';//holding char value

   char *ptr = personName;//using pointer type char variable that holds a value

   while (*ptr) //defining while loop that checks *ptr value

   {

       if (*ptr == searchChar) //use if that check *ptr value is equal to searchChar

       {

           searchResult = ptr;//holding ptr value in searchResult

       }

       ptr++;//incrementing ptr value

   }

   if (searchResult != nullptr) //use if that checks searchResult value not equal to nullptr

   {

       cout << "Character found." << endl;//print message

   }  

   else //else block

   {

       cout << "Character not found." << endl;//print message

   }

   return 0;

}  

Output:

Character found.

Explanation:

In this code inside the main method, a char array is declared that holds values.  

In the next step, some char variable and pointer type char variable are declared that holds values.

Inside the while loop, the pointer variable is used, and in the if the block it checks its value and holds its values.

Outside the loop, it checks searchResult value not equal to nullptr and prints the value as per the given condition.

Answer:

deez lOL LOLOLOLOL

Explanation:

python best hashing algorithm for passwords with mysql

Answers

Answer: So you Wait a minute I do believe that mysql is a sql cracking suit but you would need to build a hashing suit or you could use passlib.hash.mysql41 so you are looking to crack some stuff ok look at the file I sent.

Explanation:

What is the output of the following code segment?

String[] cs = "Elon Musk founded SpaceX on May 6, 2002.".split(" ");

System.out.println(cs.length);

Answers

Answer:

8

Explanation:

Select the correct answer.
Which symbol should you use for entering a formula in a cell?
A.
+
В.
=
c.
$
D. Divide
E. #

Answers

Answer:

equals operator...............

A ______ is a good choice for long-term archiving because the stored data do not degrade over time.

A) DVD-RW
B) DVD-R
C) solid state hard drive

Answers

Answer:

DVD-R is a good choice for long-term archiving because the stored data do not degrade over time. This is due to its write-once, read-many nature, which makes it less likely to degrade compared to magnetic tape, HDDs or solid-state drives (SSDs).

Explanation:

Explain how abstraction makes your computer easier to use. Give at least one example.

Answers

Abstraction removes all specific details, and any problems that will help you solve the problem. Thus makes your computer easier to use.

What is abstraction?

An abstraction is a generic thought as opposed to one that pertains to a specific thing, person, or circumstance. The concept of abstraction is one that applies to both the actual world and OOP languages.

The typical details of an idea are left out. Code that uses abstractions is simpler to comprehend since it focuses on the main functions and operations rather than the minute details. Don't program to implementations; program to interfaces.

Therefore, abstraction eliminates all specific information and any issues that could aid in problem-solving.

To learn more about abstraction, visit here:

https://brainly.com/question/23774067

#SPJ1

5. Which of the following is a hypothetical concept?
a. Limited Memory
b. Self-aware Al
Fill in the blanks.
1. Al processes large amount of data using algorithms.
2. The term Al was coined in the year
3. The domain of Al that makes systems improve their decision-making abilities is called
c. Reactive Machines
- Intelligent systems refer to an approach that employ computers in
J
uses neural networks to process data to gain insights and give solutions
for Falco

Answers

Involving or based on a hypothesis: conjectural; involving or based on a postulated concept or theory. speculative arguments a fictitious circumstance.

How should a hypothetical example be written?

The words or abbreviations "for instance," "for example," "i.e." or "e.g." are frequently used after a hypothetical example, albeit the latter two, as you are probably aware, will only come after a comma and won't initiate a new sentence like "for instance" or "for example." Use hypothetical examples with caution.

What is a fictitious person?

The human whose existence is implied by other data rather than directly attested. theoretical individual hypothetical (adj.) is a 1580s term that means "based on or defined by a hypothesis, conjectural," from the Latinized form of the Greek word hypothesis, which means "pertaining to a hypothesis."

to know more about the hypothetical concept here:

brainly.com/question/28260252

#SPJ1

How many binary digits does a single hexadecimal digit represent?

Answers

Four binary digits

A single hexadecimal digit can represent four binary digits.

Describing How to Print a Selected Record
Which tab contains the command to print a selected record?
O File
O Home
O Create
Design

Answers

Answer: A) File

Just took it (:

Answer:

a-file

Explanation:

its easy i just took the assignment

Which is true regarding pseudocode?
It uses simple words and symbols to communicate the design of a program,
It compiles and executes code.
It expresses only complex processes.
O It gives a graphical representation of a set of instructions to solve a problem.

Answers

Answer:

It uses simple words and symbols to communicate the design of a program

Explanation:

A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer on how to perform a specific task and solve a particular problem.

A software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications. There are seven (7) main stages in the creation of a software and these are;

1. Planning.

2. Analysis.

3. Design.

4. Development (coding).

5. Testing.

6. Implementation and execution.

7. Maintenance.

A pseudocode refers to the description of the steps contained in an algorithm using a plain or natural language. Also, a pseudocode gives a summary of the steps adopted during a software development process using simple (concise) words and symbols.

This ultimately implies that, a pseudocode uses simple words and symbols to communicate the design of a program.

Answer:

A: It uses simple words and symbols to communicate the design of a program

Explanation:

Credit to the person above me.

Demonstrate the Max() functio with example in ms excel

Answers

Make sure there is at least one blank cell underneath the list of integers you've chosen = MAX since this will insert a ready-to-use formula in a cell below the chosen range (C2:E7).

What does the term Max mean?

The highest-valued item, or the item with the highest value within an iterable, is returned by the max() method. If the values are strings, then the comparison is done alphabetically.

Give an example of the Max () function's purpose.

Any type of numeric data can have its maximum value returned by the MAX function. The slowest time in a race, the most recent date, the highest percentage, the highest temperature, or the biggest sales amount are just a few examples of the results that MAX can return. Multiple arguments are taken by the MAX function.

To know more about ms excel visit:-

https://brainly.com/question/20395091

#SPJ1

Create a program that asks the user to input three integers. After saving the values, the
program should identify the maximum and minimum from the three numbers. The output
should read
The minimum number entered was….
The maximum number entered was….

Answers

Here is a Python program that asks the user to input three integers and then outputs the minimum and maximum number:

technology helps to produce, manipulate, store, communicate, and/or disseminate information. a. Computer b. Nano c. Communication d. Information O O ​

Answers

The technology that helps to produce, manipulate, store, communicate, and/or disseminate information are:

a. Computer

b. Communication

d. Information

What is the technology  about?

Computer technology helps to produce, manipulate, store, and communicate information through various software and hardware.

Communication technology helps to disseminate information through various means of communication such as phone, internet, radio, and television.

Therefore, Information technology encompasses all technologies used to handle and process information, including computer and communication technology.

Learn more about Communication from

https://brainly.com/question/26152499

#SPJ1

which function in the random library will generate a random integer within a range of specified by two parameters? the range is inclusive of the two parameters

Answers

Ran dint Python function is the function in the random library will generate a random integer within a range of specified by two parameters.

What is Ran dint Python function?

With both inclusive parameters, the randint Python method returns an integer that was created at random from the provided range.

The randint() method provides a selected integer number from the given range. Note that randrange(start, stop+1) is an alias for this technique.

A value from a list or dictionary will be generated by the random command. And the randint command will choose an integer value at random from the provided list or dictionary.

Thus, Ran dint Python function.

For more information about Ran dint Python function, click here:

https://brainly.com/question/29823170

#SPJ1

Create a program for the given problems using one-dimensional array. Program to identify if the input number is odd or even.​

Answers

Answer:

Here's an example of a simple program in Python that uses a one-dimensional array to determine if a given number is odd or even:

def check_odd_even(arr):

   for i in range(len(arr)):

       if arr[i] % 2 == 0:

           print(str(arr[i]) + " is even")

       else:

           print(str(arr[i]) + " is odd")

# Example usage

numbers = [1, 2, 3, 4, 5, 6, 7]

check_odd_even(numbers)

The program defines a function check_odd_even that takes an array of numbers as an input. It then iterates over the array, checking the remainder of each number when divided by 2. If the remainder is 0, the number is even, if not then it is odd. The program then prints whether each number is even or odd.

You can input any array you want, of any lenght, and the function will work the same way.

Keep in mind that you can also check the parity in another ways, like using bitwise operation.

Explanation:

Code to be written in Python:
Correct answer will get the brainliest!

Uyen decides to write a Python program to count towards the next birthday.
In order to do so, she plans to write a function count_days(start_date, end_date) which takes in the start date and end date in the string format, "dd/mm/yyyy", and returns the number of days between the start date and end date. The start date is included while the end date is not included in the count. Note that leading zeros in start_date and end_date are skipped if there are any (For example, the date 1st January 2017 will be in the format 1/1/2017).

Currently, Uyen has only completed a skeleton of count_days, and a few helper functions, which are provided below.

Your Tasks:

(a) Help Uyen complete the four functions marked with 'TODO'. They are get_day_month_year, less_than_equal, next_date and count_days.

(b) Uyen was quite careless, she didn't check for input data validity. You will also need to help her with this. We only proceed to count days if the dates are valid, and the start date is before or same as the end date.

Assume a valid date is between 1/1/1970 and 31/12/9999. The leap year and valid date check are already provided.
If one of the dates is not valid, throw an exception with a message that has the value: "Not a valid date: " + date, where date is the invalid date.
If the start date is after the end date, throw an exception with a message value: "Start date must be less than or equal end date."

Note: is_leap_year(year) and is_valid(d, m, y) are provided, you can make use of them.

Incomplete code:

def is_leap_year(year):
# DONE: do not need to modify
if year % 4 == 0 and year % 100 != 0:
return True
if year % 400 == 0:
return True
return False

def is_valid(d, m, y):
# DONE: do not need to modify
# d, m, y represents day, month, and year in integer.
if y < 1970 or y > 9999:
return False
if m < 1 or m > 12:
return False
if d < 1 or d > 31:
return False

if m == 4 or m == 6 or m == 9 or m == 11:
if d > 30:
return False

if is_leap_year(y):
if m == 2 and d > 29:
return False
else:
if m == 2 and d > 28:
return False

return True

def get_day_month_year(date):
# TODO: split the date and return a tuple of integer (day, month, year)
d = 1
m = 1
y = 1970
return (d, m, y)

def less_than_equal(start_day, start_mon, start_year, \
end_day, end_mon, end_year):
# TODO: return true if start date is before or same as end date
return False

def next_date(d, m, y):
# TODO: get the next date from the current date (d, m, y)
# return a tuple of integer (day, month, year).
return (d, m, y)

def count_days(start_date, end_date):
# date is represented as a string in format dd/mm/yyyy
start_day, start_mon, start_year = get_day_month_year(start_date)
end_day, end_mon, end_year = get_day_month_year(end_date)

# TODO: check for data validity here #
# if start date is not valid...
# if end date is not valid...
# if start date > end date...

# lazy - let the computer count from start date to end date
count = 0
while less_than_equal(start_day, start_mon, start_year, end_day, end_mon, end_year):
count = count + 1
start_day, start_mon, start_year = next_date(start_day, start_mon, start_year)

# exclude end date
return count - 1

Test Cases:

test_count_days('1/1/1970', '2/1/1970') 1
test_count_days('1/1/1970', '31/12/1969') Not a valid date: 31/12/1969
test_count_days('1/1/1999', '29/2/1999') Not a valid date: 29/2/1999
test_count_days('14/2/1995', '19/3/2014') 6973
test_count_days('19/3/2014', '19/4/2013') Start date must be less than or equal end date.
get_day_month_year('19/3/2014') (19, 3, 2014)
get_day_month_year('1/1/1999') (1, 1, 1999)
get_day_month_year('12/12/2009') (12, 12, 2009)
less_than_equal(19, 3, 2014, 19, 3, 2014) True
less_than_equal(18, 3, 2014, 19, 3, 2014) True
less_than_equal(20, 3, 2014, 19, 3, 2014) False
less_than_equal(19, 3, 2015, 19, 3, 2014) False
less_than_equal(19, 6, 2014, 19, 3, 2014) False
less_than_equal(18, 12, 2014, 19, 11, 2014) False
less_than_equal(18, 12, 2014, 19, 11, 2015) True
less_than_equal(31, 3, 2018, 29, 4, 2018) True
next_date(1, 1, 2013) (2, 1, 2013)
next_date(28, 2, 2014) (1, 3, 2014)
next_date(28, 2, 2012) (29, 2, 2012)
next_date(29, 2, 2012) (1, 3, 2012)
next_date(30, 4, 2014) (1, 5, 2014)
next_date(31, 5, 2014) (1, 6, 2014)
next_date(31, 12, 2014) (1, 1, 2015)
next_date(30, 5, 2014) (31, 5, 2014)

Answers

PYTHON

To complete the function get_day_month_year(date), we can split the date string using the / character as a delimiter and return a tuple of integers:

def get_day_month_year(date):

day, month, year = date.split('/')

return (int(day), int(month), int(year))

To complete the function less_than_equal(start_day, start_mon, start_year, end_day, end_mon, end_year), we can compare the year, month, and day of the start date to the year, month, and day of the end date and return True if the start date is less than or equal to the end date:

def less_than_equal(start_day, start_mon, start_year, end_day, end_mon, end_year):

if start_year < end_year:

return True

elif start_year == end_year:

if start_mon < end_mon:

return True

elif start_mon == end_mon:

if start_day <= end_day:

return True

return False

To complete the function next_date(d, m, y), we can first increment the day by 1 and check if the resulting date is valid. If it is not valid, we can set the day to 1 and increment the month by 1. We can continue this process until we reach a valid date:

def next_date(d, m, y):

d += 1

while not is_valid(d, m, y):

d = 1

m += 1

if m > 12:

m = 1

y += 1

return (d, m, y)

Finally, to complete the function count_days(start_date, end_date), we can add code to check the validity of the start and end dates, and throw an exception if either of them is not valid or if the start date is after the end date. We can do this by calling the is_valid function and the less_than_equal function:

def count_days(start_date, end_date):

start_day, start_mon, start_year = get_day_month_year(start_date)

end_day, end_mon, end_year = get_day_month_year(end_date)

if not is_valid(start_day, start_mon, start_year):

raise Exception("Not a valid date: " + start_date)

if not is_valid(end_day, end_mon, end_year):

raise Exception("Not a valid date: " + end_date)

if not less_than_equal(start_day, start_mon, start_year, end_day, end_mon, end_year):

raise Exception("Start date must be less than or equal end date.")

count = 0

while less_than_equal(start_day, start_mon, start_year, end_day, end_mon, end_year):

count = count + 1

start_day, start_mon, start_year = next_date(start_

Hope This Helps You!

Question 1a
1. Create a (3,3) array where row 0 is [0, 0, 0], row 1 is [2, 2, 2], row 2 is [-2, -2, -2]. Print the array.
2. Change element [0,0] to 10 and element [2,2] to -10. Print the array.
3. Subtract 2 from every element. Print the array.
4. Print all of the elements of the revised array that are positive.
In [ ]: # Your codes for 1.
In [ ]: # Your codes for 2.
In [ ]: # Your codes for 3.
In [ ]: # Your codes for 4.
Question 1b
You are provided with two lists of numbers.
• List 'x' denotes all 8 possible dollar investment outcomes of a risky project;
• List 'p' denotes their corresponding outcome probabilities.
• For instance, there is a 5% chance of $10000.
In this question, let's first convert the two lists into two separate arrays. Can you use np.dot to calculate the expected value of this risky project? That is, 10000X0.05+1000X0.05+100X0.2 ... Calculation without using np.dot() will be considered no points.
Finally, print the following sentence using print+format: The expected value of this risky project is $XXX.X.
Hint: the portfolio mean return example at the end of 2.3
In [ ]: x = (10000, 1000, 100, 10, 1, 0, -10, -100]
p = [0.05, 0.05, 0.20, 0.20, 0.1, 0.1, 0.1, 0.2]
In [ ]: # Your code here

Answers

Answer:

(1) The program in Python is as follows:

rows, cols = (3, 3)

arr =[[0,0,0],[2,2,2],[-2,-2,-2]]

print(arr)

arr[0][0] = 10

arr[2][2] = -10

print(arr)

for i in range(rows):

   for j in range(cols):

       arr[i][j]-=2

   

print(arr)

for i in range(rows):

   for j in range(cols):

       if arr[i][j]< 0:

           print(arr[i][j], end = ", ")

(2) The program in Python is as follows:

import numpy as np

x = [10000, 1000, 100, 10, 1, 0, -10, -100]

p = [0.05, 0.05, 0.20, 0.20, 0.1, 0.1, 0.1, 0.2]

q = np.dot(x,p)

print(q)

Explanation:

(1)

This initializes the rows and columns of the array to 3

rows, cols = (3, 3)

1. This creates and array and also populates it with the given data

arr =[[0,0,0],[2,2,2],[-2,-2,-2]]

Print the array

print(arr)

2. This changes index 0,0 to 10 and index 2,2 to -10

arr[0][0] = 10

arr[2][2] = -10

Print the array

print(arr)

This iterates through the rows and the columns of the array

for i in range(rows):

   for j in range(cols):

3. This subtracts 2 from each array element

       arr[i][j]-=2

Print the array    

print(arr)

This iterates through the rows and the columns of the array

for i in range(rows):

   for j in range(cols):

If array element is negative

       if arr[i][j]< 0:

4. Print the array element

           print(arr[i][j], end = ", ")

(2)

Line 1 and 2 are given as part of the program

x = [10000, 1000, 100, 10, 1, 0, -10, -100]

p = [0.05, 0.05, 0.20, 0.20, 0.1, 0.1, 0.1, 0.2]

This uses np dot to multiply x and p

q = np.dot(x,p)

This prints the result of the product

print(q)

What is SDLC? Why a commerce student must learn about SDLC and its phases? How SDLC could help a commerce graduate in career growth and success

Answers

Explanation:

A, B & C form the vertices of a triangle.

∠ CAB = 90°, ∠ ABC = 73° and AB = 9.4.

Calculate the length of BC rounded to 3 SF

how to Design a registration page​ for a school called At school complex with html

Answers

Answer:

<!DOCTYPE html>

<html>

<head>

 <title>At School Complex Registration</title>

 <meta charset="utf-8">

</head>

<body>

 <h1>At School Complex Registration</h1>

 <form>

   <label for="name">Name:</label><br>

   <input type="text" id="name" name="name"><br>

   <label for="email">Email:</label><br>

   <input type="email" id="email" name="email"><br>

   <label for="phone">Phone:</label><br>

   <input type="phone" id="phone" name="phone"><br>

   <label for="grade">Grade Level:</label><br>

   <select id="grade" name="grade">

     <option value="kindergarten">Kindergarten</option>

     <option value="elementary">Elementary</option>

     <option value="middle">Middle</option>

     <option value="high">High</option>

   </select>

   <br>

   <input type="checkbox" id="activities" name="activities">

   <label for="activities">I am interested in after-school activities</label><br>

   <input type="submit" value="Submit">

 </form>

</body>

</html>

Code to be written in python:
Correct answer will get brainliest! :)

For any positive integer S, if we sum up the squares of the digits of S, we get another integer S1. If we repeat the process, we get another integer S2. We can repeat this process as many times as we want, but it has been proven that the integers generated in this way always eventually reach one of the 10 numbers 0, 1, 4, 16, 20, 37, 42, 58, 89, or 145. Particularly, a positive integer S is said to be happy if one of the integers generated this way is 1. For example, starting with 7 gives the sequence {7, 49, 97, 130, 10, 1}, so 7 is a happy number.


Your task is to write a function compute_happy_numbers(range1, range2) , where range1 and range2 are each tuples of the form (lower_bound, upper_bound), and returns a tuple containing: (1) the number of happy numbers in range1, (2) the number of happy numbers in range2, (3) the number of the range (1 or 2) containing more happy numbers, or None if both ranges have the same number of happy numbers.

def compute_happy_numbers(range1, range2):
"""Your code here"""

Test Cases:
compute_happy_numbers((1,1), (1,1)) (1, 1, None)
compute_happy_numbers((1, 10), (11, 100)) (3, 17, 2)

Answers

Here is an implementation of the compute_happy_numbers function in Python: (see image)
This function first defines a helper function is_happy that takes in a number n and returns True if n is a happy number and False otherwise. It does this by repeatedly summing the squares of the digits of n until it reaches 1 or a number that has been seen before (in which case n is not a happy number).

The compute_happy_numbers function then defines another helper function count_happy_numbers that takes in a range r and returns the number of happy numbers in that range. It does this by using the is_happy function to check each number in the range.

Finally, the compute_happy_numbers function calls count_happy_numbers on both range1 and range2 and compares the number of happy numbers in each range. It returns a tuple containing the number of happy numbers in each range, as well as the range number (1 or 2) that contains more happy numbers, or None if both ranges have the same number of happy numbers.

I hope this helps! Let me know if you have any questions.

Anika added a picture to a cell in an Excel spreadsheet. She wants to permanently make the picture smaller. What
is the most efficient way to adjust the size of the picture?
compressing the picture in the Picture Tools tab
O changing the size of the cell where the picture was inserted
double-clicking the picture to click and drag a corner to the appropriate size
o editing the size of the photo in a different program and reinserting the picture

Answers

Answer:

A. Compressing the picture in the Picture Tools tab

Explanation:

To compress the size of a picture in Excel spreadsheet is by choosing the compress pictures option in the Picture Tools tab.

Once you select the picture(s) you want to reduce the size, a new option of 'Picture Format' will appear on the toolbar. In that option, many options will appear. One of these option is 'compress pictures'. With the help of this option, you can either compress picture or multiple pictures.

Therefore, the correct way to compress pictures in Excel spreadsheet us option A.

Other Questions
which is not guaranteed by the seventh amendment A female horse gives birth to an offspring on a farm. The farmer notices the offspringis especially fast and healthy. He would like to identify which male horse is theoffspring's father for selective breeding purposes. He asks a local university to run aDNA fingerprint with DNA samples from the mother, offspring and the three malehorses on the farm. Which male does the data show is MOST likely the offspring'sfather? The weight of the square is 10 grams. How much heavier is the circle than the square? Qu sugieren las creencias de Hernn Corts sobre el poder real descritas en el libro de Beatriz Pastor sobre las Cartas de relacin?A) Que se alter la veracidad de su contenidoB) Que se escribieron a peticin de Diego VelzquezC) Que fueron bien recibidas por el pblico europeoD) Que su lenguaje puede ser considerado novelstico Ven Diagram What is the similar and diffirencess in TV and MAGAZINE. If it takes 4 hours for the Hogwarts express, moving at a speed of 100 mi/hr,to make it from Platform 9 and 3/4 to Hogwarts,how far apart are they? At the hospital, Ponyboy realizes that Darry is crying when he first sees him.How is a theme beginning to develop at this point?The author shows us that family ties are important to our lives.The author shows us that survival in a gang is difficult.The author shows us that we all experience heartbreak at some time in our lives. Evaluate the truthfulness of the following statement: When reviewing a play, it is essential that you have read it ahead of time.Answer: Mostly trueit's not mandatory, but it is certainly helpful.heres sum points what is the difference between sigma and pi bonds Fifteen percent of the cars in a parking lot are green. If there are 45 green cars, how many cars are there in the parking lot? Im under so much stress can someone please write my essay outline on the great Gatsby I will send the outline if you send your email What was the Soviet agricultural policy immediately following Stalins concentration of power in 1928? -collectivization -redistribution of land-agribusiness -commercialization What are negative effects? The length of a rectangle is 2.72 feet and the width is 3.81 feet. Find the area Consider the system of equations.x = 8 - 2yx + 3y = 12What value of x satisfies the system of equations?.4. 0OC. 16OD. 5 Use Exponential FunctionsWhat is the y-intercept of the graph of y = 2.5?a. 2.5 c. 0b. 1 d. -1Please select the best answer from the choices provided IS this statement true. When two conjugates are multiplied, the product is a difference of two squares An investment of $4000 earns 2% interest compounded annually. What will be the value of the investment in 7 years? I will mark brainliest please help! Find the are of the figure? A customer sells short 100 shares of ABC stock at $50 per share. The stock falls to $40, at which point the customer writes 1 ABC Sept 40 Put at $4. The stock falls to $30 and the put is exercised. The customer's gain per share is: