Questions
50.00 mL of 0.15 c6h5cooh ( a weak monoprotic acid, Ka = 6.3x10^-5) is titrated with...

50.00 mL of 0.15 c6h5cooh ( a weak monoprotic acid, Ka = 6.3x10^-5) is titrated with a 0.30 M KOH solution. Calculate pH at different points of titration:

1- before any added base 2- after 5.0 mL of base is added 3- after 12.5 mL of base is added 4- after 25.0 mL of base is added 5- after 3.0 mL of base is added

In: Chemistry

Calculate the pH for each of the following cases in the titration of 50.0 mL of...

Calculate the pH for each of the following cases in the titration of 50.0 mL of 0.140 M HClO(aq) with 0.140 M KOH(aq). The ionization constant for HClO is 4.0x10^-8. (a) before addition of any KOH (b) after addition of 25.0 mL of KOH (c) after addition of 35.0 mL of KOH (d) after addition of 50.0 mL of KOH (e) after addition of 60.0 mL of KOH

In: Chemistry

Calculate the pH for each of the following cases in the titration of 50.0 mL of...

Calculate the pH for each of the following cases in the titration of 50.0 mL of 0.220 M HClO(aq) with 0.220 M KOH(aq). The ionization constant for HClO is 4.0e-8.

(a) before addition of any KOH

(b) after addition of 25.0 mL of KOH

(c) after addition of 30.0 mL of KOH

(d) after addition of 50.0 mL of KOH

(e) after addition of 60.0 mL of KOH

In: Chemistry

Calculate the pH for each of the following cases in the titration of 50.0 mL of...

Calculate the pH for each of the following cases in the titration of 50.0 mL of 0.140 M HClO(aq) with 0.140 M KOH(aq). The ionization constant for HClO can be found here. A. before any KOH is added B. after 25.0 ml is added c. after 30.0 ml is added d. after 50.0 ml is added e. after 60.0 ml is added please help!

In: Chemistry

A company institutes an exercise break for its workers to see the effect on job satisfaction,...

A company institutes an exercise break for its workers to see the effect on job satisfaction, as measured by a questionnaire that assesses workers’ satisfaction. Scores for 10 randomly selected workers before and after the implementation of the exercise program are shown in the following table. Determine if there is a significant increase in worker job satisfaction after the implementation of the exercise program using a 5% level of significance.

Job Satisfaction Index Table

WORKER NUMBER BEFORE AFTER
1 34 33
2 28 36
3 29 50
4 45 41
5 26 37
6 27 41
7 24 39
8 15 21
9 15 20
10 27 37

Must complete all parts of this problem:

  • PART 1: Use Excel to perform a Matched Pairs Test on the data (di = beforeafter). Copy and paste the output from Excel into a word document.
  • PART 2: Write 3 - 4 sentences on the findings from the Matched Pairs Test. Is there a significant increase in worker job satisfaction after the implementation of the exercise program using a 5% level of significance? Support your answer by using the output from the test. You must include: the hypotheses for the test, a discussion of the p-value, and the decision you reach and why.

In: Statistics and Probability

C++ Question: we need to read speech from .txt file. Steve Jobs delivered a touching and...

C++ Question:

we need to read speech from .txt file.

Steve Jobs delivered a touching and inspiring speech at Stanford's 2005 commencement. The transcript of this speech is attached at the end of this homework description. In this homework, you are going to write a program to find out all the unique tokens (or words) used in this speech and their corresponding frequencies, where the frequency of a word w is the total number of times that w appears in the speech. You are required to store such frequency information into a vector and then sort these tokens according to frequency. Please feel free to use existing functions such as strtok() or sstream to identify tokens in this implementation.

Specifically, you are required to include the following elements in your program:

Declare a struct TokenFreq that consists of two data members: (1) string value; and (2) int freq; Obviously, an object of this struct will be used to store a specific token and its frequency. For example, the following object word stores the token "dream" and its frequency 100:

  TokenFreq word;

  word.value="dream";

word.freq=100;

