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
A baseball has a 15 cm diameter what is the voulme of the contents of the ball
ddd [48]

Answer:

The answer is 1767.15cm^3

Step-by-step explanation:

The formula for finding the volume of a spherical object is 4/3(π)(r^3),where r is the radius of the object. But here only the diameter was given. And diameter=2(r), where r is radius.

So to find the radius, divide the diameter by 2. Since by making r the subject of the equation you get r=diameter/2.

Using the formula

4/3(π)(r^3)=(4π((15/2)^3))/3

=(4π(7.5^3)/3

=(4π(421.875))/3

Since π is 3.141592654

(4π(421.875))/3=1/3(4(3.141592654)(421.875))

=1/3(5301.437603)

=1767.145868

But I rounded off the answer to 2 decimal places and so I got 1767.14

7 0
3 years ago
Find the measure of angle A
Mariana [72]
Apply the law of cosines. and solve for A

14^{2} = 11^{2} + 11^{2} - 2(11)(11)cos(A) \\ 
196 = 121 + 121 - 242cos(A)  \\ 
-46 = -242cos(A) \\cos(A) = 0.1900826446

 A = 79.04239272, or 79

5 0
3 years ago
Pls help me! i will give u brainliest
Sunny_sXe [5.5K]

Answer:

1st is rational 2nd is irrational 3rd is irrational 4th is rational 5th is irrational

Step-by-step explanation:

7 0
3 years ago
How do i find the answer of this math question or problem f(x) = 4x − 9?
Mademuasel [1]

Answer:

x = 9/4

Step-by-step explanation:

f(x) = 4x - 9

(first substitute f(x) with 0)

0 = 4× - 9

(Move four)

-4x = -9

=> x = -9/-4

= 9/4

6 0
2 years ago
A figure in the first quadrant is rotated 180 counterclockwise about the origin. Which quadrant will the rotated figure appear?
blagie [28]
I believe is quadrant 3
4 0
3 years ago
Other questions:
  • What is 186/100 as a fraction in simplest form?
    12·2 answers
  • Find the first term in the pattern with the formula: 40 • 6n – 1.
    11·2 answers
  • If (tan^3 theta -1) / (tan theta - 1) - sec^2 theta +1 = 0, find cot theta.
    11·2 answers
  • Simplify 5p/3q+4p^2/q
    15·1 answer
  • Name the property of real numbers illustrated by the following equation.
    11·1 answer
  • The parallelogram shown below has an area of 60 units^2
    6·1 answer
  • Answer below PLEASE HELP ME PLSSS HELP WILL MARK BRAINLIST
    8·2 answers
  • What is the slope of the line and y intercept pls help me
    6·1 answer
  • In a recent survey of 655 working americans ages 25-34, the average weekly amount spent on lunch was $43.29 with standard deviat
    11·1 answer
  • Heyy i need help on me hw​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!