In Java, how can I convert a string user input for example a student starts a uni degree in "Winter/2022", to a date type, and then once I have done that, add 3 years to that value, and changing the season, so for example Student Started: Winter/2022 and Student Finished: Summer/2025. Is there any possible way to do this?
Thank you.
In: Computer Science
The accountant for Bright Products, Inc., has analyzed the
manufacturing overhead costs for the company’s assembly department.
The fixed and variable costs follow:
| Variable Cost Element per Hour | Monthly Fixed Cost Element |
|||||||
| Indirect labor | $ | 1.40 | $ | 1,760 | ||||
| Payroll taxes | 0.21 | 140 | ||||||
| Indirect materials | 0.19 | 140 | ||||||
| Utilities | 0.36 | 240 | ||||||
| Depreciation | - | 1,160 | ||||||
| Taxes and insurance | - | 460 | ||||||
| Maintenance | 0.21 | 240 | ||||||
Required:
| Indirect labor | $ | 3,814 | |
| Payroll taxes | 259 | ||
| Indirect materials | 444 | ||
| Utilities | 816 | ||
| Depreciation | 1,160 | ||
| Taxes and insurance | 439 | ||
| Maintenance | 534 | ||
Prepare a departmental monthly overhead performance report
comparing actual costs with the budget allowance for the total
number of hours worked.
Analyze:
If Bright Products, Inc., operates at the expected production level
of 2,100 direct labor hours, what total manufacturing overhead cost
is projected per direct labor hour?
Prepare a flexible budget for the department for the month of May 2019, assuming that the expected production is for 2,100 direct labor hours. Show costs for production levels of 90 percent and 110 percent of the expected production level of 2,100 hours. (Round your answer to 2 decimal places.)
| a. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
b.
Prepare a departmental monthly overhead performance report comparing actual costs with the budget allowance for the total number of hours worked. (Enter all amounts as positive values. Round amounts to the nearest dollar.)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
c.
If Bright Products, Inc., operates at the expected production level of 2,100 direct labor hours, what total manufacturing overhead cost is projected per direct labor hour? (Round your answer to 2 decimal places.)
|
_________
In: Accounting
Issue # 2 - A V-belt from a 10 in. Diameter spindle pulley that rotates at 1800 rpm, to a 36 in. Diameter flat pulley. The wheelbase is 40 "and the throat angle is 40o. The friction coefficient between the belt and the grooved pulley is 0.2 and with the flat pulley it is also 0.2. The cross section of the straps is a trapezoid with parallel sides of 1.5 "and 0.75", with a height between them of 1 ". The weight of this belt is 0.04 lbf / in3, and the maximum allowable tension on each belt is 200 lbf. Determine: a) How many straps are needed. b) The Torque applied in the transmission, c) The Transmitted power. Note: Consider locating the center of gravity of the belt cross section in order to correct the actual pulley diameter as the band on the splined pulley is slightly outward.)
In: Mechanical Engineering
Download the Unit 5 Programming Assignment When you're finished, upload the following to the Programming Assignment submission area: Upload the following for your Programming Assignment submission. Question.java TrueFalseQuestion.java MultipleChoiceQuestion.java Quiz.java A screenshot showing a dialog box asking a true/false question Your assignment will be graded by your peers using the following criteria. Does the submission include a file that defines the class "Quiz" with a main method? Does the submission include a file that defines the abstract class "Question" with instance method "check", class method "showResults", and abstract method "ask"? Does the submission include a file that defines the class "MultipleChoiceQuestion" as a subclass of "Question" with an implementation of "ask" method? Does the submission include a file that defines the class "TrueFalseQuestion" as a subclass of "Question" with an implementation of the "ask" method? Does the class "TrueFalseQuestion" implement the method "ask" to keep asking its question until it receives an answer of "f", "false", "n", "no", "t", "true", "y", or "yes" in any combination of upper and lower case? Does the class "TrueFalseQuestion" implement the method "ask" to return only "TRUE" or "FALSE"? Does the class "TrueFalseQuestion" have a constructor that initializes the question and correct answer using its parameters, where the correct answer is initialized to only "TRUE" or "FALSE"? Does the main method in class "Quiz" use the "check" method with both "MultipleChoiceQuestion" and "TrueFalseQuestion" objects? Does the main method in class "Quiz" report correct results using the "showResults" method from class "Question"?
In: Computer Science
In: Computer Science
In C Write a program that
Note : c = (5.0/9.0)*(f-32.0)
Sample output
Enter temperature in deg F
50
You entered 50 def F. The corresponding temp in deg C is 10.00
Another temperature conversion?
Enter y or n please
y
Enter temperature in deg F
60
You entered 60 def F. The corresponding temp in deg C is 15.56
Another temperature conversion?
Enter y or n please
a
Enter y or n please
#
Enter y or n please
y
Enter temperature in deg F
70
You entered 70 def F. The corresponding temp in deg C is 21.11
Another temperature conversion?
Enter y or n please
n
Bye
Problem 3
Write a program that
Note : c = (5.0/9.0)*(f-32.0)
Sample output
Enter temperature in deg F
50
You entered 50 def F. The corresponding temp in deg C is 10.00
Another temperature conversion?
Enter y or n please
y
Enter temperature in deg F
60
You entered 60 def F. The corresponding temp in deg C is 15.56
Another temperature conversion?
Enter y or n please
a
Enter y or n please
#
Enter y or n please
y
Enter temperature in deg F
70
You entered 70 def F. The corresponding temp in deg C is 21.11
Another temperature conversion?
Enter y or n please
n
Bye
In: Computer Science
1) Describe a real-world situation for which a for loop would provie an appropriate simulation.
2) Describe a real-world situation for which a while loop would be more appropriate.
3) How could a while loop be coded to run forever?
4) How could a for loop be coded to run forever?
5) Describe a testing strategy for ensuring that your loop conditions are properly coded.
*These are conceptual questions, I don't need any actual code. Please give me conceptual answers NOT CODE!
In: Computer Science
Prove {0n1n, n≥0} is a computable language
In: Computer Science
Early Adulthood Discussion
Welcome to NOW is many of your lives - and some of us have passed this point..
I want to talk about relationships - Please refer to the videos and the chapter for context to describe why relationships are so important.
Please ask and answer a question from your group's perspective on the issues during this time of your lives!!
(Personal examples really do make a difference here!)
In: Psychology
A box contains 1 fair coin and 1 2-Headed coin. A coin is drawn and flipped several times.
(a) The first flip results in Heads. What is the probability that the coin is fair?
(b) 3 flips result in all Heads. What is the probability that the coin is fair?
(c) 5 flips result in all Heads. What is the probability that the coin is fair?
(d) How many flips of all Heads are required to know with 99.9% accuracy that the coin is not fair?
In: Math
In 250 words explain the difference between testing someone honesty ( trapment), and entrapment, where the defendant asserts—as a defense—that he government invented the crime. Explain why the defendant’s predisposition (0r not) is her/ his best defense.
In: Psychology
The global COVID-19 pandemic have resulted in many companies contemplating to shut down or close permanently their operations. Discuss the decisions that must be considered by management before taking such a move.
In: Accounting
a)Adoubledata field(private)named realfor real part of a complex number.
b)Adoubledata field(private)named imgfor imaginarypart of a complex number.
c)A no-arg constructor that creates a default complex number with real 0and img 0.
d)Auser-defined constructorthat creates a complex number with given 2 numbers.
e)The accessor and mutator functions for realand img.
f)A constant function named addition(Complex&comp1, Complex&comp2) that returns the sum of two givencomplex numbers.
g)Aconstantfunction named subtraction(Complex&comp1, Complex&comp2) that returns the subtractionof two givencomplex numbers.
h)A constant function named multiplication(Complex&comp1, Complex&comp2) that returns the multiplicationof two givencomplex numbers.
i)Write a test program that creates aComplexobject with no-arg constructor.Then, set -4.2 and 3.1to real and imaginary parts of the complex number, respectively.
j)Create another Complexobject using the user-defined constructor.
k)Testaddition, subtractionand multiplication functions using thesetwoComplex objects.
In: Computer Science
using c++ classes
write program in which CString is used, and give simple and easy
examples in the form of program, to show how to use different
CString function, use comments to explain what happened at that
function.
In: Computer Science
Three protons occupy the vertex of an equilateral triangle with each side of 1 cm. Mp= 1.67E-27 kg, qp= 1.6E-19 C.
a) release all three protons from rest, what is the max speed of each proton?
b) Only one proton is released while the other two are fixed. Find the speed of the moving proton after a long time.
In: Physics