
Concept explainers
Compute forward and backward difference approximations of

To calculate: The forward and backward difference approximations of
Answer to Problem 1P
Solution:
Forward difference approximation of
Forward difference approximation of
Backward difference approximation of
Backward difference approximation of
Central difference approximation of
Central difference approximation of
Explanation of Solution
Given information:
Function,
Step size,
The initial value of x,
Formula used:
Forward difference approximation of
Forward difference approximation of
Backward difference approximation of
Backward difference approximation of
Central difference approximation of
Central difference approximation of
True percent relative error is,
Calculation:
Consider the function,
First derivation of the function is,
Thus, the true value of the first derivative of
The value of
The value of the function at
The value of
The value of the function at
The value of
The value of the function at
The value of
The value of the function at
The value of
The value of the function at
Forward difference approximation of
For
True percent error is,
Forward difference approximation of
For
True percent error is,
Backward difference approximation of
For
True percent error is,
Backward difference approximation of
For
True percent error is,
Central difference approximation of
For
True percent error is,
Central difference approximation of
For
True percent error is,
Therefore, Forward difference approximation of
Forward difference approximation of
Backward difference approximation of
Backward difference approximation of
Central difference approximation of
Central difference approximation of
Want to see more full solutions like this?
Chapter 23 Solutions
Numerical Methods for Engineers
- Q/ solve the system X° = -4X +2XY-8 y°= 2 4y² - x2arrow_forwardQ4: Discuss the stability critical point of the ODES x + sin(x) = 0 and draw phase portrait.arrow_forwardUsing Karnaugh maps and Gray coding, reduce the following circuit represented as a table and write the final circuit in simplest form (first in terms of number of gates then in terms of fan-in of those gates). HINT: Pay closeattention to both the 1’s and the 0’s of the function.arrow_forward
- Recall the RSA encryption/decryption system. The following questions are based on RSA. Suppose n (=15) is the product of the two prime numbers 3 and 5.1. Find an encryption key e for for the pair (e, n)2. Find a decryption key d for for the pair (d, n)3. Given the plaintext message x = 3, find the ciphertext y = x^(e) (where x^e is the message x encoded with encryption key e)4. Given the ciphertext message y (which you found in previous part), Show that the original message x = 3 can be recovered using (d, n)arrow_forwardTheorem 1: A number n ∈ N is divisible by 3 if and only if when n is writtenin base 10 the sum of its digits is divisible by 3. As an example, 132 is divisible by 3 and 1 + 3 + 2 is divisible by 3.1. Prove Theorem 1 2. Using Theorem 1 construct an NFA over the alphabet Σ = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}which recognizes the language {w ∈ Σ^(∗)| w = 3k, k ∈ N}.arrow_forwardRecall the RSA encryption/decryption system. The following questions are based on RSA. Suppose n (=15) is the product of the two prime numbers 3 and 5.1. Find an encryption key e for for the pair (e, n)2. Find a decryption key d for for the pair (d, n)3. Given the plaintext message x = 3, find the ciphertext y = x^(e) (where x^e is the message x encoded with encryption key e)4. Given the ciphertext message y (which you found in previous part), Show that the original message x = 3 can be recovered using (d, n)arrow_forward
- Find the sum of products expansion of the function F(x, y, z) = ¯x · y + x · z in two ways: (i) using a table; and (ii) using Boolean identities.arrow_forwardGive both a machine-level description (i.e., step-by-step description in words) and a state-diagram for a Turing machine that accepts all words over the alphabet {a, b} where the number of a’s is greater than or equal to the number of b’s.arrow_forwardCompute (7^ (25)) mod 11 via the algorithm for modular exponentiation.arrow_forward
- Prove that the sum of the degrees in the interior angles of any convex polygon with n ≥ 3 sides is (n − 2) · 180. For the base case, you must prove that a triangle has angles summing to 180 degrees. You are permitted to use thefact when two parallel lines are cut by a transversal that corresponding angles are equal.arrow_forwardAnswer the following questions about rational and irrational numbers.1. Prove or disprove: If a and b are rational numbers then a^b is rational.2. Prove or disprove: If a and b are irrational numbers then a^b is irrational.arrow_forwardProve the following using structural induction: For any rooted binary tree T the number of vertices |T| in T satisfies the inequality |T| ≤ (2^ (height(T)+1)) − 1.arrow_forward
- Functions and Change: A Modeling Approach to Coll...AlgebraISBN:9781337111348Author:Bruce Crauder, Benny Evans, Alan NoellPublisher:Cengage LearningAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageTrigonometry (MindTap Course List)TrigonometryISBN:9781337278461Author:Ron LarsonPublisher:Cengage Learning

