Write program to calculate diameter in centimeters of rod

Assignment Help Programming Languages
Reference no: EM1367029

1. Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load. The allowable compression stress of steel, aluminum, and copper is 25,000 lbs. /m2, 15,000lbs/m2, and 20,000lbs/m2, respectively. In program, algorithm.

Area of rod= compression load/allowable compression stress

Area= π r2 where diameter d= 2r

Reference no: EM1367029

Questions Cloud

Function to swap all the left-right subtrees of binary tree : Write a function, swapSubTrees, that swaps all of the left and right subtrees of a binary tree. write a method singleParent, that returns the number of nodes in a binary tree that have only one child.
Decision making about medical treatment : seems to you most desirable for conditions in which you might be not able to participate in decision making regarding your medical treatment? Why?
Determine the expected dividend for next three years : Suppose your broker offers to sell you some shares of Swift and Company common stock that has just paid an yearly dividend of $2(yesterday). You expect the dividend to grow at the rate of 5 percent a year for the next 3 years,
Principles of planned changed : Assume that a change that has been implemented recently in your work setting. Describe which principles of planned changed improved its chance of success.
Write program to calculate diameter in centimeters of rod : Write program to calculate diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load.
Describing the task of managers : Why is it significant for managers to understand both short run and long run supply and demand? Please give one hypothetical or real life example which illustrates your response.
Calculate expected dividend yield and capital gains yield : Von Burns Technologies Limited (VBTL) has been increasing at a rate of 20 percent a year in  recent years. This same growth value is expected to last for another two years.
Managed care organization : There are some committees in an Managed Care Organization. Some serve operational functions while others serve to meet regulatory and quality standard functions.
Write command to list all employees in descending order : Write a command to list all the employees hired in 2003 and 2004. Sort the rows by the hire_date column in descending order.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a program that will use the four sorting algorithm

Write a program that will use the four sorts (Selection sort, Heap Sort, Quicksort and Merge Sort). Each of the four sorts should be TIMED on three different lists of integers.

  Design and write a payroll program

Design and write a payroll program that will prompt the user to enter an employee's hourly pay rate and the number of hours worked.

  Computer sales and repair store system

It is required to design a relational database system for a "realistic" application

  Explaining exception handling using program

Use exception handling appropriately. Use comments to illustrate the various concepts applied / utilized in the solution.

  Approach for building site in-house with existing staff

Web site Consider your options for building the site in-house with existing staff, or outsourcing the entire operation. Decide which strategy you believe is in your company's best interest and create a brief presentation outlining your position.

  Create application consisted of three classes

Create an application comprised of three classes. The first class called Crayon represents one crayon of a particular color and length (height).

  Advantages of contemporary languages allow kinds of comments

Many contemporary languages allow two kinds of comments, one in which delimiters are used on both ends (for multiple line comments), and one in which a delimiter marks only the beginning of the comment.

  Html/css

"Validating Your Work" Please respond to the following:  Describe attribute minimization. Explain what would happen if you tried to validate a page containing instances of attribute minimization. Propose a solution to this problem.

  Identify all the pure-strategy nash equilibria of game

Identify all of the pure-strategy Nash Equilibria of this game. Identify at least one mixed-strategy Nash Equilibrium, and show that it is a Nash Equilibrium.

  Write a class for two instance variables

Write a class named ParkingMeter containing: Two instance variables named timeLeft and maxTime of type int. The value of timeLeft should be initialized to 0.

  Give value of mytop and contents of the array

Assume that stack is the class described in this section with stacktype set to int and stack_capacity or mycapacity set to 5. Give the value of mytop and the contents of the array.

  Program display meal cost and tax amount

The program should then display the meal cost,taxAmt, and total bill respectively and use named constants Tax and tip to initialize the tax and the tip values.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd