wondergeek777Lv1in Computer Science·15 Jul 20222. Create a class named Shipment a. The program must ask for two separate packages to ship b. The program must calculate the cost difference using the difference in volume: i.e. The base price for a package with volume <=1 is $3, for every unit increase in volume, the cost increases by $1 e.g. 1: a parcel with volume 4, the cost is $3+ $1 +$1 +$1 = $6 e.g. 2: a parcel with volume 2.5, the cost is $3 + $1.5 = $4.5 c. Give the following (in order of priority): i. If there is no difference, display the costs as the same ii. If the cost of one is less than twice the other, display that it is “slightly more than” iii. If the cost of one is less than three times the other, display that it is “twice” iv. If the cost of one is less than four times the other, display that it is “triple” v. If the cost of one is less than five times the other, display that it is “quadruple” vi. Otherwise, display that as a calculated multiple (eg 5x, 6x etc) c. The program must indicate the more costly package (if not same cost) and by how much d. The program must calculate and display the appropriate message (including proper dimension and cost format) f. Your code also does NOT need to worry if the user inputs an invalid value for the input (example: invalid length). The output of your code must match the samples. g. You must change the title i.e. Welcome to shipping calculator!
omgisthatliyah2Lv1in Geography·15 Jul 2022 Directions: Using the graph above answer each question below. 1. What does the graph show below? 2. In 1989, how much was the trade deficit for the U.S.? 3. Which year did the U.S. have the biggest trade deficit and what was the amount? 4. From 1989 to 2018, what appears to be occurring with the U.S. trade deficit? 5. In 2009, what occurred with U.S. trade and it’s trade deficit? Why do you think this may have happened? 6. Why is it bad for a country to have large grade deficits?
wondergeek777Lv1in Computer Science·15 Jul 20221. Create a Java class named Package that contains the following:a. Package should have three private instance variables of type double named length, width, andheight.b. Package should have one private instance variable of the type Scanner named input, initializedto System.in.c. No-args (explicit default) public constructor, which initializes all three double instance variables to1.0.d. Initial (parameterized) public constructor, which defines three parameters of type double,named length, width, and height, which are used to initialize the instance variables of same name.e. Public copy constructor, with a parameter of type Package, used to duplicate anexisting Package object.f. Three public void methods named inputLength, inputWidth, and inputHeight. Each methodwill prompt the user for the appropriate property, and input a double value usingthe Scanner object input to initialize the instance variablesg. A public void method named displayDimensions which prints the dimensions as length X width Xheight (each value separated by a “ X “).h. A public method of type double named calcVolume that calculates the volume and returns theresult as a double value.
NellyLv1in Biology·15 Jul 2022Discuss the following terms: • asexual reproduction • nuclear membrane • reproduction • tetrad • gene • chromosome • nucleus • daughter cell • parent cell
zoey.otterpopLv1in Economics·15 Jul 20221. a) List the three tools of monetary policy. No need to explain. b) Explain clearly how each tool listed is used to fight inflation.
zoey.otterpopLv1in Economics·15 Jul 20223. How does increased foreign demand for US government bonds affect the foreign exchange graph below?
zoey.otterpopLv1in Economics·15 Jul 20224. a) How much is imported before and after the tariff? b) How much tariff revenue is paid to the government as a result of the imposed import tariff?
zoey.otterpopLv1in Economics·15 Jul 20225. Successive US administrations have accused the Chinese government of manipulating their currency (Yuan) to keep their currency cheap compared to the US dollar. Explain clearly how a cheaper Yuan benefits the Chinese economy.
wondergeek777Lv1in Computer Science·14 Jul 2022PS: Please answer number 1 with the subparts as they go altogether.1. Develop your own program (any old, submitted program is ok to use) and place it in your GIT repository. a. Steps begin with the installation of GIT repository b. Include snapshots of (at least 3) performed GIT commands in your program c. Provide brief explanation of each command below its snapshot
klanmkx9999Lv1in Precalculus·14 Jul 2022Rectangle ACEF shown in the figure is a golden rectangle. It is constructed from square ACDB by holding line segment OB fixed at point O an then letting point B drop down until OB aligns with CD. The ratio of the length to the width in the golden rectangle is called the golden ratio. Find the lengths below to arrive at the golden ratio. (Let a = 1.) (a) Find the length of OB. OB = ______ (b) Find the length of OE. OE = ______ (c) Find the length of CE. CE = ______ (d) Find the ratio . = ______
klanmkx9999Lv1in Precalculus·14 Jul 2022The object shown in the figure below is a cube (all edges are equal in length). If the length of each edge of the cube shown in the figure below is unknown, we can represent it with the variable x. Then we can write formulas for the lengths \text of any of the diagonals. Finish each of the following statements. (a) If the length of each edge of a cube is x, then the length of the diagonal of any face of the cube will be _____________ (b) If the length of each edge of a cube is x, then the length of any diagonal that passes through the center of the cube will be _____________
klanmkx9999Lv1in Precalculus·14 Jul 2022If the length of each edge of the cube shown in the figure is inches, find the following. (a) the length of diagonal CH. CH = ______ in (b) the length of diagonal CF. CF = ______ in