CPAN112_ProgramAssignment_CostVolumeProfitAnalysis_BreakEven
.docx
keyboard_arrow_up
School
Humber College *
*We aren’t endorsed by this school
Course
112
Subject
Computer Science
Date
Feb 20, 2024
Type
docx
Pages
3
Uploaded by EarlPantherMaster1046
Fundamentals of Numeric Computing
CPAN 112
Cost-Volume-Profit Analysis and Break-Even
Program and Assignment
Please read the following instruction very carefully before
answering any questions:
Please read all the questions very carefully.
Please provide your answers in the boxes below each question, and
do not change the text colour.
Your answer MUST show the solution procedure. There is no
credit if you only state the final answer.
Please highlight your final answer to each question.
Please keep the naming conventions requested in this lab and each
question.
Once you complete your lab, rename your word document file to
the
(
CPAN112_CostVolumeProfitAnalysis_BreakEven_FirstName
_LastName
). Replace FirstName and LastName with your first
name and last name, respectively.
It will be a 10%
mark deduction if you do not follow the guidelines
mentioned above.
1) To earn some money, John is thinking of starting up a "Back-Yard BBQ" stand
at his university campus this summer. The basic "BBQ" equipment will cost
$2690, and the variable cost (VC) for each "BBQ Meal" is estimated to be
$6.75. He thinks he will be able to sell each "BBQ Meal" for $10.00. [20 points]
a. What is the break-even quantity of "BBQ Meals" for John's "Back-Yard
BBQ" stand? [10 points]
b. If John's goal for profit is $2500 for his fall semester tuition, how many
"BBQ Meals" would he need to sell in the summer to reach his goal? [10
points]
2) Peter is thinking of starting up a "Personal Financial Services" consultation in
his spare time. The basic office equipment will cost $2285, and the variable cost
(VC) for each consultation is estimated to be $14.60. He plans to bill each client
$65 per consultation.? [30 points]
a. What is the break-even quantity of consultations for Peter's "Personal
Financial Services" operation? [10 points]
b. If Peter's profit goal is $1000, how many consultations would he need to
reach his goal? [10 points]
c. Briefly explain the concept of a "Contribution Margin" and demonstrate
how the Contribution Margin (CM) determined from the information
above can be used to determine the same break-even quantity determined
in part (a)? [10 points]
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Flow chart and peseudocode of
Get the name of the student
A. If the student is regular, get his/her section. Then display his/her name
and section
B. If the student is irregular, get his/her course. Then display his/her name
and course.
arrow_forward
witch step or steps is the incorrect answer form the image below and say what is the correct answer
arrow_forward
C++ Code
arrow_forward
An ISBN (International Standard Book Number) is a 10 digit number that is used to identify a book. The first nine digits of the ISBN number are used to represent the Title, Publisher and Group of the book and the last digit is used for
checking whether ISBN is correct or not. To uniquely identify a book a 10-digit ISBN number is used. The rightmost digit is checksum digit. This digit is determined from the other 9 digits using condition that 10d, + 9dz + 8dg + + d4o
must be a multiple of 11 (where d, denotes the i" digit from the right). The checksum digit d; can be any value from 0 to 10: the ISBN convention is to use the value X to denote 10. Write a C program using pointers that receives a 10-
digit ISBN, and computes the checksum, and reports whether the ISBN number is correct or not.
Example: 007462542X = 10°0 + 9*0 + 8*7 + 74 + 6*6 + 5*2 + 4*5 + 3"4 + 2*2 + 110 = 176
Since 176 leaves no remainder when divided by 11, hence it is a valid ISBN.
Note: When the check digit turns out…
arrow_forward
PYTHON PROGRAMMING!!
EXTRA CONSTRAINT: MAKE SURE THAT THE CODE ACCEPTS THE INPUT ON THE IMAGE AND OUTPUTS THE RESULT ON THE IMAGE AS WELLYou find yourself in a top-secret mission to infiltrate and disable the nuclear missile silos of a terrorist organization threatening to destroy any country that refuses to surrender. Fortunately, an ally double agent was able to successfully hijack the launch system used by the terrorists. However, in order to not get found out, they could not disable the system outright but they were able to infect the system with an undetectable virus that stops all processes of the system was activated.
Through a secure line, the double agent gives you the instructions in order to activate the virus and stop all missiles from firing:
In the trash can nearest the main computer, you should be able to get a crumpled piece of paper with a grid of random numbers printed onto it. You will know that it is the right piece of paper if there are the same number of rows and…
arrow_forward
Question 6
Not complete
Marked out of
6.00
Flag question
a) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.)
2 * 3 + 4
The result is:
b) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.)
2 + 3 4
The result is:
c) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.)
(97) * ( 3 + 4)
The result is:
d) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.)
(7+2) / (9 + 1)
The result is:
e) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.)
a(b + c d ) / e
The result is:
f) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.)
9 *(1 + ( 2 + ( 3 + ( 4 + 5 ) ) ) )
The result is:
Check
arrow_forward
Traffic light control sequence flowchart
A typical traffic light control sequence for a 4 road junction has been described below (for a road system where the vehicles keep to their left while driving i.e. Australia, UK, South Africa etc).
The light changes as per the sequence listed below:
A. Before switch ON, all 4 roads should get ‘flashing yellow’ so as to enable them to look around and cross the road junction.
B. When switched ON, Main roads 1 & 3 should get green signals G1/G3 to go straight. This signal remains on for 30 seconds.
C. The above signals should be changed over to go right GR1/GR3 for 15 seconds only if any sensor S1/S3 of vehicles waiting to turn right is detected in the right turn lane . This will take place after a brief yellow signals Y1/Y3 in between.
D. In case no vehicle is waiting for right turn, the roads 1 & 3 should be closed with red signals R1/R3 and interim yellow signals Y1/Y3 for 2 seconds.
E. The above…
arrow_forward
A palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 16461) that remains the same when its digits are reversed.
Create a flow chart of palindrome number.
arrow_forward
Programming Language :- Python
arrow_forward
11 Worksheet 5
Note:Solution using Matlab Code
Write a program that prompts the user to enter a number within the range of 1 through 7, those
numbers represent the weekdays as shown in the table. If the entered number is more than 7,
display 'invalid day'.
Number
1
2
3
4
5
6
7
Day
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Type of the day
Workday
Workday
Workday
Workday
Workday
Weekend
Weekend
The program should continue to repeat itself 10 times, after which, the program should stop.
Furthermore, the program should be able to show a message saying if this is a 'workday' or a
'weekend day'.
Note: you are required to add a comment beside your command. Hint: to add a comment you
may use the % sign. thank guys you dodo great.
arrow_forward
Important instructions:
All programs must include introductory comments as well as comments all throughout the program. The introductory comment should include your name, the class name with section (e.g. CS 101 -24900), the program name, and a brief description of the program.
All Programs must also include pseudocode.
There are two parts to this question; the detailed pseudocode, and the program itself in C++
Write your program in C++ with Visual Studio, or an online compiler - compile, and execute it. Upload the file with the .ccp extension to Canvas for grading.
For visual studio users;
Don't forget to use the system ("pause") before the "return" statement at the end of your program.
Programming assignment 4:
Write a program that will convert U.S. dollar amounts to Phillippine peso and to euros, storing the conversion factors in the constants PESO_PER_DOLLAR and EUROS_PER_DOLLAR.
1 Dollar = 49.39 Philippine Peso
1 Dollar = 0.87 Euros
Format your currency amounts in…
arrow_forward
Instructions
The program in the Programming Example: Fibonacci Number does not check:
Whether the first number entered by the user is less than or equal to the second number and whether both the numbers are nonnegative.
Whether the user entered a valid value for the position of the desired number in the Fibonacci sequence.
Rewrite that program so that it checks for these things.
NOTES:
If an invalid number is entered for case 1 above, prompt the user to enter both numbers again.
If an invalid number is entered for case 2, prompt the user to enter a value until a valid value is entered.
the code:
#include <iostream>
using namespace std;
int main()
{
//Declare variables
int previous1;
int previous2;
int current;
int counter;
int nthFibonacci;
cout << "Enter the first two Fibonacci numbers: "; //Step 1
cin >> previous1 >> previous2; //Step 2
cout << endl;
//verify the first two values
if(previous1<0 && previous2>0)…
arrow_forward
Create C# (Sharp) code using visual studio:
Use Delegate methodology to do the following project:
Have a Add method, Subtract method, Multiply method, Divide method. Each method will loop 100 times. With each iteration, generate two random numbers (between 1 - 50), then perform the math operation (add for the Add method, subtract for the Subtract method, etc.). Make sure to display the numbers and the answer!
One validation check - for subtraction and division, make sure the higher number generated comes first in the calculation. For example, if 12 and 40 are the numbers generated, the math should be 40 -12 for the subtraction (not 12 - 40) and 40/12 for the division (not 12/40).
Again, make sure to use Delegates!
arrow_forward
THE PSEUDOCODE I WRITE
1- Start
2- Input the documents
KTP of the new vehicle owner and a photocopy
The original and photocopy of BPKB
Original and photocopy of STNK
Receipt and Fotocopy with stamp and signed by seller and buyer
Documents of the result of the physical vehicle
if(checkdocument==correct)
Display("Physical checks is okay")
else
Display("Please complete document first for physical check")
End if
Next step :- Register the transfer name
Propmt - How will you pay amount for registration
Input : ModeOfPayment=Pay mode
If (ModeOfPayment==Mobile Banking)
Display "Mobile banking option"
else if(ModeOfPayment==bank transfer)
Display "Account Details to the user
else
("Choose any one option")
end if
Prompt: "Please fill registration form now"
Prompt - "enter user name:"
Input name
Prompt "Please enter your complete address"
Input address
if(registerForm==completed)
Validate form
if(ValidateForm==okay)
"Send document archive
else
"Please fill the correct form…
arrow_forward
Digital Trumpet
Use an Arduino IDE to create a digital trumpet using Arduino Uno board the program should do the following (screenshot should be provided):
Program Overview
Check to see if the first button is pressed. a. If it is, play the frequency for c. b. If it isn’t, skip to the next else if statement.
Check to see if the second button is pressed. a. If it is, play the frequency for e. b. If it isn’t, skip to the next else if statement.
Check to see if the second button is pressed. a. If it is, play the frequency for g. b. If it isn’t, skip to the next else if statement.
If none of the if statements are true a. Turn the buzzer off.
arrow_forward
Additional Notes:
USING C#
You cannot add two flights with the same flight number
When you select “View Flights”, a list containing the Flight number, origin and destination for each flight must be shown.
When you select “View a particular flight”, a list of all flights should be displayed and the user must be allowed to enter a particular flight number. All the information on that selected flight must be displayed. All the customers who are booked on that flight must
SPECIAL NOTE:
A customer can only be deleted if there are no bookings for that customer.
A flight can only be deleted if there are no customers booked on the flight.
You must extend the core design and add the functionality to add customers and booking features to the system.
The information that must be recorded on a customer is as follows:
A customer ID must be assigned to each customer by the system. (NOT entered by the user)
The customer’s first name
The customer’s last name.
The customer’s phone (a string type…
arrow_forward
Q4
Based on Figure Q4, answer the following questions.
This program draws a triangle on the screen
My name is
My matric no is
I want to print triangle so wiii select no 1 = 1
Please enter 'y' to continue : y
Figure Q4
3
arrow_forward
Design and write a Python program for exercise #19:
Please label your steps with comments (#) on your program
arrow_forward
Differentiate between the following code coverage techniques:• Condition coverage,• Statement coverage, and• Decision coverage.Also, provide a suitable example for each technique.
arrow_forward
Design pattern is a solution to repeatedly occurring problem in various context
Select one:
O True
False
arrow_forward
Hide Assignment Information Instructions The civil engineering department has asked you to write a program to compare three different designs of water towers shown in the diagrams below. The water towers are a cylinder topped with a half sphere. The engineers want to find the design that has the highest volume. The radius of the sphere and the radius and height of the cylinder for each of the three projects will need to be input by the user.
The formula for the volume of a Sphere is:V = 4/3 π r3The formula for the volume of a Cylinder is:V = π r2 h
Write two functions that will calculate the volume of a sphere and a cylinder respectively. Then, use these functions to write a program that will find the design with the largest volume.
Hint: Remember that the tower only consists of a half sphere.
arrow_forward
Employee view attendance report
The employee must be logged in to the
system to perform this function. The
employee selects the report period (range
of dates: from - to). The employee selects
"show report". Range of dates for the
report must be maximum 3 months, so if
the range is invalid, the system displays an
error message. The system displays every
working day in the report with the status
of the employee in this day, which could
be one of the following: on time, late, did
not come.
One actor?
One use case name?
One class ?
Attributes for the class ?
One relation between classes ?
arrow_forward
C language
The program should allow users to add, subtract, multiply, and divide fractions.
The program should display a menu and prompt the user for a mathematical operation, until they enter 5 to exit. The menu should give the user the option to add, subtract, multiply or divide fractions, or exit. After the user chooses their option, they should be prompted to input two fractions. The result of the arithmetic should then be displayed to the screen.
Requirements
main()Functionality: This main function should prompt the user for a menu option until they enter 5. If the user doesn't choose Option 5 to end the program, it should get two fractions from the user. It should decide, based on the menu option which actions to perform on the fractions. Option 1 adds the two fractions together. Option 2 subtracts the first fraction from the second. Option 3 multiplies the two fractions together. Option 4 divides the first fraction by the second one.
In addition to the main functions, your…
arrow_forward
bmi calculation, coding and flow chart
arrow_forward
C PROGRAM / C LANGUAGE
Make a C program language. Input the number of players then input the number of goals
scored for each. Print "Not Messi" if the highest goals exceed 10 and "Okay, fine, it's
Messi" if it doesn't
INPUT
1. Number of players
2. Goals scored by each player
Constraints
All of those goals are whole numbers
The first line will contain a message prompt to input the number of players
• The succeeding lines will contain a message to input the goals scored by each
player
• The last line contains appropriate resulting message
EXPECTED OUTPUT A
EXPECTED OUTPUT B
Enter the number of players: 4
Goals score by player # 1: 7
Goals score by player #2: 2
Goals score by player #3: 5
Goals score by player #4: 1
Okay, fine it's Messi
Enter the number of players: 5
Goals score by player # 1: 10
Goals score by player #2: 2
Goals score by player #3: 20
Goals score by player # 4: 1
Goals score by player # 4: 0
Not Messi
arrow_forward
PYTHON PROGRAMMING ASSIGNMENT
PYTHON PROGRAMMING LANGUAGE ASSIGNMENT
Create a new text document called names.txt (this is done by hand - not using programming) with the following names: Adam, Bryan, Charlie. Each name should be followed by a hard return (do not store them in a list).
Main Function. Write a program where the user enters a name. Using the read function, check to see if the name is in the text document. If it is, respond back to the user the name is found within the list.
Read Function. The read function should return the contents of the text document as a list.
Write Function. The write function should take the list and override the file with the new names list in reverse alphabetical order with a hard return after each name.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Related Questions
- Flow chart and peseudocode of Get the name of the student A. If the student is regular, get his/her section. Then display his/her name and section B. If the student is irregular, get his/her course. Then display his/her name and course.arrow_forwardwitch step or steps is the incorrect answer form the image below and say what is the correct answerarrow_forwardC++ Codearrow_forward
- An ISBN (International Standard Book Number) is a 10 digit number that is used to identify a book. The first nine digits of the ISBN number are used to represent the Title, Publisher and Group of the book and the last digit is used for checking whether ISBN is correct or not. To uniquely identify a book a 10-digit ISBN number is used. The rightmost digit is checksum digit. This digit is determined from the other 9 digits using condition that 10d, + 9dz + 8dg + + d4o must be a multiple of 11 (where d, denotes the i" digit from the right). The checksum digit d; can be any value from 0 to 10: the ISBN convention is to use the value X to denote 10. Write a C program using pointers that receives a 10- digit ISBN, and computes the checksum, and reports whether the ISBN number is correct or not. Example: 007462542X = 10°0 + 9*0 + 8*7 + 74 + 6*6 + 5*2 + 4*5 + 3"4 + 2*2 + 110 = 176 Since 176 leaves no remainder when divided by 11, hence it is a valid ISBN. Note: When the check digit turns out…arrow_forwardPYTHON PROGRAMMING!! EXTRA CONSTRAINT: MAKE SURE THAT THE CODE ACCEPTS THE INPUT ON THE IMAGE AND OUTPUTS THE RESULT ON THE IMAGE AS WELLYou find yourself in a top-secret mission to infiltrate and disable the nuclear missile silos of a terrorist organization threatening to destroy any country that refuses to surrender. Fortunately, an ally double agent was able to successfully hijack the launch system used by the terrorists. However, in order to not get found out, they could not disable the system outright but they were able to infect the system with an undetectable virus that stops all processes of the system was activated. Through a secure line, the double agent gives you the instructions in order to activate the virus and stop all missiles from firing: In the trash can nearest the main computer, you should be able to get a crumpled piece of paper with a grid of random numbers printed onto it. You will know that it is the right piece of paper if there are the same number of rows and…arrow_forwardQuestion 6 Not complete Marked out of 6.00 Flag question a) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.) 2 * 3 + 4 The result is: b) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.) 2 + 3 4 The result is: c) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.) (97) * ( 3 + 4) The result is: d) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.) (7+2) / (9 + 1) The result is: e) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.) a(b + c d ) / e The result is: f) What is the postfix notation for the following infix expression? (Do not put any spaces in your postfix expression.) 9 *(1 + ( 2 + ( 3 + ( 4 + 5 ) ) ) ) The result is: Checkarrow_forward
- Traffic light control sequence flowchart A typical traffic light control sequence for a 4 road junction has been described below (for a road system where the vehicles keep to their left while driving i.e. Australia, UK, South Africa etc). The light changes as per the sequence listed below: A. Before switch ON, all 4 roads should get ‘flashing yellow’ so as to enable them to look around and cross the road junction. B. When switched ON, Main roads 1 & 3 should get green signals G1/G3 to go straight. This signal remains on for 30 seconds. C. The above signals should be changed over to go right GR1/GR3 for 15 seconds only if any sensor S1/S3 of vehicles waiting to turn right is detected in the right turn lane . This will take place after a brief yellow signals Y1/Y3 in between. D. In case no vehicle is waiting for right turn, the roads 1 & 3 should be closed with red signals R1/R3 and interim yellow signals Y1/Y3 for 2 seconds. E. The above…arrow_forwardA palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 16461) that remains the same when its digits are reversed. Create a flow chart of palindrome number.arrow_forwardProgramming Language :- Pythonarrow_forward
- 11 Worksheet 5 Note:Solution using Matlab Code Write a program that prompts the user to enter a number within the range of 1 through 7, those numbers represent the weekdays as shown in the table. If the entered number is more than 7, display 'invalid day'. Number 1 2 3 4 5 6 7 Day Sunday Monday Tuesday Wednesday Thursday Friday Saturday Type of the day Workday Workday Workday Workday Workday Weekend Weekend The program should continue to repeat itself 10 times, after which, the program should stop. Furthermore, the program should be able to show a message saying if this is a 'workday' or a 'weekend day'. Note: you are required to add a comment beside your command. Hint: to add a comment you may use the % sign. thank guys you dodo great.arrow_forwardImportant instructions: All programs must include introductory comments as well as comments all throughout the program. The introductory comment should include your name, the class name with section (e.g. CS 101 -24900), the program name, and a brief description of the program. All Programs must also include pseudocode. There are two parts to this question; the detailed pseudocode, and the program itself in C++ Write your program in C++ with Visual Studio, or an online compiler - compile, and execute it. Upload the file with the .ccp extension to Canvas for grading. For visual studio users; Don't forget to use the system ("pause") before the "return" statement at the end of your program. Programming assignment 4: Write a program that will convert U.S. dollar amounts to Phillippine peso and to euros, storing the conversion factors in the constants PESO_PER_DOLLAR and EUROS_PER_DOLLAR. 1 Dollar = 49.39 Philippine Peso 1 Dollar = 0.87 Euros Format your currency amounts in…arrow_forwardInstructions The program in the Programming Example: Fibonacci Number does not check: Whether the first number entered by the user is less than or equal to the second number and whether both the numbers are nonnegative. Whether the user entered a valid value for the position of the desired number in the Fibonacci sequence. Rewrite that program so that it checks for these things. NOTES: If an invalid number is entered for case 1 above, prompt the user to enter both numbers again. If an invalid number is entered for case 2, prompt the user to enter a value until a valid value is entered. the code: #include <iostream> using namespace std; int main() { //Declare variables int previous1; int previous2; int current; int counter; int nthFibonacci; cout << "Enter the first two Fibonacci numbers: "; //Step 1 cin >> previous1 >> previous2; //Step 2 cout << endl; //verify the first two values if(previous1<0 && previous2>0)…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr