Which degree do you think best represents the data

Assignment Help MATLAB Programming
Reference no: EM131026493

Problem:

The following data represents the volume of ice needed to adequately chill a given volume of hot water. (The data can be found in HotWater.txt and Ice.txt on Blackboard - use dlmread to read the two vectors in.)

Volume of hot water (cups)

0.62

 0.84  1.41

...

3.16

 3.65

Volume of ice (cups)

5.95

 10.41  28.4

...

142.72

189

a) Write a Matlab script to try fitting a 1st, 2nd, and 3rd degree polynomial to the dataset described by volume of water vs. volume of ice. Use subplot to draw all three. Plot your dataset as points, and your fitted equation as a solid line in the domain 1 ≤ Vwater ≤ 5. Use a legend to identify the data points and the fitted equation.

b) Which degree do you think best represents the data? (Hint: how much ice is needed to chill 0 cups of hot water?)

c) Use your chosen degree polynomial to find and print the volume of ice needed to chill 1.5 cups of hot water.

Additional information: This question belongs to MATLAB software and discusses about application of MATLAB in mathematics to solve polynomials and to perform certain operations.

Answer is in MATLAB format

Reference no: EM131026493

Questions Cloud

Estimate the area of the tea spill : The surface area of a tea spill is estimated by measuring the width (in cm) of the spill at equally spaced intervals of 1.5 cm (width data is found in TeaSpill.txt). Use numerical integration to estimate the area of the tea spill.
Prepare in advance to address the changes in the hospital : Provide your conclusion on how Baptist Hospital should prepare in advance to address the changes in the hospital environment that will be caused by Medicaid expansio.
Prove that there are no matrices : Show that the trace is a linear map of the space of n n matrices into K.
Create a ppt on a training method for executives : You have been asked to create a PowerPoint presentation on a training method for executives at an organization you currently work for or an organization you wish to work for in the future.
Which degree do you think best represents the data : Write a Matlab script to try fitting a 1st, 2nd, and 3rd degree polynomial to the dataset described by volume of water vs. volume of ice. Use subplot to draw all three
What power of reading glasses should be prescribed for her : A person struggles to read by holding a book at arm's length, a distance of 49cm away. What power of reading glasses should be prescribed for her, assuming they will be placed 1.9cm from the eye and she wants to read at the "normal" near point of ..
Write a script to integrate a function : Write a script to integrate a function in three different ways: by eyeballing it, by calling trapz with a list of points, and by calling quad with a function.
Why an electronic device might be able to interfere : Explain why an electronic device might be able to interfere with equipment in the airplane. What exactly would your electronic device be doing and why would it cause a problem?
Proportions favoring the proposition and place : Estimate the difference in the proportions favoring the proposition and place a 2-standard-deviation bound on the error of estimation.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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