ENGRD 3200 Engineering Computation Assignment

Assignment Help Other Engineering
Reference no: EM133081633

ENGRD 3200 Engineering Computation - Cornell University

Learning Objective 1: Learn concepts of machine representation of real numbers and issues with precision limits.

Learning Objective 2: Compute and use true and approximate errors and the equivalent percentage errors.

Learning Objective 3: Observe how the machine representation of numbers affects the precision of computations.

Learning Objective 4: Explore how round-off error impacts numerical evaluation of functions, when approximate numbers of differing magnitude are involved, and identify alternative formulations to minimize the error in evaluation.

Learning Objective 5: Understand the sensitivity of truncation error on the order of a Taylor series and the spatial "step".

Assignment

Question 1: Machine Representation of Numbers and Precision Limitation

In a fashion similar to last Prob, develop your own M-file to determine the smallest positive real number used in MATLAB. Base your algorithm on the notion that your computer will be unable to reliably distinguish between zero and a quantity that is smaller than this number. Note that the result you obtain will differ from the value computed with realmin.

Challenge question: Investigate the results by taking the base-2 logarithm of the number generated by your code and those obtained with realmin.

Question 2: Effect of Multiple Operations on Accuracy and Error Evaluation

(a) Evaluate the polynomial

y = x3 - 7x2 + 8x - 0.35

at x = 1.37. Use 3-digit arithmetic with chopping. Evaluate the percent relative error.

(b) Repeat (a) but express y as

y = ((x - 7)x + 8)x - 0.35

Evaluate the error and compare with part (a).

Do this by hand. Specifically, after each computation perform 3-digit chopping.

In addition, identify the total number of arithmetic operations in both parts (a) & (b). Part (b) represents what is known as "nested multiplication". Which approach (part (a) or (b)) is faster and more accurate? Explain why.

Nested multiplication is effectively an application of Horner's rule which you might want to Google if curious.

Question 3: Round-off Error in Numerical Evaluation and Alternative Formulations towards Avoiding it

Consider the two functions:

f (x) = x - √(x2 - 1) and g(x) = 1/(x + √(x2-1))

a) Show that f(x) = g(x). Note that this equality holds only for exact arithmetic (no rounding or chopping of numbers).

b) Use your scientific calculator and evaluate both f(x) and g(x) at x1 =2.014 and x2=2014. Your result here presents your true value. Now also compute f(x1), g(x1) and f(x2), g(x2) on paper (show each individual step) using 4-digit chopping arithmetic. For each of these four estimates compute the relative true error. Of these which produces the largest relative true error? Explain why

Question 4: Understanding the effect of order of expansion and spatial "step" on the truncation error of a Taylor series expansion

Use zero- through fourth-order Taylor series expansions to predict f(2) for f(x) = ln x using a base point at x = 1.

Compute the true percent relative error εt for each approximation. Discuss the meaning of the results.

The discussion of the meaning of your results should revolve around the following questions:

a) How many terms do you need to add to your Taylor series to obtain a relative error of 10%? Do this by hand, i.e., by calculating as many terms as necessary.

b) How much is your error reduced each time you add an additional term to your Taylor series? Write a short MATLAB script (include it in your hard copy) that computes a Taylor series for an arbitrary number of terms. How many terms are needed in the series to bring your relative error to 1%? How many terms are needed for a relative error reduction of 0.1%?

c) Without resorting to computing the actual Taylor series, can you comment on what relative error you'd expect for your Taylor series expansion if you were asked to approximate ln x at both x=0.1 and x=1.9? Both of these evaluation points are located at the same distance to the left and right of your base point x = 1.0. Why are your relative truncation error estimates different?

Attachment:- Engineering Computation.rar

Reference no: EM133081633

Questions Cloud

Discuss various monetary stimulus : Discuss various monetary stimulus measures undertaken by the Bank of Canada in response to the COVID-19 pandemic.
Describe economies of scope for a company : Question 1: Describe 2 ways in which you would expect a company such as Miller to experience economies of scale that Corpus Christi Cheer Beer does not.
Estimate the long-linear regression function : Using the data set I have provided (midtermxls), estimate the following long-linear regression function.
Determine the outstanding principle : A 20 year loan at annual effective interest rate of 4% is repaid with increasing annual payments. The first payment is equal to 1000 and subsequent payments inc
ENGRD 3200 Engineering Computation Assignment : ENGRD 3200 Engineering Computation Assignment Help and Solution, Cornell University - Homework Help - Understand the sensitivity of truncation error
Customer satisfaction through branding and advertising : How does an organization use this relationship to meet customer satisfaction through branding and advertising?
Daily management tasks include financial management : As a healthcare manager, daily management tasks include financial management. Financial management includes items such as labor cost, equipment cost,
The role of financial statements : Discuss the most important headings in a balance sheet and what the summary numbers mean. Describe how these cuts will affect patient-centered care.
Comprehensive health insurance for millions of people : How does national comprehensive health insurance for millions of people, affect in the market short term?

Reviews

len3081633

2/6/2022 9:25:38 PM

This is an engineering computation assignment. There are 4 problems that need to be done exactly as it is assigned following the details of the assignment. There is also an attachment for the problems from the book to refer to.

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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