Reference no: EM13336210
Java Program on Eclipse:
- From main pass 3 numbers to a method that will print these numbers, then sorted them using the swap method discussed in class to make them in ascending order, then print these sorted numbers.
e.i. if you pass (98, 234, 6)
it will print 98, 234, 6
6, 98, 234
- Using a while( true ) loop,and using the upper case alphabeth from Z to A,print the lower case alphabeth and its corresponding ascii values.You must terminate/exit/break this loop once you process the last letter (A).
Note: The while( true ) loop is called an endless loop because the true inside the (),means that the condition is always true, and it is not a terminating variable.[worth 2 points]
- Create a two dimensional array of 10 rows by 10 columns to store integers
Load each location in this array with the sum of its row + column
Add all the values in this array located in the following indexes (locations):
in the top row + last row + left column + right Column
Print each individual total (e.i. top row = xxx, last row = xxx, ... total = xxx)
- From main() call Math methods passing corresponding parameters where you will implement the
following;
Parameters in the main method:
int i = 7*2+1; int j = i+9;
double x = 2.5/2; double y = x*(i+j)-0.34;
Math methods:
absolute value
round
ceiling
floor
Minimun value
Maximun value
Trig functions: cos, sin, tan
Exponentials
Logs
Powers
Square Roots
Random
Examples of calling the Math methods and passing the parameters, from main:
processAbsoluteValues( i, j, x, y );
processRoundValues( i, j, x, y );
processCeilingValues( i, j, x, y );
processFlooringValues( i, j, x, y );
processMinimunValues( i, j );
processMaximunValues( i, j );
processTrigFunctionsValues( i );
processExponentialValues(i, j, x, y );
processLogValues(i, j, x, y );
processPowerValues(i,)
Determine what was last years dividend per share
: After a 5-for-1 stock split, Strasburg Company paid a dividend of $1.75 per new share, which represents a 14% increase over last year's pre-split dividend. What was last year's dividend per share
|
How many days will the project take
: From the following information, develop an AON project network. Complete the forward and backward pass, compute activity slack, and identify the critical path. How many days will the project take?
|
What will be its stock price following the stock repurchase
: The company's stock currently trades at $38 a share. Beta is considering a plan in which it will use available cash to repurchase 10% of its shares in the open market.
|
The equilibrium constant for the neutralization reaction
: Write a balanced chemical equation for the neutralization reaction upon which this titration is based, and indicate clearly which atom is being protonated. Then, calculate the equilibrium constant for the neutralization reaction.
|
Java program on eclipse
: Using a while( true ) loop,and using the upper case alphabeth from Z to A,print the lower case alphabeth and its corresponding ascii values.You must terminate/exit/break this loop once you process the last letter (A).
|
Explain the difference between the amount you calculated
: Explain the difference between the amount you calculated for the Company's fair market value and the Total Equity (Book Value). What does it represent?
|
Evaluate the equilibrium constant for the neutralization
: calculate the equilibrium constant for the neutralization reaction. To calculate the equilibrium constant, you may find it helpful to represent the neutralization reaction as the sum of two separate reactions. (b) Calculate the pH, [CH3CH2NH2], and..
|
Determine the maximum and minimum q-point
: Design the circuit such that IDQ = 0.25 mA and VD = -2 V. The nominal transistor parameters are VTP = -1.2 V, K'p, = 35 μA/V2 and viL = 15. Sketch the load line and plot the Q-point.
|
What is the minimum number of bottles needed
: A 42kg child decides to make a raft out of empty 1.0 L soda bottles and duct tape. what is the minimum number of bottles needed in order to keep the child dry
|