Entries by Student

write my assignment 13377

cohesion, coherence, and emphasis Principles:

1.      Put new Information last

2.      Use passive voice judiciously

3.      Make sure the first and last sentences of a paragraph match

review these sentences for clarity using the principles form this lesson

1.      The goal, not to establish the prevalence of views, but to identify perception and belief ranges, was met.

2.      We have determined that the use of a mitt with a single vein sensor has the ability to find and identify a magnate in a human body part.

3.      We searched the ARVO abstract book for abstracts that were RCTs and controlled at trail inclusion whose existence was in the CEVG register. Abstracts and titles were downloaded from the CEVG registry.

4.      A new, continuous Blood Pressure (BP) monitor will be utilized to assess BP. The traditional methods of measuring BP, static assessment every quarter hour, have fallen out of favor.

5.      Estradiol has been shown to regulate hippocampal volume via memory consolidation in young mice pups. The density of hippocampal neurons differs across the estrous cycled in rats, when estrogen and progesterone are signaled. Frontal lobe development has historically been related to hippocampal volume. 

 

"Not answered?"


Get the Answer

write my assignment 29627

Please send the .cpp attachment

—————————–

Here’s the question: For the OrdArray class in the orderedArray.java program (Listing 2.4 on page 59), you are asked to add the following methods

·        A merge() method so you can merge two ordered source arrays into an ordered destination array. To simplify, for duplicate values (no mater in an array or two arrays), only count once. 

·        A common() method so you can get the common values owned by the two ordered source arrays into an ordered destination array. For duplicate values, only count once. 

·        Using the objected oriented analysis and design, using the available insert(), find(). delete() and display() methods.

·        You cannot use any available library. 

Write code in main() of class OrderedApp that inserts some random numbers into the two source arrays, invokes merge() and common() and displays the contents of the resulting arrays. The source arrays may hold different numbers of data items. In your algorithm you will need to compare the keys of the source arrays, picking the smallest one to copy to the destination. You’ll also need to handle the situation when one source array exhausts its contents before the other.

Example:

Source array A = {3, 6, 8, 8, 11, 17, 25, 34, 38, 46, 48, 48, 48, 57, 62, 69, 72, 72, 77, 83};

Source array B = {5, 8, 14, 25, 31, 37, 41, 48, 48, 52, 77, 82, 94};

Then, Destination array C (after merge) = {3, 5, 6, 8, 11, 14, 17, 25, 31, 34, 37, 38, 41, 46, 48, 52, 57, 62, 69, 72, 77, 82, 83, 94};

Destination array D (after common) = {8, 25, 48, 77}; 

——————————————

Here’s the code so far, but I’m getting an Error: import does not name a type & expected unqualified-id before “public:

————————

//orderedArray.java

import java.util.Arrays;

public class orderedArray {

static int[] merge(int[] a, int[] b) {

int[] result = new int[a.length + b.length];

int i=0, j=0, count=0;

int last = -1;

while(i < a.length && j < b.length) {

if(a[i] < b[j]) {

if(a[i] != last) {

result[count++] = a[i];

last = a[i];

}

i++;

} else if(a[i] > b[j]){

if(b[j] != last) {

result[count++] = b[j];

last = b[j];

}

j++;

} else {

if(b[j] != last) {

result[count++] = b[j];

last = b[j];

}

j++;

i++;

}

}

if(i == a.length) {

while(j < b.length) {

if(b[j] != last) {

result[count++] = b[j];

last = b[j];

}

j++;

}

} else if(j == b.length){

while(i < a.length) {

if(a[i] != last) {

result[count++] = a[i];

last = a[i];

}

i++;

}

}

// there may be duplicate elements in result

// so create new result

int newResult[] = Arrays.copyOf(result, count);

return newResult;

}

static int[] common(int[] a, int[] b) {

// find max length

int l = (a.length > b.length ? a.length : b.length);

int[] result = new int[l];

int i=0, j=0, count=0;

int last = -1;

while(i < a.length && j < b.length) {

if(a[i] < b[j]) {

i++;

} else if(a[i] > b[j]){

j++;

} else {

if(b[j] != last) {

result[count++] = b[j];

last = b[j];

}

j++;

i++;

}

}

// there may be duplicate elements in result

// so create new result

int newResult[] = Arrays.copyOf(result, count);

return newResult;

}

public static void main(String args[]) {

int[] A = {3, 6, 8, 8, 11, 17, 25, 34, 38, 46, 48, 48, 48, 57, 62, 69, 72, 72, 77, 83};

int[] B = {5, 8, 14, 25, 31, 37, 41, 48, 48, 52, 77, 82, 94};

System.out.println(“Merged Array:”);

System.out.println(Arrays.toString(merge(A, B)));

System.out.println(“nCommon Elements:”);

System.out.println(Arrays.toString(common(A, B)));

}

}

 

