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
Whitepunk [10]
3 years ago
11

Select the correct answer.

Engineering
2 answers:
Law Incorporation [45]3 years ago
7 0

Answer:

C. Contour farming

Explanation:

Because contour farming is the practice of tilling lines on sloped lands to improve water distribution and decrease land loss.

boyakko [2]3 years ago
6 0
I think the answer is b
You might be interested in
Starting the vehicle's engine and listening to its operation can
miskamm [114]
I pretty sure it’s true because you can start your car and it sounds different that probably means something is wrong
3 0
3 years ago
What classification is an E7018?<br><br> will give brainliest
Hunter-Best [27]

Answer: E7018 is a low-hydrogen iron powder type electrode that produces high quality x-ray welds. It can be used in all positions on AC or DC reverse polarity welding current.

Explanation: Hope this helps

3 0
3 years ago
Cimmaan08 for you! Thank you again :)
fomenos

Answer:

Your welcome!!! I hope that helped!!!

Explanation:

5 0
3 years ago
Read 2 more answers
1. Implement the k-means clustering algorithm either in Java or Python. • The program should be executable with at least 3 param
givi [52]

Answer:

The code for this Question in Python is as follows:

matplotlib inline

from copy import deepcopy

import numpy as np

import pandas as pd

from matplotlib import pyplot as plt

plt.rcParams['figure.figsize'] = (16, 9)

plt.style.use('ggplot')

# Importing the dataset

data = pd.read_csv('xclara.csv')

print(data.shape)

data.head()

# Getting the values and plotting it

f1 = data['V1'].values

f2 = data['V2'].values

X = np.array(list(zip(f1, f2)))

plt.scatter(f1, f2, c='black', s=7)

# Number of clusters

k = 3

# X coordinates of random centroids

C_x = np.random.randint(0, np.max(X)-20, size=k)

# Y coordinates of random centroids

C_y = np.random.randint(0, np.max(X)-20, size=k)

C = np.array(list(zip(C_x, C_y)), dtype=np.float32)

print(C)

# To store the value of centroids when it updates

C_old = np.zeros(C.shape)

# Cluster Lables(0, 1, 2)

clusters = np.zeros(len(X))

# Error func. - Distance between new centroids and old centroids

error = dist(C, C_old, None)

# Loop will run till the error becomes zero

while error != 0:

   # Assigning each value to its closest cluster

   for i in range(len(X)):

       distances = dist(X[i], C)

       cluster = np.argmin(distances)

       clusters[i] = cluster

   # Storing the old centroid values

   C_old = deepcopy(C)

   # Finding the new centroids by taking the average value

   for i in range(k):

       points = [X[j] for j in range(len(X)) if clusters[j] == i]

       C[i] = np.mean(points, axis=0)

   error = dist(C, C_old, None)

# Initializing KMeans

kmeans = KMeans(n_clusters=4)

# Fitting with inputs

kmeans = kmeans.fit(X)

# Predicting the clusters

labels = kmeans.predict(X)

# Getting the cluster centers

C = kmeans.cluster_centers_

fig = plt.figure()

ax = Axes3D(fig)

ax.scatter(X[:, 0], X[:, 1], X[:, 2], c=y)

ax.scatter(C[:, 0], C[:, 1], C[:, 2], marker='*', c='#050505', s=1000)

4 0
4 years ago
In details and step-by-step, show how you apply the Bubble Sort algorithm on the following list of values. Your answer should sh
astraxan [27]

( 12 17 18 19 25 )

<u>Explanation:</u>

<u>First Pass:</u>

( 19 18 25 17 12 ) –> ( 18 19 25 17 12 ), Here, algorithm compares the first two elements, and swaps since 19 > 18.

( 18 19 25 17 12 ) –> ( 18 19 25 17 12 ), Now, since these elements are already in order (25 > 19), algorithm does not swap them.

( 18 19 25 17 12 ) –> ( 18 19 17 25 12 ), Swap since 25 > 17

( 18 19 17 25 12 ) –> ( 18 19 17 12 25 ), Swap since 25 > 12

<u>Second Pass:</u>

( 18 19 17 12 25 ) –> ( 18 19 17 12 25 )

( 18 19 17 12 25 ) –> ( 18 17 19 12 25 ), Swap since 19 > 17

( 18 17 19 12 25 ) –> ( 18 17 12 19 25 ), Swap since 19 > 12

( 18 17 12 19 25 ) –> ( 18 17 12 19 25 )

<u>Third Pass:</u>

( 18 17 12 19 25 ) –> ( 17 18 12 19 25 ), Swap since 18 > 17

( 17 18 12 19 25 ) –> ( 17 12 18 19 25 ), Swap since 18 > 12

( 17 12 18 19 25 ) –> ( 17 12 18 19 25 )

( 17 12 18 19 25 ) –> ( 17 12 18 19 25 )

<u>Fourth Pass:</u>

( 17 12 18 19 25 ) –> ( 12 17 18 19 25 ), Swap since 17 > 12

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 ), Swap since 18 > 12

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

Now, the array is already sorted, but our algorithm does not know if it is completed. The algorithm needs one whole pass without any swap to know it is sorted.

<u>Fifth Pass:</u>

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

6 0
3 years ago
Other questions:
  • A ball slowly starts to roll downhill, but its speed increases as it rolls. How are the ball's speed and energy related? - Why d
    9·1 answer
  • Describe how this instrument works. <br><br><br><br> Operation:
    7·1 answer
  • A bar of steel has the minimum properties Se = 40 kpsi, S = 60 kpsi, and S-80 kpsi. The bar is subjected to a steady torsional s
    6·1 answer
  • Thoughts about drinking and driving
    12·2 answers
  • An amplifier with 40 dB of small-signal, open-circuit voltage gain, an input resistance of 1 MO, and an output resistance of 100
    14·1 answer
  • 10. Technician A says checking the automatic
    8·1 answer
  • Does anyone know obamas last name???? please help its for a friend I swear!!!111!!11!
    8·1 answer
  • There are some sections of the SDS that are not mandatory.
    11·1 answer
  • Two technicians are discussing cylinder honing technician a says a good cross hatch helps to trap the oil and retain it in the c
    12·1 answer
  • What is the physical mechanism that causes the friction factor to be higher in turbulent flow?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!