1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
aliina [53]
3 years ago
12

Need some help with my home work.

Engineering
1 answer:
mojhsa [17]3 years ago
8 0

Answer: ok

Explanation:

You might be interested in
Say you have a random, unordered list containing 4096 four-digit numbers. Describe the most efficient way to: sort the list and
Debora [2.8K]

Answer:

Answer explained below

Explanation:

It is given that numbers are four-digit so maximum value of a number in this list could be 9999.

So we need to sort a list of integers, where each integer lies between [0,9999].

For these given constraints we can use counting sort which will run in linear time i.e. O(n).

--------------------------------------------------------------------------------

Psuedo Code:

countSort(int numList[]) {

int count[10000];

count[i] = 0; for all i;

for(int num in numList){

count[num]+= 1;

}

return count;

}

--------------------------------------------------------------------------------

Searching in this count array will be just O(1).

E.g. Lets say we want to search if 3 was present in the original list.

Case 1: it was present in the original list:

Then the count[3] would have been incremented by our sorting algorithm. so in case element exists then count value of that element will be greater than 0.

Case 2: it was not present:

In this case count[3] will remain at 0. so in case element does not exist then count of that element will be 0.

So to search for an element, say x, we just need to check if count[x]>0.

So search is O(1).

Run times:

Sorting: O(n)

Search: O(1)

6 0
3 years ago
Show that for a linearly separable dataset, the maximum likelihood solution for the logisitic regression model is obtained by fi
KATRIN_1 [288]

Answer:

Answer for the question:

"Show that for a linearly separable dataset, the maximum likelihood solution for the logisitic regression model is obtained by finding a weight vector w whose decision boundary wx. "

is explained in the attachment.

Explanation:

8 0
3 years ago
If you replace the text value in an associative dimension, the text value will not change when the
Nostrana [21]

Answer:

C

Explanation:

7 0
3 years ago
Why can you anodise Aluminium and Magnesium alloys?
Anastasy [175]

Explanation:

Anodizing :

 Anodizing is the surface protection process from the environment.As we know that due to external environment surfaces get corrodes .By using anodizing process the outer surface  of material coated by using different type of coating material.

As the name stand that in the anodizing process there will be anode and oxygen.in this process oxidation of material take place .

Oxides of aluminium and magnesium are stable that is why they anodized by this process.

4 0
3 years ago
The dot plot shows the number of cupcakes bought by each person who came to a bake sale.
Maslowich

The true statement about the dot plot is 1 has 4 and 0 dots.

Explanation:

  • after creating a Bar chart 4 is the right answer.
  • The highest among st all the other plots is 1 but 4 shows 3.
  • Taking an average from all the data points 3 comes to the right answer.
  • Median the central Mid-point is 3.
  • Mode also comes to 3.
  • It is skewed on the right due to the 1st one.
  • Skewed shows the data point either increasing or in decreasing.
  • There a to Bi- histograms which has two ups and downs.
  • The true statement has to be as Mean=Median=Mode is 3.

6 0
3 years ago
Other questions:
  • A fluid has a dynamic viscosity of 0.048 Pa.s and a specific gravity of 0.913. For the flow of such a fluid over a flat solid su
    10·1 answer
  • What is the maximum number of 12-2 with ground nonmetallic-sheathed cables permitted in an 18-cubic-inch device box if two singl
    11·2 answers
  • The electron beam in a TV picture tube carries 1015 electrons per second. As a design engineer, determine the voltage needed to
    8·1 answer
  • In a flow over a flat plate, the Stanton number is 0.005: What is the approximate friction factor for this flow a)- 0.01 b)- 0.0
    8·1 answer
  • while performing a running compression test how should running compression compare to static compression
    5·1 answer
  • Give three examples of how engineering has made human life better in your opinion.
    13·1 answer
  • Respond with TRUE if the symbol of the valve shown below is
    10·1 answer
  • A structural component in the form of a wide plate is to be fabricated from a steel alloy that has a plane strain fracture tough
    10·1 answer
  • Cup-sveg-aph<br><br>I m finding gf<br><br>if anyone interested pls come​
    11·2 answers
  • Which of the following is used in the electrical field?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!