Calculate and display the length of the hypotenuse

Assignment Help Other Subject
Reference no: EM132142838

Numerical and Computer Tools - Assignment

1) Given that 1 inch = 2.54 cm, write a script that converts meters to feet and displays the result.

Start the script with: clear, clc, meters =

2) Write a script to calculate and display the length of the hypotenuse of a right triangle given the lengths of the other two sides.

Start the script with clear, clc, sideA = , sideB =. Use the variables sideA and sideB for calculations so that if numbers stored in sideA and sideB are changed, the calculations will change.

3) Assume that you have a reservoir of water at 60 degrees F. You want to raise the temperature of water to 100 degrees F by pumping it through a 50,000 BTU/hour water heater. Calculate and display the flow rate of the water, in cubic feet per minute, necessary to keep the temperature above 100 degrees F.

Use the variable reservoirTemp to hold the temperature of the water in the reservoir (60oF) and desiredTemp to hold the desired temperature (100oF). The difference between those two temperatures is the change in temperature that is necessary. If the value of those variables is changed, a new flow rate will be calculated.

Assume: 1 BTU will raise the temperature of 1 pound of water 1 degree F. 1 ft3 of water weighs 62.4 pounds.

Reference no: EM132142838

Questions Cloud

Knowledge of characters and your knowledge of drama : during a conversation and does not always have to be honest words. Now it is time to combine your knowledge of characters and your knowledge of drama
Review that never mentions anything positive about the paper : A review that never mentions anything positive about the paper. Should a writer follow of the advice given by a reviewer?
What is the importance of the turnover : What is the importance of the turnover of Accounts Receivables? Why is it is essential for organizations to keep cash reserves on hands?
Explain how technology has changed the learning environment : 1) What are some reasons why on-the-job training (OJT) can prove ineffective? What can be done to ensure its effectiveness?
Calculate and display the length of the hypotenuse : Write a script to calculate and display the length of the hypotenuse of a right triangle given the lengths of the other two sides
Organizational characteristic that influences training : 1) What do you think is the most important organizational characteristic that influences training? Why?
Please explain why the company coca-cola is chosen : Please explain why the company (coca-cola) is chosen and how your plans to analyze the company.
What you already know about finances and companies : As the first step of your final project, select three companies to evaluate for determining which is in the best financial health and would, therefore.
Marketing information systems support advertising : Explain how sales and marketing information systems support advertising, market research, intelligence gathering, getting products and services to customers.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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