"Not answered?"


Get the Answer

write my assignment 26533

Question 1:

A cylinder has a radius of 5

5 m

m and a height of 11

11 m

m. Identify the volume of the cylinder to the nearest tenth.

V = 863.9 m3

V = 345.6 m3

V = 172.8 m3

V = 910.7 m3

  Question 2: 

A cylinder has a base area of 169π

169π cm

2

cm2. Its height is 4

4 cm

cm more than the radius. Identify the volume of the cylinder to the nearest tenth.

V = 4778.4 cm3

V = 1388.6 cm3

V = 9025.8 cm3

V = 735.1 cm3

  Question 3: 

Identify the volume of a cone with a base area 25π

25π m

2

m2 and a height equal to three times the radius.

V = 2536.2 m3

V = 209.4 m3

V = 6135.9 m3

V = 392.7 m3

  Question 5:

Identify the volume of a regular triangular pyramid with base edge length 14

14 ft

ft and height 9

9 ft

ft.

2291.5 ft3

588 ft3

254.6 ft3

1764 ft3

  Question 6: 

Identify the volume of a rectangular pyramid with length 16

16 m

m, width 12

12 m

m, and height 17

17 m

m.

1088 m3

1156 m3

1450.7 m3

3264 m3

  Question 7: 

A regular hexagonal prism has an edge length 12

12 cm

cm, and height 10

10 cm

cm. Identify the volume of the prism to the nearest tenth.

V = 7482.5 cm3

V = 3741.2 cm3

V = 1870.6 cm3

V = 2776.2 cm3

  Question 8: 

The length, width, and height of a rectangular pyramid are multiplied by 1

2

12. Which of the following describes the effect on the volume?

The volume is multiplied by 1/6.

The volume is multiplied by 3/2.

The volume is multiplied by 2.

The volume is multiplied by 1/8.

  Question 9: 10 pts

The radius and the height of the cylinder are multiplied by 4. What will be the effect on the volume of the cylinder?

The radius and the height of the cylinder are multiplied by 4

4. What will be the effect on the volume of the cylinder?

The volume is multiplied by 1/64.

The volume is multiplied by 1/4.

The volume is multiplied by 4.

The volume is multiplied by 64.

 

"Not answered?"


Get the Answer

write my assignment 3187

1)The quadratic function y= -9x – 8x^2 + 5 has the form y = ax^2 + bx + c. Indentify a,b, and c in order a,b,c2)Use the quadratic formula to solve the Equation -8x^2 – 3x + 6 = 0.3) Factor the polynomial x^2 – 5x +44) Find the points of intersection of the pair of curves y = x^3 – x and y = 3×5) Evaluate f (32) for f(x) = x7/56) Calculate the compound amount from the given data: principal = $15000, compunded annually, 8 years, annually rate = 12%7) calculate the compound amount from the given data:principal = $700, compunded quarterly, 4 years, annual rate = 8%8)Determine the y-intercept of the graph of the following function: y=3x + 8

cr00 00 z * – r* -* 0 1 Uo.Q o£-C U 3f u u o u 5&lt;~V) /7*&gt;

 

"Not answered?"


Get the Answer