0% found this document useful (0 votes)
165 views

Assignment 1 PDF

This document contains 5 computational assignment problems related to engineering: 1) Evaluate the derivative of a function at a point using different digit arithmetic. 2) Determine the roots of a quadratic equation using 5-digit arithmetic. 3) Use Taylor series expansions to predict the value of a function and calculate the percentage error. 4) Apply Manning's formula for flow in a channel to calculate sensitivity to roughness and slope uncertainties. 5) Determine the real root of a cubic function graphically and using the bisection method.

Uploaded by

Navneet Chaubey
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
165 views

Assignment 1 PDF

This document contains 5 computational assignment problems related to engineering: 1) Evaluate the derivative of a function at a point using different digit arithmetic. 2) Determine the roots of a quadratic equation using 5-digit arithmetic. 3) Use Taylor series expansions to predict the value of a function and calculate the percentage error. 4) Apply Manning's formula for flow in a channel to calculate sensitivity to roughness and slope uncertainties. 5) Determine the real root of a cubic function graphically and using the bisection method.

Uploaded by

Navneet Chaubey
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

ESO 208A; ESO 218 Computational methods in engineering Assignment #1 Due date: August 14, 2013

1. The derivative of f x 1/ 1 3x2 is given by

1 3x

6x

2 2

Evaluate the derivative of the function at x = 0.577? Try it using 3- and 4-digit arithmetic with chopping. 2. Use 5-digit arithmetic with chopping to determine the roots of the following equation:
x 2 5000.002 x 10

Compute percentage relative errors on your results. 3. Use zero- through fourth-order Taylor series expansions to predict f(2.5) for f(x) = ln (x). Using a base point at x = 1. Compute the true percentage relative error t for each approximation. 4. Mannings formula for a rectangular channel can be written as

1 BH Q s n B 2 H 2/3
5/3

Where Q = flow (m3/s), n = a roughness coefficient, B = width (m), H = depth (m), and S = slope. You are applying this formula to a stream where you know that the width = 20 m and the depth = 0.3 m. Unfortunately you know the roughness and the slope to only a 10% precision. That is, you know that the roughness is about 0.03 with a range from 0.027 to 0.033 and the slope is 0.0003 with a range from 0.00027 to 0.00033. Use a first-order error analysis to determine the sensitivity of the flow prediction to each of these two factors. Which one should you attempt measure with more precision? 5. Determine the real root of f x 4x3 6x2 7x 2.3 by using the following methods: (a) Graphical method; (b) The bisection method; Use initial guesses of xl = 0 and xu= 1 and iterate until the estimated error a falls below a level of s =10%.

You might also like