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

  Does technology influence gambling

Can you conclude that online gambling is more prevalent among individuals who are under the age of 30 at a level of significance of 0.05?

  Ece 12

oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

  Write a script to solve the following systems of equations

Write a script to solve the following systems of equations using both matrix left division (\) and the inverse matrix method and Show that you have tested your MATLAB code appropriately

  Make a program that will graph the parabolas

Make a program that will graph the parabolas each parabola a different color and put all the parabolas in the same figure or graph

  Write the numerical values of temperature

Write the numerical values of temperature and the corresponding value of the analytical solution to this problem, T=xy, at each of your grid points, to a text file.

  Least squares

For homework consider the points (0,0), (1,2), (2,3), (3,9), ( 4,17), (5,24), (6,37). (1) Use Matlab to find the least squares best fit with a line.  Turn in A, y and c and a plot like the one above.  Also (2) use Matlab to find the least square best..

  Find the answer through binomial distribution

The probability to get 3 times of "5" in 8 throws of a fair die is ? Using Binomial Distribution, and Using Matlab to simulate it.

  The function take optional arguments, theta, alpha, beta

the function tverskySim (found in problem4/tverskySim.m) takes optional arguments, theta, alpha, beta where theta is the weight assigned to the common features between a and b, alpha is the weight for the distinctive features of a, and beta is the we..

  Use backslash matlab operator for solving the systems

The programme solves a linear system of equations using naïve Gaussian elimination. Modify this programme so that it outputs upper and lower triangular matrices of LU factorisation.

  Calculate and finalize using matlab

Estimate the rate of heat loss by breathing in kcal/hr. Also estimate the rate of water loss in gm/hr. Where A is from your student id number - calculate and finalize using matlab

  Find out root of function by bisection method in matlab

To find out root of any given function by Bisection method in MATLAB.

  Find command to list the eligible ages

What is the command to change a numeric type into a character (or string) type? double(num) - find command to list the eligible ages

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