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
Alex
3 years ago
7

Your task, to replicate this musical frequency is to write a method harmonicSeries that accepts an integer parameter n and retur

ns the sum of the first n reciprocals. In other words: harmonicSeries(n) returns: 1 + 1/2 + 1/3 + 1/4 + ... + 1/n For example, the call of harmonicSeries(2) should return 1.5. The call of harmonicSeries(16) should return 3.3807289932289937. The method should return 0.0 if passed the value 0 and should throw an IllegalArgumentException if passed a value less than 0.
Mathematics
1 answer:
LUCKY_DIMON [66]3 years ago
5 0

Answer:

Step-by-step explanation:

JUst try your best

You might be interested in
Find the value of x and the length of each diagonal <br> x=<br> LN=<br> MP=
MArishka [77]

According to property the diagonals are equal in rectangle

6x+19=9x-5

9x-6x=19+5

3x=24

x=24/3

x=8

4 0
2 years ago
What is 4/5y+1/8x=4 in standard form? really need the help!!!
ValentinkaMS [17]

y= -5/32x+5 is the answer

7 0
3 years ago
Electric charge is distributed over the disk x2 + y2 ≤ 16 so that the charge density at (x, y) is rho(x, y) = 2x + 2y + 2x2 + 2y
professor190 [17]

Answer:

Required total charge is 256\pi coulombs per square meter.

Step-by-step explanation:

Given electric charge is dristributed over the disk,

x^2=y^2\leq 16 so that the charge density at (x,y) is,

\rho (x,y)=2x+2y+2x^2+2y^2

To find total charge on the disk let Q be the total charge and x=r\cos\theta,y=r\sin\theta so that,

Q={\int\int}_Q\rho(x,y) dA                where A is the surface of disk.

=\int_{0}^{2\pi}\int_{0}^{4}(2x+2y+2x^2+2y^2)dA

=\int_{0}^{2\pi}\int_{0}^{4}(2r\cos\theta+2r\sin\theta+2r^2 \cos^{2}\theta+2r^2\sin^2\theta)rdrd\theta

=2\int_{0}^{2\pi}\int_{0}^{4}r^2(\cos\theta+\sin\theta)drd\theta+2\int_{0}^{2\pi}\int_{0}^{4}r^3drd\theta

=\frac{2}{3}\int_{0}^{2\pi}(\sin\theta+\cos\theta)\Big[r^3\Big]_{0}^{4}d\theta+2\int_{0}^{2\pi}\Big[\frac{r^4}{4}\Big]d\theta

=\frac{128}{3}\int_{0}^{2\pi}(\sin\theta+\cos\theta)d\theta+128\int_{0}^{2\pi}d\theta

=\frac{128}{3}\Big[\sin\theta-\cos\theta\Big]_{0}^{2\pi}+128\times 2\pi

=\frac{128}{3}\Big[\sin 2\pi-\cos 2\pi-\sin 0+\cos 0\Big]+256\pi

=256\pi

Hence total charge is 256\pi coulombs per square meter.

3 0
3 years ago
Complete the table of values for the equation, 16x + 4y = 12.
Ann [662]

The x-y coordinates for the given equation are: (-2,11),(-1,7),(0,3), (1,-1) and (2,-5).

<h3>Linear Function</h3>

A linear function can be represented by a line. The standard form for this equation is: ax+b , for example, y=2x+7. Where:

  • a= the slope;
  • b=the constant term that represents the y-intercept.

The given equation is 16x + 4y = 12. For solving this question, you should replace the given values of x  for finding the values of y.

Thus,

  • For x= -2,  the value of y will be:

       16*(-2)+4y=12

      -32+4y=12

      4y=12+32

     4y=44

      y=11

  • For x= -1,  the value of y will be:

         16*(-1)+4y=12

  • -16+4y=12
  • 4y=12+16
  • 4y=28
  • y=7
  • For x= 0,  the value of y will be:

         16*(0)+4y=12

  • 0+4y=12
  • 4y=12
  • 4y=12
  • y=3
  • For x= 1,  the value of y will be:

         16*(1)+4y=12

  • 16+4y=12
  • 4y=12-16
  • 4y=-4
  • y= -1
  • For x= 2,  the value of y will be:

         16*(2)+4y=12

  • 32+4y=12
  • 4y=12-32
  • 4y=-20
  • y= -5

Read more about the linear equation here:

brainly.com/question/1884491

#SPJ1

7 0
1 year ago
True or False: The slope between the points (5.-7) and (8, 8) is
Kipish [7]

Answer:

The slope between the points (5.-7) and (8, 8) is _____ (what is the number)

Step-by-step explanation:

8 0
2 years ago
Read 2 more answers
Other questions:
  • The more scattered a plot of data appears, the _________ correlated the data is.
    13·2 answers
  • Which is the approximate measure of this angle? A. 30° B. 60° C. 105° D. 120°
    13·1 answer
  • Given the equation y-5=5x determine whether the points (2,12) and (-2,-5) are solutions on the graph
    11·1 answer
  • Can someone help me with this 20 points
    10·2 answers
  • Need help Asap 5 mins please!<br>use the net to find the lateral area of the prisim
    11·2 answers
  • Ray is a contestant on a quiz show. Every time Ray answers a question correctly,his winnings double. If he answers the first que
    11·1 answer
  • What’s the correct answer for this ? Two chords AB and CD intersect at E. If AE = 2cm, EB =4, and CE = 2.5 cm, find the length o
    7·1 answer
  • The mean of the 6 items below is 6. 2 x 2 7 4 12 Find the value of x.
    14·1 answer
  • A clothing store is offering two coupons. one is for $50 off your purchase and the other is for 30% off your purchase. If the to
    11·1 answer
  • What is the answer to this problem?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!