Reference no: EM13866098
1. Arithmetic Expression
Write a subroutine that takes three arguments, X, Y, and Z. It then computes X.Y.Z and returns it.
Use the subroutine to evaluate the following expression for various values of u and v:
7u2 - 21uv + 6v2
The main method, in a loop, prompts the user for values of u and v and prints out the result. End the loop when the user enters zero for both u and v.
2. Temperature Conversion
Write a subroutine that takes one temperature in Celsius and convert it to Fahrenheit using the approximate formula f = c.2 + 32.
The main routine, in a loop, prompts the user for a value of a temperature and prints out the result. End the loop when the user enters an integer out of the range of [-50, 50].
3. Represent the decimal non-integer 6.71 as a paper-and-pencil binary number using 21 bits to right of the binary point. And then represent it using the 32 bit IEEE 754 floating point format. Show your work.
4. Write a program that computes (A + B)/2.0 for values A and B defined in the data section. The program should then print out the computed value and exit.
Basis of the rental house and land at the time of the sale
: Kareem bought a rental house in March 2010 for $300,000, of which $50,000 is allocated to the land and $250,000 to the building. Early in 2012, he had a tennis court built in the backyard at a cost of $7,500. What is the adjusted basis of the rental ..
|
Which rules of professional conduct in the aicpa code
: Following the audits and PCAOB inspection of EY audit of Medici’s, the company corrected its accounting for its sales returns reserve and filed restated financial statements with the SEC What is the link between professional skepticism and Josephson ..
|
What other qualifications would you consider important
: What other qualifications would you consider important in a candidate for this position?
|
What major factors are driving the internationalization
: Write a 2- to 4-page paper (500-1000 words) addressing the following: What major factors are driving the internationalization of business? List and describe the major challenges to the development of global systems. Explain why some firms have not pl..
|
Write a subroutine that takes one temperature in celsius
: Write a subroutine that takes three arguments, X, Y, and Z. It then computes X.Y.Z and returns it - Write a subroutine that takes one temperature in Celsius and convert it to Fahrenheit using the approximate formula f = c.2 + 32.
|
Now use excel to do a regression of the inflation rate
: Now use Excel to do a regression of the inflation rate (X) on the percent changes in stock market indices (Y). Include the data from all eighteen countries, including Japan. Use a significance of .05. Interpret your results (R-square, regression coef..
|
A greater comfort level with respect to the conformity
: As a user of the financial statements in each instance does one expression more than the other give you a greater comfort level with respect to the conformity of the financial statements with generally accepted accounting principles? Why or why not?
|
The president of may has suggested the use of a new method,
: May Manufacturing Company was organized January 2, 2010. During 2010, it has used in its reports to management the straight line method of depreciating its plant assets.
|
What is the nfl media groups general strategic direction
: What is the NFL Media group's general strategic direction? What are the key drivers of its success to date? What, in your view, is the preferred way of managing digital operations for a sports league - and of managing traditional vs. new media cha..
|