In: Physics
Question 1) Identify the type of bad smells and refactor the given code.
1. Code 1:
public double sumSquaresArea ( L1, L2 )
{
area1 = smallSquareArea(L1);
area2 = bigSquareArea(L2);
return area1+area2
}
public double smallSquareArea ( L1)
{
area = L1 * L1;
return area;
}
public double bigSquareArea ( L2 )
{
area = L2 * L2;
return area;
}
2. Code 2:
class Student
{
private string name;
public void getStudentMarks ( );
}
class Course_Marks
{
private int course_id;
private string semester;
public void getStudentMarks ( );
}
3. Code 3:
public void accountInfo(string account_title, string account_number, string account_type)
{
// Generate Monthly Statement
if(account_type == “Current”)
{
// do something
}
else if (account_type == “Saving”)
{
// do something
}
else
{
//do something
}
//Account information
System.out.println(“***** Account Information *****”);
System.out.println(“Account_Title : ” , account_title);
System.out.println(“Account Number : ” , account_number);
System.out.println(“Account_Type : ” , account_type);
System.out.println(“Monthly Statement : ”, monthly_statement );
}
In: Computer Science
Reply to this comment
ROA (Return on assets) is a rate that measures the net income compared to the total assets. In other words, it shows how much the company is generating for each dollar invested. It is helpful to compare the results of the companies in the market. A company can be very lucrative, but not efficient. It can demand too much investment to obtain that profit.
The ROE (Return on equity) is very similar to ROA, but it includes the debt of the company. It is calculated by dividing the Net Income by the Stakeholder's equity. Since the stakeholder's equity is the total assets minus the debt of the company, this index shows the return compared to the own capital of the company
In: Finance
a. Josiah Bartlett collects 2 goods, carving knives (C) and antique books (B). His utility function is U(C, B) = 2C + B (they are perfect substitutes). Find Josiah’s demand curve for carving knives if he has $100 to spend and the price of antique books is $10.
b. Josiah's assistant Charlie collects the same two goods but has a different utility function: U(C, B) = min{2C, B} (they are perfect complements). Find Charlie’s demand curve for carving knives if he has $100 to spend and the price of antique books is $10.
In: Economics
Describe the characteristics of both the "classic" and the "microbial loop" portions of the food chain.
In: Biology
150 words
A healthy diet, are low carbohydrate diets good or bad for your health?
In: Biology
This should be written in C++.
Create a class with the name "Student".
private data members of the Student class should include:
int - rollno (roll number or id number of student)
string - name (name of student)
int - alg, datastruct, architect, proglang (hold scores out of 100 for these 4 classes)
float - per (average score of 4 classes above)
char - grade (letter grade based on per.. example 90 is an A)
public member functions of the Student class should include:
getdata() (function to accept data from user
showdata() (function to show data on screen
Create a constructor that initializes all int to 0, float to 0.0, char to ' ', name = "NoName".
Prompt the user for a valid class size.
Prompt the user for student data.
Store students in a vector.
Display student data including students average score and letter grade.
The following is an example:
Enter size of class: 0 Invalid class size Enter size of class: 1 Enter the roll number of student: 45 Enter The Name of student: Trish Duce Enter the grade in Algorithms out of 100: 88 Enter the grade in Data Structures out of 100: 94 Enter the grade in Architecture out of 100: 98 Enter the grade in Programming Languages out of 100: 92 Roll number of student: 45 Name of student: Trish Duce Grade in Algorithms: 88 Grade in Data Structures: 94 Grade in Architecture: 98 Grade in Programming Languages: 92 Percentage of student is: 93 Grade of student is: A
In: Computer Science
How do sequences in the mRNA affect the molecule’s stability? What is an example of a stabilizing element, and an example of a destabilizing element?
In: Biology
How does pentobarbital, pancuronium bromide, and potassium chloride accomplish cessation of life?
Please include a source(s)!! It is a necessity! Thank you.
In: Chemistry
What was the earliest and what was the latest time of the day we sold a product on 14.04.2015? Use column A from tab Data and explain how you got to your result
Please Tell me the steps on how this would be solved using Excel. Note that this is not the full excel data but just a small sample.
| date_sign_up | customer_id | product_name | marketing_channel | City |
| 4/17/2015 13:11 | 71041 | Classic - 3 meals per week for 2 people | Search Engine Marketing | San Diego |
| 4/14/2015 11:32 | 103289 | Classic - 3 meals per week for 2 people | Newsletters (internal) | Los Angeles |
| 4/14/2015 9:53 | 107746 | Classic - 3 meals per week for 2 people | Newsletters (internal) | Los Angeles |
| 4/14/2015 16:08 | 157441 | Classic - 3 meals per week for 4 people | Newsletters (internal) | San Francisco |
| 4/18/2015 8:04 | 158646 | Classic - 3 meals per week for 2 people | Newsletters (internal) | San Diego |
| 4/18/2015 15:41 | 178843 | 3 Meals (vegetarian) for 2 people | TV / Radio Advertising | Miami |
| 4/15/2015 9:45 | 179297 | Classic - 3 meals per week for 2 people | Newsletters (internal) | Philadelphia |
| 4/15/2015 8:21 | 182439 | 3 Meals (vegetarian) for 2 people | Newsletters (internal) | San Francisco |
| 4/17/2015 6:57 | 186180 | Classic - 3 meals per week for 2 people | Partnership Marketing | San Diego |
| 4/19/2015 20:39 | 190396 | Classic - 3 meals per week for 2 people | TV / Radio Advertising | Miami |
| 4/14/2015 10:26 | 194229 | Classic - 3 meals per week for 2 people | Search Engine Marketing | Los Angeles |
| 4/13/2015 20:17 | 194353 | Classic - 3 meals per week for 2 people | Search Engine Marketing | Washington |
| 4/15/2015 14:43 | 200286 | Classic - 3 meals per week for 2 people | Search Engine Marketing | Philadelphia |
| 4/16/2015 7:35 | 201307 | Classic - 3 meals per week for 2 people | TV / Radio Advertising | 1San Diego |
| 4/15/2015 6:54 | 203319 | Classic - 3 meals per week for 2 people | Newsletters (internal) | San Francisco |
| 4/14/2015 8:35 | 205233 | Classic - 3 meals per week for 2 people | TV / Radio Advertising | Los Angeles |
| 4/13/2015 12:08 | 205322 | Classic - 3 meals per week for 2 people | Newsletters (internal) | Chicago |
| 4/16/2015 5:04 | 205611 | Classic - 3 meals per week for 2 people | TV / Radio Advertising | San Diego |
| 4/15/2015 12:17 | 208066 | 3 Meals (vegetarian) for 4 people | Newsletters (internal) | Philadelphia |
In: Computer Science
The purpose of this assignment is to allow you to understand scenarios and customer experiences in which AI and RPA can be used. You might need to do some additional research on specific technologies related to AI to complete the assignment.
First, select a current process that you face in your daily life. It might be something you face in your work, or at school, or in your personal life. For this process, complete the following:
1. Select a current process that you face in your daily life. It might be something you face in your work, or at school, or in your personal life. Use one or two paragraphs of text to explain the context for the process.
2. Create a simple process diagram describing this process. You can simply use boxes and arrows to identify the steps. Highlight which of those steps could be sources of “pain points” (that is, frustrate people interacting with the processes) and explain why. You will need to upload a file for this prompt.
3. Create a new version of the process where RPA and AI could be used to decrease (or even eliminate) the pain points. Your new process model should highlight the steps in which RPA and/or AI are used. For each use of RPA or AI technologies explain what that technology does and how you are using that specific technology. For each use of RPA or AI technologies explain how that technology would decrease (or even eliminate) the pain point.
In: Computer Science
Which four File Preference actions can you perform via GPOs?
In: Computer Science
In: Nursing
Explain the differences between identification, authentication, and authorization.
In: Computer Science
ACC 154- Managerial Accounting
Cost-Volume-Profit Analysis Excel Assignment
Introduction:
Congratulations! You have finally been promoted to the position of Division Manager with your long time employer Solar Co., a manufacturer of solar panels. It is now your responsibility to take the lead for corporate planning, analysis and oversight of the company’s soleproduct- solar panels. Much of the company’s future success or failure rides with your insight and leadership.
Your analysis for the coming year is extremely challenging given current economic conditions, random government programs and competition from lower cost non-U.S. manufacturers. You will be required to forecast changes in the company’s fixed and variable costs for 2019 to determine its break even point, and then proceed to completing its Master Budget for 2016 based upon these forecasts.
As a wholly owned subsidiary of a large diversified company, management is under pressure to deliver an increase of 8 % over 2018’s Income Before Taxes.
Situation as of Year-End 2018:
Sales Price: 1 (one) Solar Panel sells for $400.
Sales Volume: 200,000 Solar Panels were sold this past year.
Current capacity: 220,000 units (there is no plan (or budget) to expand operating capacity for 2018)
Fixed Costs:
ManufacturingOverhead:
Facility Rent:$400,000
Management Salaries: $1,200,000
Depreciation, machinery: $40,000
Maintenance and repair: $60,000
Other overhead expenses: $24,000
Selling and Administrative Costs:
Taxes and insurance: $600,000
Sales salaries: $180,000
Variable Costs:
Manufacturing Costs:
Materials: $180 per Solar Panel
Labor:$70 per Solar Panel
Employee Benefits: $20 per Solar Panel
Utilities: $5 per Solar Panel
Selling and Administrative Costs:
Delivery expenses: $60 per Solar Panel
Sales commissions: $15 per Solar Panel
You have pondered the future for Solar Co. and have identified three very possible scenarios in which your company may have to operate:
Scenario 1: The government institutes a program to support wind power that makes wind power relatively less expensive than other sources of energy.
Scenario 2: One of raw materials used to make a solar panel increases dramatically forcing Solar Co. to increase their selling price per unit.
Scenario 3: The “go green” mantra catches on (supported by government consumer tax credits) increasing demand for the company’s solar panels.
REQUIRED: Cost-Volume-Profit Analysis Current vs
Projected
1. 2018 CVP:Using the Excel spreadsheet file perform the following calculations using the information as of the end of 2018:
(8 Points)
2. Projected 2019 CVP:Selectone
of the three scenarios on the previous page and then provide the
following projected calculations for 2019:
(8 Points)
In: Accounting