EBK NUMERICAL METHODS FOR ENGINEERS
7th Edition
ISBN: 8220100254147
Author: Chapra
Publisher: MCG
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 2, Problem 16P
(a)
To determine
To calculate: Create a program for the factorial in VBA.
(b)
To determine
To calculate: Create a program for the minimum value in a
(c)
To determine
To calculate: Create a program for the average of the values in a vector in VBA.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
find
the domain of the vector-valued function.
1
(a) Is the vector| 2 in the span of -1 and
2 ? Justify your answer
3
3
2
2
(b) Is the set
linearly independent or linearly dependent? Justify your answer.
Is this set of vectors span a line or all of R2?
Chapter 2 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
Ch. 2 - 2.1 Write pseudocode to implement the flowchart...Ch. 2 - Prob. 2PCh. 2 - 2.3 Develop, debug, and document a program to...Ch. 2 - The sine function can be evaluated by the...Ch. 2 - 2.5 Develop, debug, and document a program for...Ch. 2 - The following algorithm is designed to determine a...Ch. 2 - The divide and average method, an old-time method...Ch. 2 - 2.8 An amount of money P is invested in an account...Ch. 2 - 2.9 Economic formulas are available to compute...Ch. 2 - 2.10 The average daily temperature for an area can...
Ch. 2 - Develop, debug, and test a program in either a...Ch. 2 - 2.12 The bubble sort is an inefficient, but...Ch. 2 - Figure P2.13 shows a cylindrical tank with a...Ch. 2 - 2.14 Two distances are required to specify the...Ch. 2 - Develop a well-structured function procedure that...Ch. 2 - Prob. 16PCh. 2 - Develop well-structured programs to (a) determine...Ch. 2 - 2.18 Piecewise functions are sometimes useful when...Ch. 2 - Develop a well-structured function to determine...Ch. 2 - 2.20 Develop a well-structured function to...Ch. 2 - 2.21 Manning’s equation can be used to compute the...Ch. 2 - 2.22 A simply supported beam is loaded as shown in...Ch. 2 - ThevolumeV of liquid in ahollow horizontal...Ch. 2 - 2.24 Develop a well-structured program to compute...Ch. 2 - The pseudocode in Fig. P2.25 computes the...Ch. 2 - 2.26 The height of a small rocket y can be...Ch. 2 - 2.27 As depicted in Fig. P2.27, a water tank...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.Similar questions
- Explain an example of vector space.arrow_forwardUse the function to find the image of v and the preimage of w. T(V1 V₂ V3) = (V₂ - V₁, V₁ + V₂, 2v₁), V = (4, 3, 0), w = (-11, 3, 14) (a) the image of v (b) the preimage of w (If the vector has an infinite number of solutions, give your answer in terms of the parameter t.) Need Help? Read It Determine whether the function is a linear transformation. T: R² R³, T(x, y) = (2x², xy, 2y²) O linear transformation O not a linear transformation Need Help? Watch It Read It Watch Itarrow_forwardDetermine which sets are dependent.arrow_forward
- Use the function to find the image of v and the preimage of w. T(v1, v2, v3) = (4v2 − v1, 4v1 + 5v2), v = (1, −3, −4), w = (6, 18) (a) the image of v (b) the preimage of w (If the vector has an infinite number of solutions, give your answer in terms of the parameter t.)arrow_forwardThe Hamacher product is the t-norm given by ab (а,b) %3 а+b-ab Show that this function satisfiest-norm operator properties.arrow_forwardShow that the vectors (1,1,0), (1,0,1), and (0,1,1) generate F3.arrow_forward
- Q1. Show that the vectors x, =(1,2,4), x, = (2,-1,3), x, = (0,1,2) and x, =(-3,7,2) are linearly dependent and find the relation between them. Ans: 9x, - 12x, + 5х, - 5х, -0 Q2. If the vectors (0,1,a), (1, a,1) and (a,1,0) is linearly dependent, then find the value of a. Ans: 0,+/2 Q3. Find the eigen values and eigen vectors of the following matrices: 8 -6 2 (i) -6 7 [31 4] (ii) 0 2 6 0 o 5 -4 -4 3 Ans: (i) 0, 3, 15, k 2, ka (ii) 3, 2, 5, Q4. Verify Cayley-Hamilton theorem for the following matrix and hence compute A: [2 -1 1] A = -1 2 -1 I -1 2 [3 1 -1 Ans: 41 3 1 3 [2 11 Q5. Find the characteristic equation of the matrix A =0 1 0 and hence, compute A. Also find the matrix represented by A -5A" +7A“ - 3A +A* - SA' + 8A? - 2A +1. [8 5 5 [ 2 -1 -1 Ans: 2'-5a + 72 - 3 = 0, 0 3 0,A 3 55 8 3 -1 -1 10 5 Q6. Show that the matrix -2 -3 -4 has less than three linearly independent eigen vectors. Also 3 5 7 find them. Ans: A= 2,2,3. For i = 3, X, = [k,k,-2k] , for 2 = 2, X, = [5k,2k,-Sk] [i -1 2…arrow_forwardWhich of the following sets of vectors are linearly dependent? (i) {(2,3), (-4,-6)}; (ii) {(0, 4,0, 0, 2), (0, 1, 3, 1, 1), (0, 2, 0,0,0)}.arrow_forwardEach week a builder makes an order of doors from a supplier. The doors normally cost $60 each, but the supplier gives a 10% discount for any order of 30 or more doors. The orders for the first 8 weeks of the year are given in the vector:orders = [20 40 15 30 25 45 10 35] (a) Write an Octave program using a for loop and if statement to find the total cost of the doors ordered. (b) Extend your program using the find command to find which weeks the builder obtained a discount.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageElementary Linear Algebra (MindTap Course List)AlgebraISBN:9781305658004Author:Ron LarsonPublisher:Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:9781305658004
Author:Ron Larson
Publisher:Cengage Learning