Checkout
checkout
view
Your Cart Your Cart: item(s)
View Details $1.99 Download Add to Cart

Write a library containing functions to compute the surface area and volume of a sphere. Write a driver program to test your library.

Write a library containing functions to compute the surface area and volume of a sphere. For a sphere of radius r, these values can be calculated using: Surface Area = 4 Pi r squared (4 x Pie x r to the second power). Volume = 4 Pi r cubed/3 Write a driver program to test your library.

Subject:

Computer Science

Topic:

Other

Posting ID:

31578

OTA ID:

103644

View Details $1.99 Download Add to Cart

Implement functions to compute the total surface area, lateral surface area, and volume of a right-circular cylinder.

Write a library Cylinder containing functions to compute the total surface area, lateral surface area, and volume of a right-circular cylinder. For a cylinder of radius r and height h, these can be calculated using: Total Surface Area = 2 x Pi r(r + h) Lateral Surface Area = 2 x Pi rh Volume = Pi r squared h Write a driver program to test your library.

Subject:

Computer Science

Topic:

Other

Posting ID:

31579

OTA ID:

103644

View Details $1.99 Download Add to Cart

Using Classes

Write a program to display the lyrics of "Happy Birthday to You."

Subject:

Computer Science

Topic:

Other

Posting ID:

31580

OTA ID:

104632

View Details $1.99 Download Add to Cart

How to use Java classes to find the number of times a string is present in another string.

Write a function to count occurrences of a string in another string. Then write a driver program to input a string and then input several lines of text, using the function to count occurrences of the string in the lines of text.

Subject:

Computer Science

Topic:

Other

Posting ID:

31581

OTA ID:

103644

View Details $1.99 Download Add to Cart

Using Classes

Revernd Zeller developed a formula for computing the day of the week on which a given date fell or will fall. Suppose that we let a, b, c, and d be integers defined as follows: a = the number of a month of the year, with March = 1, April = 2, and so on, with January and February being counted as months 11 and 12 of the preceeding year. b = the day of the month c = the year of the century d = the century For example, July 31, 1929 gives a = 5, b = 31, c = 29, d = 19; January 3, 1988 gives a = 11, b = 3, c = 87, d = 19. Noe calculate the following integer quantaties: w = the inter quotient (13a - 1)/5 x = the integer quotient c/4 y = the integer quotient d/4 z = w + y + b + c - 2d ... click for more

Subject:

Computer Science

Topic:

Other

Posting ID:

31582

OTA ID:

104632

Page generated in 0.1028 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples