Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I would like to ask part c thanks 2. [20] Estimating the quantity of something without actual numerical computation is an important skill in science

image text in transcribedI would like to ask part c thanks

2. [20] Estimating the quantity of something without actual numerical computation is an important skill in science (particularly when your calculator is not available!). We illustrate this by considering the binomial expansion function g(y)=(1+y)n. (a) Compute what is the relative error compared to the correct value if you (i) only take the leading term; (ii) take up to first order term; and (iii) take up to second order term; when you use the function g to calculate the value of 0.95n for both cases of n=2.5 Is this a good way to estimate the value of 0.95n? [5] (b) Repeat part(a)(i) to (iii) for the case 0.9995n if n=2.5. Hopefully this problem will give you some idea of the applicability of the binomial expansion formula. [5] (c) Can you write a short computer code, in MATLAB or other languages, to compute the relative error versus the number of accurate places? For example, in this case, 0.95=1 0.05, or we can say 2 decimal places, 0.995=10.005, or 3 decimal places, etc. You can present your results in a plot: for x-axis, you can plot the decimal places of 2,3,4, for the y-axis, you can plot relative error in log-scale. [Note: Relative error can be defined as (estimation - real_value)/real_value] For this part, please also include the MATLAB script used, together with the [10]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

Students also viewed these Databases questions

Question

Define promotion.

Answered: 1 week ago

Question

Write a note on transfer policy.

Answered: 1 week ago

Question

Discuss about training and development in India?

Answered: 1 week ago

Question

Explain the various techniques of training and development.

Answered: 1 week ago

Question

Explain the various techniques of Management Development.

Answered: 1 week ago

Question

Develop a program for effectively managing diversity. page 303

Answered: 1 week ago

Question

List the common methods used in selecting human resources. page 239

Answered: 1 week ago