Remember to declare this struct at the beginning of your program and outside any function. A good place would be right after the "using namespace std;" line. This way, all the functions in your program will be able to use this struct to declare variables.

Implement the function vector<TokenFreq> getTokenFreq( string inFile_name); This function reads the specified input file line by line, identifies all the unique tokens in the file and the frequency of each token. It stores all the identified (token, freq) pairs in a vector and returns this vector to the calling function. Don't forget to close the file before exiting the function. In this homework, these tokens are case insensitive. For example, "Hello" and "hello" are considered to be the same token.  

Implement the selection sort algorithm to sort a vector<TokenFreq> in ascending order of token frequency. The pseudo code of the selection algorithm can be found at http://www.algolist.net/Algorithms/Sorting/Selection_sort You can also watch an animation of the sorting process at http://visualgo.net/sorting -->under "select". This function has the following prototype:

void selectionSort( vector<TokenFreq> & tokFreqVector ); This function receives a vector of TokenFreq objects by reference and applies the selections sort algorithm to sort this vector in increasing order of token frequencies.  

Implement the insertion sort algorithm to sort a vector<TokenFreq> in descending order of token frequency. The pseudo code of the selection algorithm can be found at http://www.algolist.net/Algorithms/Sorting/Insertion_sort Use the same link above to watch an animation of this algorithm. This function has the following prototype:

void insertionSort( vector<TokenFreq> & tokFreqVector );  

Implement the void writeToFile( vector<TokenFreq> &tokFreqV, string outFileName); function. This function receives a vector of TokenFreq objects and writes each token and its frequency on a separate line in the specified output file.

Implement the int main() function to contain the following features: (1) asks the enduser of your program to specify the name of the input file, (2) ) call the getTokenFreq() to identify each unique token and its frequency, (3) call your selection sort and insertion sort functions to sort the vector of TokenFreq objects assembled in (2); and (4) call the WriteToFile() function to print out the sorted vectors in two separate files, one in ascending order and the other in descending order.    

Example input and outputs:  

Assume that your input file contains the following paragraph: "And no, I'm not a walking C++ dictionary. I do not keep every technical detail in my head at all times. If I did that, I would be a much poorer programmer. I do keep the main points straight in my head most of the time, and I do know where to find the details when I need them. by Bjarne Stroustrup"

After having called the getTokenFreq() function, you should identify the following list of (token, freq) pairs and store them in a vector (note that the order might be different from yours): {'no,': 1, 'and': 1, 'walking': 1, 'be': 1, 'dictionary.': 1, 'Bjarne': 1, 'all': 1, 'need': 1, 'Stroustrup': 1, 'at': 1, 'times.': 1, 'in': 2, 'programmer.': 1, 'where': 1, 'find': 1, 'that,': 1, 'would': 1, 'when': 1, 'detail': 1, 'time,': 1, 'to': 1, 'much': 1, 'details': 1, 'main': 1, 'do': 3, 'head': 2, 'I': 6, 'C++': 1, 'poorer': 1, 'most': 1, 'every': 1, 'a': 2, 'not': 2, "I'm": 1, 'by': 1, 'And': 1, 'did': 1, 'of': 1, 'straight': 1, 'know': 1, 'keep': 2, 'technical': 1, 'points': 1, 'them.': 1, 'the': 3, 'my': 2, 'If': 1}

After having called the selectionSort() function, the sorted vector of token-freq pairs will contain the following information (again, the tokens of the same frequency might appear in different order from yours) : [('no,', 1), ('and', 1), ('walking', 1), ('be', 1), ('dictionary.', 1), ('Bjarne', 1), ('all', 1), ('need', 1), ('Stroustrup', 1), ('at', 1), ('times.', 1), ('programmer.', 1), ('where', 1), ('find', 1), ('that,', 1), ('would', 1), ('when', 1), ('detail', 1), ('time,', 1), ('to', 1), ('much', 1), ('details', 1), ('main', 1), ('C++', 1), ('poorer', 1), ('most', 1), ('every', 1), ("I'm", 1), ('by', 1), ('And', 1), ('did', 1), ('of', 1), ('straight', 1), ('know', 1), ('technical', 1), ('points', 1), ('them.', 1), ('If', 1), ('in', 2), ('head', 2), ('a', 2), ('not', 2), ('keep', 2), ('my', 2), ('do', 3), ('the', 3), ('I', 6)]

