
Numerical Methods for Engineers
7th Edition
ISBN: 9780073397924
Author: Steven C. Chapra Dr., Raymond P. Canale
Publisher: McGraw-Hill Education
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 solution
Students have asked these similar questions
Uppgift 2 (9p)
I77777
20 kN
10 kN/m
4
[m]
2
2
Bestäm tvärkrafts- och momentdiagram för balken i figuren ovan. Extrempunkter ska anges
med både läge och värde i diagrammen.
**Problem 8-45.** The man has a mass of 60 kg and the crate has a mass of 100 kg. If the coefficient of static friction between his shoes and the ground is \( \mu_s = 0.4 \) and between the crate and the ground is \( \mu_c = 0.3 \), determine if the man is able to move the crate using the rope-and-pulley system shown. **Diagram Explanation:** The diagram illustrates a scenario where a man is attempting to pull a crate using a rope-and-pulley system. The setup is as follows: - **Crate (C):** Positioned on the ground with a rope attached. - **Rope:** Connects the crate to a pulley system and extends to the man. - **Pulley on Tree:** The rope runs over a pulley mounted on a tree which redirects the rope. - **Angles:** - The rope between the crate and tree forms a \(30^\circ\) angle with the horizontal. - The rope between the tree and the man makes a \(45^\circ\) angle with the horizontal. - **Man (A):** Pulling on the rope with the intention of moving the crate. This arrangement tests the…
please solve this problems follow what the question are asking to do please show me step by step
Chapter 2 Solutions
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, advanced-math and related others by exploring similar questions and additional content below.Similar questions
- please help me to solve this problem and determine the stress for each point i like to be explained step by step with the correct answerarrow_forwardplease solve this problem for me the best way that you can explained to solve please show me the step how to solvearrow_forwardplese solbe this problem and give the correct answer solve step by step find the forces and line actionarrow_forward
- please help me to solve this problems first write the line of action and them find the forces {fx=0: fy=0: mz=0: and them draw the shear and bending moment diagram. please explain step by steparrow_forwardplease solve this problem step by step like human and give correct answer step by steparrow_forwardPROBLEM 11: Determine the force, P, that must be exerted on the handles of the bolt cutter. (A) 7.5 N (B) 30.0 N (C) 52.5 N (D) 300 N (E) 325 N .B X 3 cm E 40 cm cm F = 1000 N 10 cm 3 cm boltarrow_forward
- Using the moment-area theorems, determine a) the rotation at A, b) the deflection at L/2, c) the deflection at L/4. (Hint: Use symmetry for Part a (θA= - θB, or θC=0), Use the rotation at A for Parts b and c. Note that all deformations in the scope of our topics are small deformation and for small θ, sinθ=θ).arrow_forwardDistilled water is being cooled by a 20% propylene glycol solution in a 1-1/U counter flow plate and frame heat exchanger. The water enters the heat exchanger at 50°F at a flow rate of 86,000 lbm/h. For safety reasons, the water outlet temperature should never be colder than 35°F. The propylene glycol solution enters the heat exchanger at 28°F with a flow rate of 73,000 lbm/h. The port distances on the heat exchanger are Lv = 35 in and Lh = 18 in. The plate width is Lw = 21.5 2 in. The plate thickness is 0.04 in with a plate pitch of 0.12 in. The chevron angle is 30° and the plate enlargement factor is 1.17. All ports have a 2 in diameter. The fouling factor of the propylene glycol solution can be estimated as 2 ×10−5 h-ft2-°F/Btu. a. Determine the maximum number of plates the heat exchanger can have while ensuring that the water outlet temperature never drops below 35°F. b. Determine the thermal and hydraulic performance of the heat exchanger with the specified number of plates.…arrow_forwardLiquid pentane is flowing in the shell of a shell and tube heat exchanger at a rate of 350,000lbm/hr and an average temperature of 20°F. The shell has a diameter of 27 in and a length of 16ft. The tubes in the heat exchanger are ¾-in 15 BWG tubes on a 1-in triangular pitch. The purposeof this problem is to investigate how the number of baffles impacts the heat transfer and thepressure drop on the shell side of the heat exchanger. Calculate the shell-side convective heattransfer coefficient and pressure drop for the case where the heat exchanger has 10 baffles. Repeatthe calculation for 20 baffles. Then determine thea. Ratio of the shell-side convective heat transfer coefficient for the 20-baffle heat exchangerto the 10-baffle heat exchangerb. Ratio of the shell-side pressure drop for the 20-baffle heat exchanger to the 10-baffle heatexchangerc. If the optimum baffle spacing is somewhere between 0.4Ds and 0.6Ds, how many baffleswould you recommend for this heat exchanger? What are the…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Refrigeration and Air Conditioning Technology (Mi...Mechanical EngineeringISBN:9781305578296Author:John Tomczyk, Eugene Silberstein, Bill Whitman, Bill JohnsonPublisher:Cengage LearningPrinciples of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage Learning

Refrigeration and Air Conditioning Technology (Mi...
Mechanical Engineering
ISBN:9781305578296
Author:John Tomczyk, Eugene Silberstein, Bill Whitman, Bill Johnson
Publisher:Cengage Learning

Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning