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
sveticcg [70]
3 years ago
5

Given an array A = [a1, a2, . . . , an] of nonnegative integers, consider the following problems: 1 P Partition: Determine wheth

er there is a subset P ⊆ [n] ([n] := {1, 2, · · · , n}) such that i∈P ai = P j∈[n]\P aj 2 Subset Sum: Given some integer k, determine whether there is a subset P ⊆ [n] such that P i∈P ai = k 3 Knapsack: Given some set of items each with weight wi and value vi , and fixed numbers W and V , determine whether there is some subset P ⊆ [n] such that P P i∈P wi ≤ W and i∈P vi ≥ V For each of the following clearly describe your reduction, justify runtime and correctness.(a) Find a linear time reduction from Subset Sum to Partition.(b) Find a linear time reduction from Subset Sum to Knapsack.
Mathematics
1 answer:
boyakko [2]3 years ago
5 0

Answer:

i think the answer is a

Step-by-step explanation:

You might be interested in
Alisha asked 120 students what kind of pet they liked the most. Exactly 45% of the students said they liked dogs best. What was
7nadin3 [17]

Answer: 54 liked best

Step-by-step explanation: None

8 0
3 years ago
Read 2 more answers
What is 16.666666667 rounded to the nearest tenth
eimsori [14]
16.666666667 rounded to the nearest tenth is 16.7. Rounded to the nearest "tenth" means rounded to one decimal place.
8 0
3 years ago
Read 2 more answers
Can someone give me answers?
Alenkasestr [34]

Answer:

Maybe if you give a better quality photo that isn't sideways! :D

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
Given the following trigonometric ratio, enumerate the meaning ratio ​
Likurg_2 [28]

Answer:

The trigonometric ratios are presented below:

\sin \theta = \frac{AC}{\sqrt{AC^{2} + BC^{2}}}

\cos \theta = \frac{BC}{\sqrt{AC^{2} + BC^{2}}}

\cot \theta = \frac{BC}{AC}

\sec \theta = \frac{\sqrt{AC^{2}+BC^{2}}}{BC}

\csc \theta = \frac{\sqrt{AC^{2}+BC^{2}}}{AC}

Step-by-step explanation:

From Trigonometry we know the following definitions for each trigonometric ratio:

Sine

\sin \theta = \frac{y}{h} (1)

Cosine

\cos \theta = \frac{x}{h} (2)

Tangent

\tan \theta = \frac{\sin \theta}{\cos \theta} = \frac{y}{x} (3)

Cotangent

\cot \theta = \frac{\cos \theta}{\sin \theta} = \frac{x}{y} (4)

Secant

\sec \theta = \frac{1}{\cos \theta} = \frac{h}{x} (5)

Cosecant

\csc \theta = \frac{1}{\sin \theta} = \frac{h}{y} (6)

Where:

x - Adjacent leg.

y - Opposite leg.

h - Hypotenuse.

The length of the hypotenuse is determined by the Pythagorean Theorem:

h = \sqrt{x^{2}+y^{2}}

If y = AC and x = BC, then the trigonometric ratios are presented below:

\sin \theta = \frac{AC}{\sqrt{AC^{2} + BC^{2}}}

\cos \theta = \frac{BC}{\sqrt{AC^{2} + BC^{2}}}

\cot \theta = \frac{BC}{AC}

\sec \theta = \frac{\sqrt{AC^{2}+BC^{2}}}{BC}

\csc \theta = \frac{\sqrt{AC^{2}+BC^{2}}}{AC}

6 0
3 years ago
Pls answerfor 10 points
Gnesinka [82]

Answer:your welcome

Step-by-step explanation:

Mhhh

4 0
3 years ago
Other questions:
  • HELP ME PLEASE DUE TODAY
    11·1 answer
  • Which statements are true regarding the area of circle D? Select two options.
    13·1 answer
  • Write the expression n n n n n n using an exponent. Name the base and the exponent.​
    5·1 answer
  • Four people recorded the miles they drove and the time they spent driving. The table below shows
    12·1 answer
  • Which is the most convenient placement of an isosceles triangle in the coordinate plane for finding the side lengths?
    15·1 answer
  • Catherine has $54. She plans to spend more than $20 of the money for a painting canvas. The rest will go towards paints. Each tu
    14·1 answer
  • About what percent of electric blowers are less than 7.5 pounds? (You do not have to type the percent sign)
    15·1 answer
  • What is the degree of -8mn^2
    10·1 answer
  • Maranda earns $42 in three hours Jabrill earn $78 in six hours which worker earns more per hour
    10·1 answer
  • Leroi and Sylvia both put $100 in a savings account. Leroi decides he will put in an additional $10 each week. Sylvia decides to
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!