In: Computer Science

James International is in the construction business. In 2010, it is expected that 30 percent of...

James International is in the construction business. In 2010, it is expected that 30 percent of a month's sales will be received in cash, with the balance being received the following month. Of the purchases, 50 percent are paid the following month, 40 percent are paid in two months, and the remaining 10 percent are paid during the month of purchase.


The sales force receives $1,500 a month base pay plus a 4 percent commission. Labor expenses are expected to be $4,000 a month. Other operating expenses are expected to run about $4,500 a month, including $500 for depreciation. The ending cash balance for 2009 was $18,000.

Sales

Purchases

2009—Actual
    November

$100,000

$60,000

    December

150,000

70,000

2010—Budgeted
    January

50,000

80,000

    February

80,000

60,000

    March

60,000

70,000


a. Prepare a cash budget and determine the projected ending cash balances for the first three months of 2010.
b. Determine the months that the company would either borrow or invest cash.

In: Accounting

Find the requied data : General Electric Clorox AT&T    Current Share Price    Long-Term Debt...

Find the requied data :
General Electric Clorox AT&T
   Current Share Price
   Long-Term Debt (in millions)
   Equity (in millions)
   Debt-to-Equity Ratio
   Net Income (in millions)
EPS 2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018 if avaliable
   Beginning REs (in millions) 2008
   Beginning # of Shares (in millions) 2008
   Ending REs (in millions) 2017
ROE 2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018 if avaliable
   LT Gov't Bond Interest Rate 2017-2018 if avaliable
   # of Outstanding Shares (in millions) 2017-2018 if avaliable
   Low P/E for last 5 years
   High P/E for last 5 years
   Total Equity (in millions)
   Dividends: 2008
      (per share) 2009
2010
2011
2012
2013
2014
2015
2016
2017
2018 if avaliable

In: Accounting

A company receives a government grant of $600,000 on 1 April 2007 to facilitate purchase on...

A company receives a government grant of $600,000 on 1 April 2007 to facilitate purchase on the same day of an asset which costs $900,000. The asset has a five year useful life and is depreciated on a 40% reducing balance basis. Company policy is to account for all grants received as deferred income. Required: 1. What amount of income will be recognized in respect of the grant in the year to 31 March 2010? 2. Refer to original data. What amount of income will be recognized in respect of the grant in the year to 31 March 2010 if the company accounted for the grant on a straight-line basis with a useful life of 4 years instead of a 40% reducing balance basis? 3. Refer to original data. What amount of depreciation will be recognized in respect of the asset in the year to 31 March 2010 if the company accounted for the grant by deducting the grant in arriving at the carrying amount of the asset instead of accounting for the grants received as deferred income?

In: Finance

Sensitron and Douglas Tools manufacture and market power tools and accessories. Sensitron targets customers in the...

Sensitron and Douglas Tools manufacture and market power tools and accessories. Sensitron targets customers in the professional contractor market, while Douglas Tools focuses on home users and professionals. Both firms use the same cost flow assumption for valuing inventories and cost of goods sold. Selected financial data for the companies appears below. Sensitron 2010 2009 2008 Cost of Goods Sold $1,144,200 $1,134,100 $1,169,400 Average Inventory 372,550 397,050 436,870 Change in Sales from previous year 0.64% -3.68% 11.83% ​ ​ ​ ​ Douglas Tools 2010 2009 2008 Cost of Goods Sold $2,876,100 $2,846,600 $2,889,000 Average Inventory 730,550 778,100 797,500 Change in Sales from previous year 3.50% -5.12% 0.59% Required: 1. Calculate the inventory turnover ratio for each firm for year 2010, 2009, and 2008. 2. Suggest reasons for the differences in the Inventory turnover ratios for these two firms.

In: Accounting