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

  Write matlab programming of amplitude modulation

Write MATLAB programming of below given topics along with their outputs. Amplitude modulation. Frequency modulation and demodulation. Pulse width modulation. Pulse position modulation. Sampling theorm. A-law companding. Huffman encoding. Linear block..

  Index of the largest fibonacci number

What is the index of the largest Fibonacci number that can be represented exactly as a MATLAB double-precision quantity without roundoff error

  Show the frequency of the components

Show the frequency of the components, explain how you derived them from the FFT, and compare them to what is expected from the standard DTMF frequency pair allocation.

  Calculate and analyze the probability of error for mpsk

Calculate and analyze the probability of error for MPSK under AWGN - Derive mathematically step-by-step the probability of error of MPSK under AWGN where M=2 and M=4;

  Compute the value of each piece of clothing

You decide to write a script in MATLAB that will compute the value of each piece of clothing.

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Find the roots of the polynomial

Find the roots of the polynomial - A written part and a Matlab part. The written part will dictate the percentage of the Matlab part in scoring. The written part is closed book closed notes.

  Write a script that will loop through values of n

Write a script that will loop through values of n until the difference between the approximation and the actual value is less than 0.0001.

  Biorhythm- matlab problem

All three cycles started at zero when you were born. How long does it take until all three simultaneously return to that initial condition? How old were you, or will you be, on that date? Plot your biorhythm near that date. You should ?nd the lcm ..

  Write a matlab script using the randn command

Write a Matlab script using the "randn" command to generate a vector of 10,000 random numbers that are normally distributed around zero, with a variance of 1. Use the "hist" command to plot a histogram of these data, specifying 50 bins.

  Control system introduction

You are required to develop a controller for a simple robotic arm with payload. As shown in the figure, the system is composed of the dc motor driving a single arm.

  Implement the finite difference method

Write a computer program to implement the finite difference method. The program can be in any computer language that is available within the school. Set up the code to find the potential for a parallel plate capacitor in the box shown below, all dime..

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