Questions
Write a method named minimumValue, which returns the smallest value in an array that is passed...

Write a method named minimumValue, which returns the smallest value in an array that is passed (in) as an argument. The method must use Recursion to find the smallest value. Demonstrate the method in a full program, which does not have to be too long regarding the entire code (i.e. program). Write (paste) the Java code in this word file (.docx) that is provided. (You can use additional pages if needed, and make sure your name is on every page in this word doc.) Use the following array to test the method: int[] series array = {-5, -10, +1999, +99, +100, +3, 0, +9, +300, -200, +1, -300} Make sure that the series array only tests for values, which are positive, given your recursive method.

Part II (25 points) Algorithmic Performance as you are aware, consists (mainly) of 2 dimensions: Time and Space. From a technical perspective, discuss the following:  Regarding runtime, discuss algorithmic performance with respect to its runtime performance. As you develop an algorithm, what must you also consider in terms of some of the trade-offs? How would you go about estimating the time required for an algorithm’s efficiency (i.e. time to complete in terms of its potential complexity)? What techniques can you use? Give an example of how to measure it.

In: Computer Science

Choose 3 journal articles you think will be useful as references for your formal lab report...

Choose 3 journal articles you think will be useful as references for your formal lab report paper. You may use review articles or research articles. You might try typing in a keyword for your topic and the word “review”.   Obtain copies either from the library or from an on-line resource. In the space provided below, explain in no more than 5 sentences per article why you feel the article you have selected is appropriate for your paper. Just because your key word appears in the title does not automatically mean the paper will be useful for your report. Briefly state how you will use it in your report. Attach a copy of each article to the assignment before handing it in. Directions on how to access electronic journals through the University of Houston Library are at the end of this document. If you cannot download an article you desire directly from the PubMed website, try through the University of Houston Library electronic journals collection. If the university does not have the electronic version on file, you will have to go to the library and copy it on a copy machine (the old-fashioned way). If you cannot obtain a copy of the article, you can place a request through interlibrary loan at the service desk at the library or you will need to find another article.

in Crystallography

you can chose any subject you want :)

In: Chemistry

