|
Beyer Company is considering the purchase of an asset for
$270,000. It is expected to produce the following net cash flows.
The cash flows occur evenly within each year.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In: Accounting
Exercise 2 — Matrix file The file format for the matrix will have the first line contain 2 integers, which are the number of rows and columns. After this line, repeatedly count from 0 to 9, filling in the matrix size conditions as specified above. For example:
3 4
0 1 2 3
4 5 6 7
8 9 0 1
Randomly create different sized arrays with random numbers. There should be a space between each number. You will be using this file when reading data from a file. Hint: Consider using nested loops and modulus arithmetic (“%”) top help create this program. please help
In: Computer Science
Write a 500 word essay on why eliminating carcinogens from the environment would be a more successful strategy than attempting to find a cure for cancer. You can organize the essay as if it were a rhetorical (argumentative) essay. 1) Introductory paragraph that includes your point or view, three reasons that you will argue (ordered from strong to strongest), and some background, 2) Paragraph 2: argument in favor of point 1 (strong point), 3) Paragraph 3: argument in favor of point 2 (stronger point), 4) Paragraph 4: argument in favor of point 3 (strongest point), and 5) Paragraph 5: summary of argument (powerful restatement of first paragraph).
In: Biology
Solving Differential Equations using Laplace Transform
a) y" - y' -2y = 0
y(0) = 1, y'(0) = 0
answer: y = 1/3e^2t + 2/3e^-t
b) y" + y = sin2t
y(0) = 2, y'(0) = 1
answer: y(t) = 2cost + 5/3 sint - 1/3sin2t
c) y^4 - y = 0
y(0) = 0, y'(0) = 1, y"(0) = 0, y'''(0) = 0
answer y(t) = (sinht + sint)/2
In: Advanced Math
In: Operations Management
Assume that you have a sample of
n 1 equals 8n1=8,
with the sample mean
Upper X overbar 1 equals 48X1=48,
and a sample standard deviation of
Upper S 1 equals 4 commaS1=4,
and you have an independent sample of
n 2 equals 12n2=12
from another population with a sample mean of
Upper X overbar 2 equals 35X2=35
and the sample standard deviation
Upper S 2 equals 7.S2=7.
Complete parts (a) through (d) below.
What is the value of the pooled-variance t Subscript STATtSTAT test statistic for testing Upper H 0 : mu 1 equals mu 2H0: μ1=μ2?, In finding the critical value, how many degrees of freedom are there?, Using a significance level of alpha α equals=0.250.25, what is the critical value for a one-tail test of the hypothesis, Upper H 0 : mu 1 less than or equals mu 2H0: μ1≤ μ2 against the alternative Upper H 1 : mu 1 greater than mu 2 question mark, What is your statistical decision?
In: Math
Python query for below:
There are different ways of representing a number. Python’s function isdigit() checks whether the input string is a positive integer and returns True if it is, and False otherwise. You are to make a more generalised version of this function called isnumeric().
Just like isdigit(), this function will take input as a string and not only return a Boolean True or False depending on whether the string can be treated like a float or not, but will also return its float representation up to four decimal places if it is True.
Remember that numbers can be represented as fractions, negative integers, and float only. Check the sample test cases to understand this better.
Input: One line of string. The string will contain alphabets, numbers and symbols: '/' '.' '^'
Output: One line with True/False and then a space and the number with 4 decimal places if it is true and ‘nan’ if it is false
Sample Input 1: .2
Sample Output 1:
True 0.2000
Sample Input 2: 1 /. 2
Sample Output 2:
True 5.0000
Sample Input 3: 3^1.3
Sample Output 3:
True 4.1712
Sample Input 4: 3/2^3
Sample Output 4:
False NaN
Explanation:
if '^' and '/' are both present then give False. Since it is
ambiguous, 2^5/5 can be seen as 2^(5/5) or (2^5)/5 likewise 3/2^3
can be seen as 3/(2^3) or (3/2)^3
Sample Input 5: 1.2.3
Sample Output 5:
False NaN
Sample Input 6: -2.
Sample Output 6:
True -2.0000
In: Computer Science
Define a class called Rational for rational numbers. A
rational number is a number that can be represented as the quotient
of two integers. For example, /2, 3/4, 64/2, and so forth are all
rational numbers.
Represent rational numbers as two private values of type int, numfor the numerator and den for the denominator. The class has a default constructor with default values (num = 0,den = 1), a copy constructor, an assignment operator and three friend functions for operator overloading +, << and >>.
In + operator, the sum of a/b and c/d is (a*d+b*c)/bd. In >> operator, if the user enter 0 for the denominator, output error message and prompt user to type again (use while loop). In << operator, output a rational number in the format a/b. If a = 0, just output 0. If b = 1, just output a. If the number is a/-b, output –a/b. If the number is –a/-b, output a/b. In the main function, declare two objects and use operator >> and assign data for them. Then sum the two numbers and display the results. Sample output:
Enter two integers: 3 0
Error: the denominator cannot be 0. Try again.
Enter two integers: 2 3
Enter two integers: 3 -4
2/3 + -3/4 = -1/12
(2 bonus marks) Add a private member function with function prototype void normalize( ) to normalize the values stored so that, after normalization, the denominator is positive and the numerator and denominator are as small as possible. For example, after normalization 4/-8 would be represented the same as -1/2. You must email me your code for this part.
In: Computer Science
QUESTION 4 CVP Analysis
Guide to marks: 20 marks – 4 for a, 4 for b, 4 for c, 8 for
d
Show all calculations to support your answers.
A manufacturer can make two products, A and B. The following data are available:B
| Product | A | B | Total |
|---|---|---|---|
| Sales price per unit | $12 | $15 | |
| Variable cost per unit | $8 | $10 | |
| Total fixed costs/month | $5000 | ||
(a)Calculate the unit contribution margin for each
product.
(b)This month the manufacturer will specialise in making only
Product B. How many does he need to sell to break even?
(c)If they specialise in making only A what is the breakeven sales
volume for the month in sales dollars?
(d)He now decides to manufacture both A and B this month in the
ratio of 3 of A to 1 of B.
(i)How many of each product must be sold to earn a profit of $3,500
before tax for the month?
(ii)How many of each product must be sold to earn a profit of
$8,400 after tax (of 30c in the dollar) for the month?
In: Accounting
PLEASE USE THE ECLIPSE.
I want to make a program that shows whether the correct number is correct or incorrect.
Example: how much is 1+1?
option 1: 2
option 2: 3
option 3: 4
option 4: 5
option 5: 6
The answer is 1. because the answer is 2 and the option number is 1.
Write a Java application that simulates a test. The test contains at least five questions about first three lectures of this course. Each question should be a multiple-choice question with 4 options.
Design a Test class. Use programmer-defined methods to implement your solution. For example:
For each question:
switch ( randomObject.nextInt( 4 ) )
{
case 0:
return( "Very good!" );
……
}
At the end of the test display the number of correct and incorrect answers, and the percentage of the correct answers.
Your main class will simply create a Test object and start the test by calling inputAnswer method.
In: Computer Science