Questions
Answer as soon as possible Given a number, find the sum of all the unique multiples...

Answer as soon as possible

Given a number, find the sum of all the unique multiples of particular
   numbers up to but not including that number.

If we list all the natural numbers below 20 that are multiples of 3 or 5, we
get 3, 5, 6, 9, 10, 12, 15, and 18.
  
   The sum of these multiples is 78.

Given Code:

public int getSumOfMultiples(int i, int[] set) {
       // Solution
       return 0;
   }
  

In: Computer Science

As you read about regression this week, try to think of pairs of variables whose values...

As you read about regression this week, try to think of pairs of variables whose values might be associated, or as we say in statistics have a correlation. For example, height and weight have a positive correlation because in general we expect taller people to weigh more than shorter people. This does not mean every taller person weighs more than every shorter person, but that's the tendency. Can you think of another pair of variable that have a positive correlation? How about a pair of variables that have a negative correlation? Try to think of pairs of variables from your field of study! For each variable, consider the following: give a brief description of each variable, how is it measured, what are its possible values, Why do you think the correlation between your two variables is positive or negative?

In: Math

1. 1. In polarizing microscopy, what is and what happens when a sample is anisotropic? 2....

1. 1. In polarizing microscopy, what is and what happens when a sample is anisotropic?

2. 2.What can happen to image of an anisotropic sample when you rotate it?

3.      3.What additional piece of equipment is added to a polarizing microscope to control anisotropic behavior? How does it accomplish control?

In: Physics

Devise a straightforward method that allows you to calculate (a) the speed and (b) the angular...

Devise a straightforward method that allows you to calculate (a) the speed and (b) the angular momentum of an electron in the nth Bohr orbit. Your expressions should contain the number of the orbit, n, and constants.

Using the formula that you devised, calculate the speed of an electron and the angular momentum of an electron in the tenth Bohr orbit. Units for answers are m/s for speed and J/s for angular momentum.

In: Physics

Write a program in C that reads prompts the user for a positive integer and then...

Write a program in C that reads prompts the user for a positive integer and then prints out that number in base 16, base 8 and base 2.

In: Computer Science

Audit - audit procedures After getting the lists and totals of inventory with market value or...

Audit - audit procedures

After getting the lists and totals of inventory with market value or value-at-cost of greater than $10,000, what audit procedure would you complete next? What risk and management assertion are you addressing with your proposed audit procedure?

In: Accounting

Stocks A and B have the following historical returns: Year Stock A's returns Stock B's returns...

Stocks A and B have the following historical returns:

Year Stock A's returns Stock B's returns
2003 −19.00% −15.50%
2004 34.00% 23.80%
2005 16.00% 29.50%
2006 −0.50% −6.60%
2007 28.00% 27.30%

(a) Calculate the average rate of return and standard deviation of returns (as percents) for each stock during the 5-year period. (Round your standard deviations to two decimal places.)

stock A average rate of return %

standard deviation %

stock B average rate of return %

standard deviation %

(b) Assume that someone held a portfolio consisting of 50% of stock A and 50% of stock B and that the average annual realized returns and past volatility of each stock are unbiased estimators of their expected returns and future volatility. What is the portfolio's expected return and the volatility of next year's returns (as percents)? The correlation between the returns of the two stock is 90.83%. (Round your answers to two decimal places.)

expected return %

volatility %

In: Finance

Refer to the article, ‘the Human Condition’, to discuss the time that modern humans have existed...

Refer to the article, ‘the Human Condition’, to discuss the time that modern humans have existed versus the time of the ‘modern world’. -- Global Sociology

In: Psychology

platos meno summery

platos meno summery

In: Economics

Define carrying capacity and explain how it is related to the terms Biotic Potential and Environmental...

Define carrying capacity and explain how it is related to the terms Biotic Potential and Environmental Resistance. How could you use your definition to explain why a cockroach has a different carrying capacity than a panda bear?

In: Biology

The following frequency distribution shows the price per share for a sample of 30 companies listed...

The following frequency distribution shows the price per share for a sample of 30 companies listed on the New York Stock Exchange.

Price per Share              Frequency
$20-29              7
$30-39              4
$40-49              6
$50-59              4
$60-69              5
$70-79              1
$80-89              3

Compute the sample mean price per share and the sample standard deviation of the price per share for the New York Stock Exchange companies (to 2 decimals). Assume there are no price per shares between 29 and 30, 39 and 40, etc.

Sample mean $
Sample standard deviation $

In: Math

[Computer Science Question] Compare and Contrast the trade-offs associated with using C++ in comparison to Python....

[Computer Science Question]

Compare and Contrast the trade-offs associated with using C++ in comparison to Python. How do the characteristics of the languages impact the amount of memory each language occupies. How do memory considerations impact each languages real world implementations?

In: Computer Science

In this assignment you must submit TWO different programs both of which accomplish the same thing...

In this assignment you must submit TWO different programs both of which accomplish the same thing but in two different ways.

Using NetBeans, create a program that prompts the user for a sentence. Then the program displays the position of where the lowercase letter 'a' appears everywhere in the sentence. Here is a sample of the input and output:

Enter a sentence
for the night is dark and full of terrors.
The lowercase letter 'a' appears at character position 18
The lowercase letter 'a' appears at character position 22

Write TWO different programs that accomplishes the above using different techniques. Take a look at the JavaDocs for the String methods available to you. For example, one way is you might use the 'charAt()' method while your second program uses 'indexOf()'.

please send me the solution in java as soon as possible.

In: Computer Science

Free-body Diagrams - 01 Due in 21 hours, 49 minutes A free-body diagram is a major...

Free-body Diagrams - 01

Due in 21 hours, 49 minutes

A free-body diagram is a major tool we use to help analyze problems involving forces. To create a free-body diagram, place a dot on the paper to represent the object (or objects) of interest and then draw all of the forces acting on that body. The force vectors are drawn with their tail on the dot. A major step in any of our force problems is correctly identifying all of the forces acting on an object. There are three possible free-body diagrams shown at the top of the problem. Select the appropriate free-body diagram for each of the situations listed below. If there are two items mentioned, select the free-body diagram for the first object mentioned (book, block, you, ball).

A [One arrow pointing down]
B [One arrow pointing down, on down, one left, one right]
C [One arrow pointing down, one pointing up]



A

B

C
  A book is sitting stationary on a table.

A

B

C
  A block is being pulled by a string to the right at a constant speed. There is friction between the block and the table.

A

B

C
  You are standing stationary on a flat floor.

A

B

C
  A block is hanging from a string and is not accelerating.

A

B

C
  A ball is flying through the air. Ignore air resistance (assume projectile motion).

Incorrect. Tries 1/10 Previous Tries

In: Physics

Jane, Castle, and Sean are partners who share income and loss in a 4:2:2 ratio. The...

Jane, Castle, and Sean are partners who share income and loss in a 4:2:2 ratio. The partnership’s capital balances are as follows: Jane $292,000; Castle, $114,000; and Sean, $194,000. Conner is admitted to the partnership on March 1 with a 25% equity. Prepare the journal entries to record Conner’s entry into the partnership under each of the following seperate assumptions: Conner invests (a) $200,000; (b) $180,000; and (c) $240,000.

In: Accounting