NO OTHER DATA PROVIDED
4. A give soil has a CEC of 12.50 cmol of charge per kg of soil. If 70%, 15%, 10% and 5% of the CECis occupied by Ca+2, K+1, Mg and Na+1 , respectively, calculate the weight (grams) of Ca, K, Mg and Na in the soil.
5. A given soil contains the following colloids: 1.0% humus (CEC=200), 30% kaolinite (CEC=5), 5%smectite (montmorillonite) (CEC=80), 10% illite (CEC=20), 5% mica (CEC=70) and 49% sesquioxides (CEC=2). Calculate the CEC of the soil? Which colloids contributed the most and which contributed the least? (All CEC are in molc/kg soil).
6. Calculate the amount of pure CaCO3that could theoretically neutralize the H+ in one-year acid rain if a 1-hectare (ha) site received 200 mm of rain per year and the average pH of the rain was 5.0.
7. Calculate the pH and pOH of a soil with the following H+ concentrations: (a) 0.0000001M (b) 0.00001M (c) 0.005M? Which soil is relatively most acidic? Most basic?
8. Determine the calcium carbonate equivalent (CCE) of the following compounds: (amount that has the same neutralizing value as 100 g pure CaCO3) (a) KOH (b) Mg(OH)2 (c) and CaMg(CO3)2.
9. How many grams of limestone with a CaCO3 equivalent of 100% would you need to apply to an acidic soil with 85% exchangeable Al saturation to reduce it to 10%? The CEC of the soil is 12.5cmolc/kg.
10. How many grams of gypsum (CaSO4.2H2O) would you need to reclaim a sodic soil with an exchangeable sodium percentage (ESP) of 80% to reduce to it to 50%? The CEC of the soil is 12.5cmolc/kg.
In: Chemistry
Circle
Radius: double
Circle()
Circle(newRadius: double)
getArea(): double
setRadius(newRadius: double): void
getRadius(): double
After creating the Circle class, you should test this class from
the main() method by passing objects of this
class to a method “ public static void printAreas(Circle c, int
times)”
You should display the area of the circle object 5 times with
different radii.
2
java.util.Random
+Random()
+Random(seed: long)
+nextInt(): int
+nextInt(n: int): int
+nextLong(): long
+nextDouble(): double
+nextFloat(): float
+nextBoolean(): boolean
Constructs a Random object with the current time as its
seed.
Constructs a Random object with a specified seed.
Returns a random int value.
Returns a random int value between 0 and n (exclusive).
Returns a random long value.
Returns a random double value between 0.0 and 1.0
(exclusive).
Returns a random float value between 0.0F and 1.0F
(exclusive).
Returns a random boolean value.
Using this class, do the following:
1. Generate and display 20 random numbers of type integer in the
range 0 to 50.
2. Generate and display 20 random numbers of type integer with seed
3 in the range 0 to 1000.
3. Generate and display 20 random numbers of type double in the
range 10 to 50.
3
java.util.Date
+Date()
+Date(elapseTime: long)
+toString(): String
+getTime(): long
+setTime(elapseTime: long): void
Constructs a Date object for the current time.
Constructs a Date object for a given time in
milliseconds elapsed since January 1, 1970, GMT.
Returns a string representing the date and time.
Returns the number of milliseconds since January 1,
1970, GMT.
Sets a new elapse time in the object.
The + sign indicates
public modifer
Using this class, display the current time.
In: Computer Science
Q1) Design a concrete mix by using ACI Method of Mix Design having 28-day characteristic mean strength of 27 MPa for a deck of a residential building at Nebraska. Dry weather and gradually warming temperatures may be expected throughout the working week. Fresh concrete composed of a slump of 90 mm and maximum aggregate size of 25 mm. Determine the amount of water reducing admixture to be used for 0.24 % and 0.65 %. Deck is a flat surface capable of supporting weight, similar to a floor, but typically constructed outdoors, often elevated from the ground, and usually connected to a building. Decks that need piers or footings must have them installed below the frost line. This will keep the piers from heaving up out of the ground from the strength of the freeze. Reinforcing steel will help keep the piers from cracking. The freeze or frost line is the depth to which the soil freezes or has been known to freeze at some point in the past. It is absolutely critical that the foundations of buildings extend below this point in a soil profile. Except for a few arid locations, soils typically contain water and this water expands approximately nine percent in volume when it freezes. The frost line depth is not consistent around the nation because there
is such a dramatic difference in climate from state to state. Deck is composed of 2.5 cm reinforcement and there is no need for piers. The material properties are as follows:
For Coarse aggregate: SSD bulk specific gravity: 2.75, absorption capacity = 1.5 %, total moisture: 2.5 %, Dry-rodded unit weight: 1514 kg/m3.
For Fine aggregate: SSD bulk specific gravity: 2.65, absorption capacity = 1.0 %, surface moisture: 3 %, F.M: 2.6.
Cement: Type V, Sp.Gravity: 3.23
Probability constant: 1.22 and standard deviation: 2 MPa
In: Civil Engineering
Smoky Mountain Corporation makes two types of hiking boots—the Xtreme and the Pathfinder. Data concerning these two product lines appear below: Xtreme Pathfinder Selling price per unit $ 123.00 $ 86.00 Direct materials per unit $ 63.80 $ 50.00 Direct labor per unit $ 10.80 $ 9.00 Direct labor-hours per unit 1.2 DLHs 1.0 DLHs Estimated annual production and sales 27,000 units 74,000 units The company has a traditional costing system in which manufacturing overhead is applied to units based on direct labor-hours. Data concerning manufacturing overhead and direct labor-hours for the upcoming year appear below: Estimated total manufacturing overhead $ 2,340,800 Estimated total direct labor-hours 106,400 DLHs Required: 1. Compute the product margins for the Xtreme and the Pathfinder products under the company’s traditional costing system. 2. The company is considering replacing its traditional costing system with an activity-based costing system that would assign its manufacturing overhead to the following four activity cost pools (the Other cost pool includes organization-sustaining costs and idle capacity costs): Estimated Overhead Cost Expected Activity Activities and Activity Measures Xtreme Pathfinder Total Supporting direct labor (direct labor-hours) $ 691,600 32,400 74,000 106,400 Batch setups (setups) 900,000 270 230 500 Product sustaining (number of products) 700,000 1 1 2 Other 49,200 NA NA NA Total manufacturing overhead cost $ 2,340,800 Compute the product margins for the Xtreme and the Pathfinder products under the activity-based costing system. 3. Prepare a quantitative comparison of the traditional and activity-based cost assignments.
In: Accounting
write a program that finds the average of all positive, non-zero values found in a given array of doubles and prints that to the console. Any negative or zero values do not contribute to the average. The program should use the array provided in the code, and you may assume that it has already been populated with values. The results should be printed out to the console in the following format:
“Average: ”<<average value>>
Values denoted in “<< >>” represent variable values, and strings in quotations denote literal values (make sure to follow spelling, capitalization, punctuation, and spacing exactly). Also, if there are either no non-zero or positive in the array then print out the average value as “0.0”.
Solution Tests:
Average: 7.0
Average: 3.5
Average: 0.0
PROVIDED CODE:
* Provided code. Do not alter the code that says "Do not alter"
* Make sure this at least compiles (no syntax errors)
* You may write additional methods to help
*/
//Do not alter-----------------------------------------------------------------------
import java.util.Scanner;
public class Question04 {
public static double[] array;//The array to be used in the problem
public static void main(String[] args) {
int number;//Used for the stairs
if(args == null || args.length == 0)
{
//-----------------------------------------------------------------------------------
double[] tempArray ={2.0,-4.0,-6.0,8.0,11.0};//You may change these values to test your solution
//Do not alter-----------------------------------------------------------------------
array = tempArray;
}
else
{
}
//-----------------------------------------------------------------------------------
//Write your solution here
}//Do not alter this
//Space for other methods if necessary-----------------------------------------------
//Write those here if necessary
//-----------------------------------------------------------------------------------
}//Do not alter this
/*Solution Description
* In: Computer Science
Smoky Mountain Corporation makes two types of hiking boots—the Xtreme and the Pathfinder. Data concerning these two product lines appear below: Xtreme Pathfinder Selling price per unit $ 120.00 $ 87.00 Direct materials per unit $ 65.20 $ 51.00 Direct labor per unit $ 11.20 $ 8.00 Direct labor-hours per unit 1.4 DLHs 1.0 DLHs Estimated annual production and sales 30,000 units 65,000 units The company has a traditional costing system in which manufacturing overhead is applied to units based on direct labor-hours. Data concerning manufacturing overhead and direct labor-hours for the upcoming year appear below: Estimated total manufacturing overhead $ 2,033,000 Estimated total direct labor-hours 107,000 DLHs Required: 1. Compute the product margins for the Xtreme and the Pathfinder products under the company’s traditional costing system. 2. The company is considering replacing its traditional costing system with an activity-based costing system that would assign its manufacturing overhead to the following four activity cost pools (the Other cost pool includes organization-sustaining costs and idle capacity costs): Estimated Overhead Cost Expected Activity Activities and Activity Measures Xtreme Pathfinder Total Supporting direct labor (direct labor-hours) $ 631,300 42,000 65,000 107,000 Batch setups (setups) 876,000 410 320 730 Product sustaining (number of products) 460,000 1 1 2 Other 65,700 NA NA NA Total manufacturing overhead cost $ 2,033,000 Compute the product margins for the Xtreme and the Pathfinder products under the activity-based costing system. 3. Prepare a quantitative comparison of the traditional and activity-based cost assignments.
In: Accounting
Smoky Mountain Corporation makes two types of hiking boots—the Xtreme and the Pathfinder. Data concerning these two product lines appear below: Xtreme Pathfinder Selling price per unit $ 121.00 $ 86.00 Direct materials per unit $ 65.30 $ 52.00 Direct labor per unit $ 13.50 $ 9.00 Direct labor-hours per unit 1.5 DLHs 1.0 DLHs Estimated annual production and sales 31,000 units 65,000 units The company has a traditional costing system in which manufacturing overhead is applied to units based on direct labor-hours. Data concerning manufacturing overhead and direct labor-hours for the upcoming year appear below: Estimated total manufacturing overhead $ 2,230,000 Estimated total direct labor-hours 111,500 DLHs Required:
1. Compute the product margins for the Xtreme and the Pathfinder products under the company’s traditional costing system.
2. The company is considering replacing its traditional costing system with an activity-based costing system that would assign its manufacturing overhead to the following four activity cost pools (the Other cost pool includes organization-sustaining costs and idle capacity costs): Estimated Overhead Cost Expected Activity Activities and Activity Measures Xtreme Pathfinder Total Supporting direct labor (direct labor-hours) $ 724,750 46,500 65,000 111,500 Batch setups (setups) 975,000 420 330 750 Product sustaining (number of products) 470,000 1 1 2 Other 60,250 NA NA NA Total manufacturing overhead cost $ 2,230,000 Compute the product margins for the Xtreme and the Pathfinder products under the activity-based costing system.
3. Prepare a quantitative comparison of the traditional and activity-based cost assignments.
In: Accounting
Smoky Mountain Corporation makes two types of hiking boots—the Xtreme and the Pathfinder. Data concerning these two product lines appear below:
| Xtreme | Pathfinder | |||||
| Selling price per unit | $ | 124.00 | $ | 88.00 | ||
| Direct materials per unit | $ | 63.40 | $ | 53.00 | ||
| Direct labor per unit | $ | 14.40 | $ | 8.00 | ||
| Direct labor-hours per unit | 1.8 | DLHs | 1.0 | DLHs | ||
| Estimated annual production and sales | 23,000 | units | 70,000 | units | ||
The company has a traditional costing system in which manufacturing overhead is applied to units based on direct labor-hours. Data concerning manufacturing overhead and direct labor-hours for the upcoming year appear below:
| Estimated total manufacturing overhead | $ | 2,005,200 | ||
| Estimated total direct labor-hours | 111,400 | DLHs | ||
Required:
1. Compute the product margins for the Xtreme and the Pathfinder products under the company’s traditional costing system.
2. The company is considering replacing its traditional costing system with an activity-based costing system that would assign its manufacturing overhead to the following four activity cost pools (the Other cost pool includes organization-sustaining costs and idle capacity costs):
| Estimated Overhead Cost |
Expected Activity | |||||
| Activities and Activity Measures | Xtreme | Pathfinder | Total | |||
| Supporting direct labor (direct labor-hours) | $ | 712,960 | 41,400 | 70,000 | 111,400 | |
| Batch setups (setups) | 504,000 | 230 | 190 | 420 | ||
| Product sustaining (number of products) | 740,000 | 1 | 1 | 2 | ||
| Other | 48,240 | NA | NA | NA | ||
| Total manufacturing overhead cost | $ | 2,005,200 | ||||
Compute the product margins for the Xtreme and the Pathfinder products under the activity-based costing system.
3. Prepare a quantitative comparison of the traditional and activity-based cost assignments.
In: Accounting
This is an intro to java question. Please post with pseudocode and java code.
Problem should be completed using repetition statements like
while and selection statements.
Geometry (10 points) Make API (API design) Java is an extensible
language, which means you can expand the programming language with
new functionality by adding new classes. You are tasked to
implement a Geometry class for Java that includes the following API
(Application Programming Interface): Geometry Method API: Modifier
and Type Method and Description static double
getAreaRectangle(double width, double length) Returns the area of a
rectangle, area = length * width static double getAreaCircle(double
radius) Returns the area of a circle, area = ?(radius 2 ) static
double getAreaTriangle(double base, double height) Returns the area
of a triangle, area = ½(base * height) static double
getPerimeterRectangle(double width, double length) Returns the
perimeter of a Rectangle, perimeter = 2(length + width) static
double getPerimeterCircle(double radius) Returns the perimeter of a
Circle, perimeter = 2?(radius) static double
getPerimeterTriangle(double side1, double side2, double side3)
Returns the perimeter of a triangle, perimeter = s1 + s2 + s3 Facts
● Java Math class contains an approximation for PI, i.e. Math.PI ●
Your Geometry class implementation should not have a main method. ●
NO Scanner for input & NO System.out for output! Input The
Geometry class will be accessed by an external Java Application
within Autolab. This Java app will send data in as arguments into
each of the methods parameters. Output The Geometry class should
return the correct data calculations back to the invoking client
code
Sample Method Calls
getAreaRectangle(1,1);
getAreaCircle(1);
getAreaTriangle(1,1);
getPerimeterRectangle(1,1);
getPerimeterCircle(1);
getPerimeterTriangle(1,1,1);
Sample Method Returns
1.0
3.141592653589793
0.5
4.0
6.283185307179586
3.0
In: Computer Science
C -Language Create a simple calculator that performs addition, subtraction, multiplication, and division. Your program should prompt the user for the operation they wish to perform followed by the numbers they wish to operate on. You should have a function for each operation and use branches to determine which function to call.
I need this to make any integers given, into decimal numbers, such as 3 to 3.0, or 2 to 2.0, also, so that I can multiply or add things like 2.5 + 3.0 or 2.5 * 2.5, etc.
Thank you, please see my code below.
-------------------------------------------------------------
MY CODE:*****
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
//Functions
int add(int a, int b)
{
return a + b;
}
int sub(int a, int b)
{
return a - b;
}
int mul(int a, int b)
{
return a * b;
}
float div(int a, int b)
{
return a * 1.0 / b;
}
int main()
{
int result, a, b, choice;
float res;
//User prompts
printf("Math Calculator: What type of operation would you like me to use? (You will choose numbers after selection) : \n1.Addition\n2.Subtraction\n3.Multiply\n4.Divide\n");
scanf("%d", &choice);
printf("Enter first number : ");
scanf("%d", &a);
printf("Enter second number : ");
scanf("%d", &b);
//Cases
switch (choice) {
case 1:
result = add(a, b);
printf("The answer equals %d", result);
break;
case 2:
result = sub(a, b);
printf("The answer equals %d", result);
break;
case 3:
result = mul(a, b);
printf("The answer equals %d", result);
break;
case 4:
res = div(a, b);
printf("The answer equals %f", res);
break;
default:
printf("You did not select a valid operation from above.");
break;
}
return 0;
}
In: Computer Science