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

  How do the political and social contexts impact the art

How do the political, philosophical, religious, and social contexts impact the art of today? How does Contemporary Art differ from Baroque Art, which you studied earlier in this course?

  Describe some of the incentives your organization

Describe some of the incentives your organization has implemented to address the nursing shortage

  How could you have applied the keys to sound decision making

Assignment: Critical Thinking- How could you have applied the keys to sound decision making to approach the situation more rationally?

  What is lays market share and globalization

What are lay's chipce's target market, maketsegmentation/ variables, and relate the sementation to marketingmix? What is lay's market share and globalization ??

  The definition of intelligence is controversial

The definition of intelligence is controversial

  Analyze the contract formats for government contracts

Analyze the contract formats for government contracts to include universal and commercial formats. Determine which format to use for the small business contract described in the scenario

  Find a state supreme court case from your home state

Find a state Supreme Court case from your home state involving exigent circumstances. Summarize the case and whether or not the state ruled in favor of the police or the defendant. Provide the link to the website

  Population growth and environmental impacts

Given the relationship between population growth and environmental impacts, assess resource utilization theories and population size

  How does current military organization lend itself

How does current military organization lend itself to effective translation of planning into implementation? What does the consensus of professional and intellectual thought on the subject have to say?

  Problem-focused coping and emotion-focused coping

What are the major differences between problem-focused coping and emotion-focused coping? Provide examples of each that would be applicable to a social or occupational setting

  Should such speech also be banned in the internet

You cannot advocate lawlessness in a speech said in the middle of the street. Yet, it would seem that right now our busiest "street" is the Internet. Should such speech also be banned in the Internet

  State and explain a key objection to your position on issue

Provide your position on the issue in the articles assigned to you. State and explain a key objection to your position on this issue. Despite the objection, develop a counterargument to defend your position.

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