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

  Determine branch folding for unconditional branches

Determine the improvement from branch folding for unconditional branches. Assume a 90% hit rate, a base CPI without unconditional branch stalls of 1.

  Write program to list all english-math and science teachers

Suppose that input consists of a file of teachers. You are told to write a program to list all English, math, and science teachers. Each teacher can teach only one subject.

  Explaining law of diminishing returns

As computer word size gets larger and larger, there is a law of diminishing returns; speed of execution of application programs doesn't increase and may, in fact, decrease.

  Program for insertion sort and selection sort algorithms

Write a program involving the insertion sort, merge sort and selection sort algorithms.

  Javascript for metric conversions

Write a javascript that will assist the user with metric conversions. Your program should allow the user to specify the names of the units as strings.

  Write program using to take input two integers by while loop

Write a program which uses while loops to perform following steps: Prompts user to input two integers: firstNum and secondNum. (firstNum must be less than secondNum).

  Develop vision system for building high safe mobile robot

You are tasked to develop a vision system for building a high safe mobile robot. In particular, your system should give a warning alarm when there are a danger of colliding (at certain distance) with a pedestrian.

  Program to inputs encrypted four-digit integer

Write separate program to inputs encrypted four-digit integer and decrypts it to form the original number. thanks in advance for ur help.

  Write program using while loop to output squares of integers

Write a program that uses while loop to perform the following steps:Output the sum of all the even numbers between firstnum and secondnum inclusive. Output all the numbers and their squares between firstnum and secondnum inclusive.

  Determine total cost of order-display it in alert dialog box

After you determine the total cost of the order (purchase plus shipping and handling), display it in an alert dialog box.

  Which functions perform assignment score to private member

Consider this class definition: class quiz { public: quiz( ); int f( ); int g( ) const; private: double score; }; Which functions can carry out an assignment score=1.0; to the private member variable score?

  Deisgn child class that overrides parent method

Deisgn child class named Box, that contains additional data field named depth and a computeSurfaceArea() method that overrides the parent method appropriately for a three-dimensional box

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