(I am a beginner in programming, can you give me answers that I can understand? I...

(I am a beginner in programming, can you give me answers that I can understand? I got some answers which I think are for high level. Thank you)

Q1.   Program Description: The program should:

Ask a user to enter some digit (integer) between 1 and 9

Multiply it by 9

Write the output to the screen

Multiply that new number by 12345679 (note the absence of the number 8)

Write that output to the screen.

As shown below, the program should print out the entire multiplication as though you had done it by hand.

Presents the output of two different input other than 5 in the Word doc.

-------------------Sample Screen Output:----------------------

Enter a number from 1 to 9: 5

5

X 9

----------------

45

X          12345679

---------------------

555555555   (ßTo look like this, the last number must be an int.)

Note: Your alignment does not need to be perfect, but should roughly approximate what you see above.

---------------------------------------------------------------------

Q2. Program Description: Write a program that prompts the reader for two integers and then prints:

The sum

The difference (This should be number1 minus number2.)

The product

The average (This should be a double number. with decimal point)

Presents the output of two different input sets in the Word doc.

--------------Sample Screen Output:------------------

Enter number 1:   13

Enter number 2:   20

Original numbers are 13 and 20.

Sum =             33

Difference =      -7

Product =         260

Average =         16.5

In: Computer Science

Objectives Determine a budget for personal consumption Explain the correlation between marginal utility and consumer's demand...

Objectives

  • Determine a budget for personal consumption
  • Explain the correlation between marginal utility and consumer's demand curve
  • Apply marginal utility theory to the paradox of value

Assignment Overview - In this assignment, you will construct a budget line for your spending habits and analyze the marginal utility of items.

Deliverables - A one-page (250-word) document

Step 1 Answer questions on your spending habits.

In a one-page (250-word) document, answer the following questions:

What kinds of things do you buy on a daily or weekly basis?

How much do these things cost?

Do the prices fluctuate, or are the prices usually stable (inelastic)?

Think about your spending habits in preparation for creating a budget line.

Step 2 Graph a budget line.

In the same document, use the information gathered in Step 1 to construct a budget line:

Choose two items that you use on a daily basis and purchase frequently.

Compare the quantities of each based on how much you can reasonably afford them by using a budget line.

Use the following as a guide in developing your graph:

Using (free) online graphing software such as shapes in Microsoft Word or other software create a graph.

Follow the instructions on the website to learn how to create and manipulate the graph(s).

Save the graph(s) to your computer as a jpeg or .doc file.

If not in .doc format, copy and paste the jpeg into the assignment document that you deliver to your instructor.

Step 3 Analyze the marginal utility.

In the same document, analyze the marginal utility using the items and information from Step 2:

Analyze the marginal utility of the two items when the quantity of these products increases as they become your possessions.

Then choose a third item that you truly cannot live without. Assess the marginal utility of this item until you reach the point where there is no utility (marginal utility = 0).

What is the correlation between marginal utility and your demand curve?

How does marginal utility apply to the paradox of value?

Include your reaction and response to how constructing the budget line and marginal utility analysis makes you feel about the three items you consume on a frequent basis.

In: Economics

# Let me define the function I use for testing.  Don't change this cell. def check_equal(x, y,...

# Let me define the function I use for testing.  Don't change this cell.

def check_equal(x, y, msg=None):

    if x == y:

        if msg is None:

            print("Success")

        else:

            print(msg, ": Success")

    else:

        if msg is None:

            print("Error:")

        else:

            print("Error in", msg, ":")

        print("    Your answer was:", x)

        print("    Correct answer: ", y)

    assert x == y, "%r and %r are different" % (x, y)

## Problem 1: common word pairs

The goal is to find the set of consecutive word pairs in common between two sentences.

We will get there in steps, guiding you to the solution.

# First, notice that .split() splits a sentence according to white space, returning a list.

print("I love eating bananas".split())

# Second, recall that in Python, a[i:k] gives you the sub-list of a consisting

# of a[i], a[i+1], ..., a[k-1].

a = "I love eating bananas".split()

print(a[2:4])

### Problem 1 part 1: generating the list of consecutive words in a sentence.

You are given a sentence, with words separated by white space. You need to write a function `word_pairs` that outputs the list of consecutive words. For example, if the input is:

"I love eating bananas"
  
Then the function `word_pairs` should output:

[("I", "love"), ("love", "eating"), ("eating", "bananas")]
  
If the input sentence consists of fewer than two words, then `word_pairs` should output the empty list.
**Be careful:** the result should be a list of tuples, not a list of lists.

def word_pairs(sentence):

    # YOUR CODE HERE

# Base cases.  5 points.

check_equal(word_pairs(" "), [])

check_equal(word_pairs("woohoo"), [])

check_equal(word_pairs("I am"), [("I", "am")])

def common_word_pairs(sentence1, sentence2):

    """Returns the set of common consecutive word pairs in two sentences."""

    # YOUR CODE HERE

s1 = "I love bananas"

s2 = "I love to eat bananas"

s3 = "Nobody truly dislikes to eat bananas"

s4 = "I love to eat anything but bananas"

s5 = "I like mangos more than bananas"

check_equal(common_word_pairs(s1, s2), {("I", "love")})

check_equal(common_word_pairs(s2, s3), {("to", "eat"), ("eat", "bananas")})

check_equal(common_word_pairs(s3, s4), {("to", "eat")})

check_equal(common_word_pairs(s1, s5), set())

In: Computer Science

DIRECTION: Create an NCP in relation to the case scenario. (With Assessment, Nursing Diagnosis, Planning, Intervention,...

DIRECTION: Create an NCP in relation to the case scenario. (With Assessment, Nursing Diagnosis, Planning, Intervention, Rationale, and Evaluation)

Case Scenario: This is a case of a patient referred to a specialty memory clinic at the age of 62 with a 2-year history of repetitiveness, memory loss, and executive function loss. Magnetic resonance imaging scan at age 58 revealed mild generalized cortical atrophy. He is white with 2 years of postsecondary education. Retirement at age 57 from employment as a manager in telecommunications company was because family finances allowed and not because of cognitive challenges with work. Progressive cognitive decline was evident by the report of deficits in instrumental activities of daily living performance over the past 9 months before his initial consultation in the memory clinic. Word finding and literacy skills were noted to have deteriorated in the preceding 6 months according to his spouse. Examples of functional losses were being slower in processing and carrying out instructions, not knowing how to turn off the stove, and becoming unable to assist in boat docking which was the couple’s pastime. He stopped driving a motor vehicle about 6 months before his memory clinic consultation. His past medical history was relevant for hypercholesterolemia and vitamin D deficiency. He had no surgical history. He had no history of smoking, alcohol, or other drug misuse. Laboratory screening was normal. There was no first-degree family history of presenile dementia. Neurocognitive assessment at the first clinic visit revealed a poor verbal fluency (patient was able to produce only 5 animal names and 1 F-word in 1 min) as well as poor visuospatial and executive skills. He had fluent speech without semantic deficits. His neurological examination was pertinent for normal muscle tone and power, mild ideomotor apraxia on performing commands for motor tasks with no suggestion of cerebellar dysfunction, normal gait, no frontal release signs. His speech was fluent with obvious word finding difficulties but with no phonemic or semantic paraphrasic errors. His general physical examination was unremarkable without evidence of presenile cataracts. He had normal hearing. There was no evidence of depression or psychotic symptoms.

In: Nursing

Chosen Company: General Electric Assignment Regulations: *Recommened words: 2000 *You are supposed to Continue Assignment-2 and...

Chosen Company: General Electric

Assignment Regulations:

*Recommened words: 2000

*You are supposed to Continue Assignment-2 and while submitting Assignment-3 include Part-A also.

*You should use references (company website, financial databases, etc…)

*While referencing, use APA reference style.

*All students are encouraged to use their own words.

*If Plagiarism is more than 25%, you will get zero marks.

*Submit in word format only

Write a Marketing Plan considering the following points

PART-B

3. Target Market Analysis

identify the target market, describing how the company will meet the needs of the consumer better than the competition does. List out the expectations consumers have for the product.

4. SWOT Analysis

Strengths

List the strengths of the business approach such as cost effectiveness, service quality and customer loyalty.

Weaknesses

Describe the areas of weakness in the company's operations, such as government policies and procedures, and management inexperience.

Opportunities

Examine how proper timing, as well as other factors such as your company's innovativeness, may improve the business's chances of success.

Threats

List the external threats to the business' success

5. Marketing Mix (4 P’s ) Analysis

Product or Service

Identify the product or service by what it is, who will buy it, how much they will pay for it and how much it will cost for the company to produce it, why a consumer demand exists for your product, and where your product sits in comparison to similar products/services now available.

Place

Identify the location of your business, why it is located there (strategic, competitive, economic objectives), your expected methods of distribution, and timing objectives.

Promotion

Describe the type of promotional methods you will use to spread the word about your product. Identify techniques such as word of mouth, personal selling, direct marketing, sales promotion etc. television, radio, Social media and newspaper ads.

Price

The prices of your products or services that reflects the overall company strategy. Should be competitive as well as a reflection of the quality, costs and profit margin.

I've done part A of the assignment and i need part B. my chosen company is General Electric and the needed is 3000(1000part A and 2000 part B)

In: Operations Management

You will be inserting values into a generic tree, then printing the values inorder, as well...

You will be inserting values into a generic tree, then printing the values inorder, as well as printing the minimum and maximum values in the tree. Given main(), write the methods in the 'BSTree' class specified by the // TODO: sections. There are 5 TODOs in all to complete.

Ex: If the input is

like
ferment
bought
tasty
can
making
apples
super
improving
juice
wine
-1

the output should be:

Enter the words on separate lines to insert into the tree, enter -1 to stop

The Elements Inorder: apples - bought - can - ferment - improving - juice - like - making - super - tasty - wine - 

The minimum element in the tree is apples

The maximum element in the tree is wine

import java.util.Scanner;

public class Main {

   public static void main(String[] args) {

       BSTree<String> tree = new BSTree<String>();
      
       Scanner scrn = new Scanner(System.in);
       System.out.println("Enter the words on separate lines to insert into the tree, enter -1 to stop");
      
       String word = scrn.nextLine();
       while(!word.equals("-1")) {
           tree.addElement(word);
           word = scrn.nextLine();
       }
       System.out.println();
      
       tree.printElements();
      
       System.out.println("\nThe minimum element in the tree is " + tree.findMin());
       System.out.println("\nThe maximum element in the tree is " + tree.findMax());

   }

}

public class BSTreeNode<T> {

   private T element;
   private BSTreeNode<T> left, right;

   public BSTreeNode(T element) {
       this.element = element;
       this.left = null;
       this.right = null;
   }

   public T getElement() {
       return element;
   }

   public void setElement(T element) {
       this.element = element;
   }

   public BSTreeNode<T> getLeft() {
       return left;
   }

   public void setLeft(BSTreeNode<T> left) {
       this.left = left;
   }

   public BSTreeNode<T> getRight() {
       return right;
   }

   public void setRight(BSTreeNode<T> right) {
       this.right = right;
   }
      
}

public class BSTree<T> {

   private BSTreeNode<T> root = null;

   // TODO: Write an addElement method that inserts generic Nodes into
   // the generic tree. You will need to use a Comparable Object

   // TODO: write the method printElements
       // It should check that the tree isn't empty
       // and prints "The Tree is empty" if it is
       // otherwise prints "The Elements Inorder: "
       // and calls the inorder method


  
   // TODO: write the inorder method that traverses
       // the generic tree and prints the data inorder

   // TODO: write the findMin method that returns the
       // minimum value element in the tree

   // TODO: write the findMin method that returns the
       // maximum value element in the tree

}

In: Computer Science

1. Problem Description Based on the phenomenal success on previous projects, your angel investor has come...

1. Problem Description Based on the phenomenal success on previous projects, your angel investor has come back to your firm for yet another application. You are to develop a simple ‘Hangman’ game in which the computer selects a random word and the child repeatedly guesses letters until the word is uncovered. Sensitive to the tender age of our target audience, we will NOT draw a partially executed criminal but simply keep track of the number of guesses. There is no maximum number of guesses. With each successive guess, show the word with the correct letters filled in, and also all the letters that have been guessed so far. If the child guess the same letter more than once, do not count that guess against them. The guesses should be converted to upper case. Provide a set of at least ten words to guess from. The instructor’s example uses the words “one” through “ten”, however you are free to provide as many words as you would like. Keep track of the number of guesses the child takes and display this number at the end. Your application should only play the game once per execution (i.e. no “Would you like to play another game?” is required). 2. Notes • Turn in only your source files. 3. Required Main Class Hangman 4. Required Input A series of uppercase or lowercase letters 5. Required Output Your output should look something like the following example. Notice the multiple, repeated guesses (h and e). It must include your name. Hangman - E. Eckert _ _ _ _ _ Used letters: {} Enter a letter: a _ _ _ _ _ Used letters: {A} Enter a letter: b _ _ _ _ _ Used letters: {AB} Enter a letter: c _ _ _ _ _ Used letters: {ABC} Enter a letter: e _ _ _ E E Used letters: {ABCE} Enter a letter: t T _ _ E E Used letters: {ABCET} Enter a letter: h T H _ E E Used letters: {ABCETH} Enter a letter: h Enter a letter: e Enter a letter: r T H R E E Used letters: {ABCETHR} You guessed it in 7 tries.

Needs to be in java

In: Computer Science

The Application Analyst (AA) department manager, Lori Williams, called the training department and asked to sit...

The Application Analyst (AA) department manager, Lori Williams, called the training department and asked to sit down and discuss the new product they were rolling out to all the company's AAs, worldwide, and what training could be offered starting on August 11 and ongoing as they were looking to roll out Document Manager on October 2. This product would affect 2500 people.

Lori Williams met with two trainers, Sarah Ward and Caroline Smith. Lori explained that all of the AAs were creating the same documentation over and over again, but had to save it to their own desktops and were unable to share the information because they didn't have a document repository. Document Manager was going to fix this problem. All of the AAs could then share documentation. Document Manager too would have a template in it for the AAs to use. Document Manager would make the AA's work much easier and quicker. The AAs were asked by upper management to be more effective with their documentation. Lori wanted to train all 2500 employees worldwide before Document Manger went out to the company on October 2.

Sarah and Caroline asked Lori what the AAs were using now to type up their documentation and what would be different with Document Manager. Lori explained that now AAs used Word Perfect, however Document Manager would use Microsoft Word. Due to this huge change Lori believes every employee effected needs to come to a training class that should last at least two hours, if not longer. Since the training would have to be on a computer, the training departments computer classroom's only hold 15 people per class. Lori also said that she would like to see each employee pass a test using Word and Document Manager before attaining access to the new programs. She went on to explain that she would also like to have online training for Document Manager and Word available for all employees via their intranet site. Lori also told Sarah and Caroline that upper management had not yet decided how to reach the global employees for this training. Times were tight and they didn't want to pay for the employees to travel or for Sarah and Caroline to travel. Lori said that she trusted Sarah and Caroline would have the right answer for upper management.

Lori also gave Sarah and Caroline some background on the AAs. She told them that for the most part the AA department's abilities and familiarity with computers and software was exceptional. Lori had taken over that department only two years ago, but she explained how she weeded out the non-performing employees and replaced them with hard working, smart, efficient ones. Sarah and Caroline were excited about working with this audience.

assume that your trainers, Sarah and Caroline, are new to their jobs. Assume further that you are their direct supervisor. Describe how you would prepare Sarah and Caroline for their first assignment before they meet with the department manager, Lori Williams.

Be certain to include in your paper a value chain, a logic map, and a process map for their first assignment. Also include learning transfer system inventory. Provide detailed explanations of each component of the maps and the inventory as they apply to the situation above

In: Operations Management