During the past decade ocean levels have been rising faster than in the past, an average of approximately 3.1 millimeters per year. Write a program that computes how much ocean levels are expected to rise during the next 15 years if they continue rising at this rate. Display the answer in both centimeters and inches.
Please find below required MATLAB code along with necessary details in comments:
function rise_in_oceanLevel(yrs)
% INPUT:
% yrs: no. of years for which rise to be computed
for i=1:yrs
RiseMM(i) = 3.1 *yrs; % total rise in MM
RiseCM(i) = RiseMM(i) * 0.1; % % total rise in CM
RiseIn(i) = RiseMM(i) * 0.0393701; % total rise in Inches
end
% display the result
disp('During the next 15 years ocean levels are expected to
rise:');
fprintf(' %3.4f centmeters per year.',RiseCM(i));
fprintf(' %3.4f inches per year.',RiseIn(i));
end
========================================= main script to call the above function
clear all; clc; close all;
yrs=15;
rise_in_oceanLevel(yrs); % call the function
============================== SCREENSHOT OF CODE
===================================== SAMPLE OUTPUT
During the past decade ocean levels have been rising faster than in the past, an average...
Ocean LevelsAssuming the ocean’s levelis currently rising at about 1.5 millimeters per year, write a program that displays a table showing the number of millimeters that the ocean will have risen each year for the next 25 years. Hint:Years should be the counter variable. It should change from 1 to 25 HTML only
During the past 100 years the average minimum wage in the U.S. has been less than $2 per hour. Therefore, during the next 100 years the average minimum wage in the U.S. will be less than $2 per hour. O a. Suppressed evidence. b. Appeal to ignorance. c. Red herring d. Accident e. No fallacy
Summary Employment has been rising faster in occupations requiring more preparation. As of 2015, some 83 million people worked in jobs that require an average or above average level of preparation (including education, experience and job training), up from 49 million in 1980-a 68% increase. This was more than double the 31% rise in employment in positions requiring a below average level of job preparation. Employment in these jobs increased from 50 million to 65 million over the same time...
Exp oration #23-Solving Exponential Equations: HOMEWORK Homework Project A GDP of China e gross domestic product GDP of a country is the total value of goods and services produced y a country during one year. The United States has the largest GDP in the world, and it has been rising steadily over the past few decades. While China has a lesser GDP than the US, it's GDP has seen greater and greater increases in the recent past. The following data...
During the past few years, Harry Davis Industries (HDI) has been constrained by high cost of capital to make many capital investments. Recently, though, capital costs have been declining and the company has decided to look seriously at a major expansion program that had been proposed by the marketing department. Assume that you are an assistant to the CFO. Your first task is estimate HDI’s cost of capital. The CFO has provided you with the following data, which is considered...
You have recently been hired as a consultant for a personal financial planning firm. One of your first projects is creating a retirement plan for a couple, Xavier and Elizabeth Martell. They have just celebrated their 40th birthdays and after paying for their children’s education, they have decided to get serious about saving for retirement. Xavier and Elizabeth hope to retire 25 years from now (on their 65th birthdays), and they expect to live until age 90. Their hope is...
On page 334-335 there is a feature entitled - Institutions in Action. Why Did Asia Industrialize Faster than Latin America?] Page 335 of the feature has three questions, you can to respond to any one of the three but please pick just one. It should be about one page long Cite two source. UN HD INSTITUTIONS IN ACTION Why Did Asia Industrialize Faster than Latin America? ecades on the produd middle The rise of Asia over the past four decades...
Oil prices rose more than 20% this year but there were no sharp spikes and crude futures barely sniffed $70 a barrel despite attacks on the world’s biggest oil producer, sanctions that crippled crude exports of two OPEC members and gigantic supply cuts from big oil producing countries. The price gains in crude oil benchmarks were all in the first quarter of 2019, even as the next several months featured supply shocks that in the past would probably have propelled...
In order to receive credit for this assignment, you must: . build a spreadsheet that accurately estimates the cash flows of this project (using both assumptions provided and judgment about how to implement them) . use your spreadsheet to evaluate this project (as directed by the assignment) and determine whether it will create value for the firm; produce a written recommendation explain whether you think the company should accept or reject this project, and why! Case Study: New Product Decision...
Oil prices rose more than 20% this year but there were no sharp spikes and crude futures barely sniffed $70 a barrel despite attacks on the world’s biggest oil producer, sanctions that crippled crude exports of two OPEC members and gigantic supply cuts from big oil producing countries. The price gains in crude oil benchmarks were all in the first quarter of 2019, even as the next several months featured supply shocks that in the past would probably have propelled...