Complete this programming problem in this assignment by using Microsoft Visual Studio Suite. Compile your solutions for each problem solved in a Word or Google document which includes (a) the pseudocode, (b) the C# codes and (c) the execution result (screen capture just the answer part using Snipping Tool, avoiding non-related or blank spaces). Notice for readability, that the (a) & (b) are in text mode and the (c) is in image mode. Use proper titles and wording in the results, such as Console.WriteLine("The total change to be made is {0:C}.", change); so that the results could be easily understood by a third party reader.
Question: Write a C# program to compute the profit made for
selling goldfish flakes online. The wholesale cost for a case of
24-boxes is $118. The price for sale with shipping charge is $9.59
per box. Shipping cost is $1.35 per box. The onlinelisting charge
is 12% of the customer payment. The payment processing cost is 4%
of the payment. Compute and display the following figures for
selling 25 cases of the products: the total wholesale cost for 25
cases; the total revenue for 25 cases of 24 boxes per case, the
total listing cost, the total payment processing cost, and the
total profit made.
In: Computer Science
The first assignment involves writing a Python program to
compute the weekly pay for a salesman. Your program should prompt
the user for the number of hours worked for that week and the
weekly sales. Your program should compute the total pay as the sum
of the pay based on the number of hours worked times the hourly
rate plus the commission. You should choose a value for the hourly
pay. The commission should be computed as a percentage of the
weekly sales. You should choose a value for the percentage. Your
program should output the pay based on the hours worked, the
commission and the total pay for the week.
Your program should include the pseudocode, used to come up with
the program statements, in the comments. Document the values you
chose for the hourly rate and commission percentage in your
comments as well.
You are to submit your Python program as a text file (.txt) file.
In addition, you are also to submit a test report in a Word
document or a .pdf file. 15% of your grade will be based on whether
the comments in your program include the pseudocode and define the
values of your constants, 70% on whether your program executes
correctly on all test cases and 15% on the completeness of your
test report.
In: Computer Science
A) DDL
For Company DB Schema, Answer the below questions:
Emp (Empno, Ename, Job, Hiredate, Sal, Comm, Deptno)
Dept (Deptno, Dname, loc)
1. Retrieve the data of all employees.
2. Retrieve the data of all Salemanemployees.
3. Retrieve the name and Salary of all employees.
4. Retrieve the name and salary of Salemanemployees.
5. Retrieve the name and salary of all employees with Salary more than 2000.
6. Retrieve the Name and Salary of all employees who work in department no 20.
7. Retrieve the name and Job of all employees with Salary more than 2000 and hiredate after 01-01-1981.
8. Retrieve the Job and Salary of all employees with Name = FORD or MARTIN.
9. Retrieve the Name and Number of all Departments.
10. Retrieve the Employee Name and Department number for all employees.
11. Retrieve the Employee Name and Department name for all employees.
12. Retrieve the Employee Name and who works in Department name = RESEARCH.
13. Retrieve the Employee names who workin one of these Departments: RESEARCHand SALES.
14. Retrieve the Employee name who works in department located in NEW YORK.
please write in computer word not on paper
In: Computer Science
Choose an existing web site that you think can be improved or you have experienced problems with and explore the site thoroughly.
In: Computer Science
Identify a situation in your current job or a previous one in which a sales message is or was needed. Using suggestions from this chapter, write an appropriate sales message that promotes a product or service. Use actual names, information, and examples. If you have no work experience, imagine a business you would like to start, such as data processing, pet grooming, car detailing, cleaning, tutoring, specialty knitting, balloon decorating, delivery service, child or elder care, gardening, or lawn care.
Your Task. Write a sales letter or an e-mail marketing message selling your product or service to be distributed to your prospective customers. Be sure to tell them how to respond. You don’t need to know HTML or have a Constant Contact account to craft a concise and eye-catching online sales message. Try designing it in Microsoft Word and saving it as a Web page (go to the File tab and select Save as; then in the Save as type line, select Web page). Consider adding graphics or photos—either your own or samples borrowed from the Internet. As long as you use them for this assignment and don’t publish them online, you are not violating copyright laws.
In: Operations Management
Program Requirements
Program Output
Your output should look like this:
| Line 8: using(0) namespace(6) <== using
occurs at position 0 on line 8, namespace occurs at position 6 on
line 8 Line 10: const(0) int(6) Line 12: void(0) const(19) Line 13: void(0) char(20) int(32) const(48) Line 14: bool(0) const(24) char(30) const(42) Line 15: void(0) char(17) Line 16: void(0) Line 17: void(0) Line 19: int(0) Line 21: const(4) ... Number of keywords found = ?? <== Add this line at the end of your output, replace ?? with the correct number |
Program Hints
The keyword file looks like this:
| for if nullptr break int long sizeof return short else friend const static_cast ... |
The C++ program file looks like this:
| #include <cstdlib> #include <cstring> #include <cctype> #include <cmath> #include <fstream> #include <iostream> #include <string> using namespace std; const int DictionarySize = 23907; void getDictionary(const string& filename,string*); void spellCheckLine(char* line, int lineNumber, const string* dictionary); bool wordIsInDictionary(const char* word, const string* dictionary); void toLowerCase(char* text); ... |
istream::getline example
| ifstream fin("oldass3.cpp"); ... char buffer[132]; ... fin.getline(buffer,sizeof(buffer)); // store a line from the input file into buffer |
In: Computer Science
Program Requirements
Program Output
Your output should look like this:
| Line 8: using(0) namespace(6) <== using
occurs at position 0 on line 8, namespace occurs at position 6 on
line 8 Line 10: const(0) int(6) Line 12: void(0) const(19) Line 13: void(0) char(20) int(32) const(48) Line 14: bool(0) const(24) char(30) const(42) Line 15: void(0) char(17) Line 16: void(0) Line 17: void(0) Line 19: int(0) Line 21: const(4) ... Number of keywords found = ?? <== Add this line at the end of your output, replace ?? with the correct number |
Program Hints
The keyword file looks like this:
| for if nullptr break int long sizeof return short else friend const static_cast ... |
The C++ program file looks like this:
| #include <cstdlib> #include <cstring> #include <cctype> #include <cmath> #include <fstream> #include <iostream> #include <string> using namespace std; const int DictionarySize = 23907; void getDictionary(const string& filename,string*); void spellCheckLine(char* line, int lineNumber, const string* dictionary); bool wordIsInDictionary(const char* word, const string* dictionary); void toLowerCase(char* text); ... |
istream::getline example
| ifstream fin("oldass3.cpp"); ... char buffer[132]; ... fin.getline(buffer,sizeof(buffer)); // store a line from the input file into buffer |
In: Computer Science
1. What is the definition of an eigenvalue and eigenvector of a matrix?
2. Consider the nonhomogeneous equationy′′(t) +y′(t)−6y(t) = 6e2t.
(a)Find the general solution yh(t)of the corresponding homogeneous problem.
(b)Find any particular solution yp(t)of the nonhomogeneous problem using the method of undetermined Coefficients.
c)Find any particular solution yp(t)of the nonhomogeneous problem using the method of variation of Parameters.
(d) What is the general solution of the differential equation?
3. Consider the nonhomogeneous equationy′′(t) + 9y(t) =9cos(3t).
(a)Findt he general solution yh(t)of the corresponding homogeneous problem.(b)Find any particular solution yp(t)of the nonhomogeneous problem.(c) What is the general solution of the differential equation?
4. Determine whether the following statements are TRUE or FALSE.Note: you must write the entire word TRUE or FALSE. You do not need to show your work for this problem.(
a)yp(t) =Acos(t)+Bsin(t)is a suitable guess for the particular solution ofy′′+y= cos(t).(
b)yp(t) =Atetis a suitable guess for the particular solution ofy′′−y=et.
(c)yp(t) =Ae−t2is a suitable guess for the particular solution ofy′′+y=e−t2.(d) The phase portrait of any solution ofy′′+y′+y= 0is a stable spiral.
5. Consider the matrixA=[−2 0 0,0 0 0,0 0−2].(
a) Find theeigenvaluesofA.
(b) Find theeigenvectorsofA.
(c) Does the set of all the eigenvectorsofAform a basis ofR3?
6. Consider the system of differential equationsx′(t) =−2x+y,y′(t) =−5x+ 4y.
a) Write the system in the form~x′=A~x.
b) Find the eigenvalues of.
c) Find theeigenvectorsofA.
d) Find the general solution of this system.
e) Sketch the phase portrait of the system. Label your graphs.
7. Determine whether the following statements are TRUE or FALSE. You must write the entire word “TRUE” or “FALSE’’. You do not need to show your work for this problem.
a) If|A|6= 0 then A does not have a zero eigenvalue.
(b) IfA=[4 2,0 4]then the solution ofx′=Axhas a generalized eigenvector of A.
(c) LetA=[−1 4 0,0 3 3,1 0−2].The sum of the eigenvalues of A is 18.
(d) Let x′=Ax be a 2x2 system. If one of the eigenvalues of A is negative, the stability structure of the equilibrium solution of this system cannot be a stable spiral.
8. Below (next page) are four matrices corresponding to the 2x2 system of equations x′=Ax,where x= (x1, x2). Match each of the four systems (1)–(4) with its corresponding vector field, one of the four plots (A)–(D), on the next page. You do not need to show your work for this problem.
A=[0 1,1−1]
A=[0−1,1 0]
A=[1 2,−2 1]
A=[−1 0,−1−1]
In: Advanced Math
AMP has suffered a first strike on its remuneration report after coming under fire from shareholders and proxy advisers over the “disproportionately large” incentives paid to its executives. At the company’s virtual annual general meeting on Friday, 67 per cent of proxies voted against the remuneration report. It comes after influential proxy advisers Ownership Matters and ISS recommended shareholders vote against the generous pay packages. Both proxy advisers last month argued that executive pay was overly generous and performance hurdles not rigorous enough. If the company receives a second strike next year, it will trigger a board spill under the ‘two-strikes’ rule. Commenting on the executive remuneration plan, Mr Murray [Chair of the Board] said the generous package was required to attract and retain an executive team that could execute the company’s transformation strategy. “The 2019 remuneration structure was designed to reflect the scale, complexity and challenges involved in transforming the business … executing an ambitious strategy, separating the life insurance business, completing client remediation and addressing the company’s challenging regulatory and legal matters. “In our CEO and executives, we have a capable and driven team to deliver our plan. Their awards are substantial, but the hurdles are challenging. For the awards to be realised over the long term, these demanding hurdles must first be achieved, including a significant improvement in business performance and share price,” Mr Murray said. Taking aim at the two-strike rule, which sees a board spill if more than 25 per cent of shareholders vote against a company’s remuneration report two years in a row, Mr Murray warned it reduced the incentive for companies to “properly invest in specialist care, ultimately leaving the more difficult workouts to the unlisted markets”. AMP chief executive Francesco De Ferrari’s pay package came in at $13.43m last year, buoyed by share rights, options and restricted shares, even as the under-pressure wealth group posted losses of $2.5bn. Mr De Ferrari’s remuneration for the 12 months ended December 31 included a $2.18m base salary, $1.32m cash bonus, other short-term benefits of $1.71m and almost $8.2m in rights, options, and restricted shares. Extract from Grieve, C. Shareholders hit AMP with first strike against executive pay packets. The Australian. 8 May 2020. Required: From the information provided: a) Do you think that remuneration incentives are working in the way intended under agency theory for AMP Ltd? Why or why not? (Maximum word limit 500 words) b) How might earning management be relevant to remuneration incentives? Explain. (maximum word limit 250 words) (4 m
In: Accounting
Researchers claim that women speak significantly more words per day than men. One estimate is that a woman uses about 20,000 words per day while a man uses about 7,000 . To investigate such claims, one study used a special device to record the conversations of male and female university students over a four‑day period. From these recordings, the daily word count of the 2020 men in the study was determined. The table contains their daily word counts.
| 28,408 | 10,084 | 15,931 | 21,688 | 37,786 |
| 10,575 | 12,880 | 11,071 | 17,799 | 13,182 |
| 8,918 | 6,495 | 8,153 | 7,015 | 4,429 |
| 10,054 | 3,998 | 12,639 | 10,974 | 5,255 |
(a) Use the software of your choice to make a histogram of the data. What value should we remove from the data to make it reasonable to use the t procedures (assume these men are an SRS of all male students at this university)?
value to remove:
(b) With this value removed, carry out a test of significance to determine if the mean number of words per day of men at this university differs from 7000. (If you're using CrunchIt for your calculations, adjust the default precision under Preferences as necessary. See the instructional video on how to adjust precision settings.)
Choose the correct hypotheses to test.
H0:μ=7000 versus H0:μ>7000
H0:μ≠7000H0 versus H0:μ=7000H0
H0:μ<7000H0 versus H0:μ≠7000H0
H0:μ=7000H0 versus H0:μ≠7000H0
With the value removed, find ¯x . (Enter your answer rounded to two decimal places.)
x¯=
With the value removed, find s . (Enter your answer rounded to three decimal places.)
s=
With the value removed, find t . (Enter your answer rounded to three decimal places.)
t=
Using the software of your choice, find the P‑value. (Enter your answer rounded to four decimal places.)
P=
What conclusion can we make from this data? Choose the correct answer.
A.There is no evidence that the mean number of words per day of men at this university differs from 7000 The sample mean indicates they speak less than 7000 words per day.
B.There is overwhelming evidence that the mean number of words per day of men at this university differs from 7000The sample mean indicates they speak more than 7000 words per day.
C.There is overwhelming evidence that the mean number of words per day of men at this university differs from 7000The sample mean indicates they speak less than 7000 words per day.
D.There is no evidence that the mean number of words per day of men at this university differs from 7000The sample mean indicates they speak more than 7000 words per day.
In: Statistics and Probability