Write a computer program to compute af a2f a3f af , and at x = 1.5...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a computer program to compute af a2f a3f aªf , and at x = 1.5 and 2.5 for дх'дх2' дх3' əx4 f(x) = sin (л x/2). Use central differencing of second order with the following step sixes: Ax = 0.001, 0.01, 0.1, 0.2, 0.3, and 0.4. Also determine the % of error for each computation by % Error 100 (Numerical value - Analytical value Analytical value value) Compare and discuss the results. Write a computer program to compute af a2f a3f aªf , and at x = 1.5 and 2.5 for дх'дх2' дх3' əx4 f(x) = sin (л x/2). Use central differencing of second order with the following step sixes: Ax = 0.001, 0.01, 0.1, 0.2, 0.3, and 0.4. Also determine the % of error for each computation by % Error 100 (Numerical value - Analytical value Analytical value value) Compare and discuss the results.
Expert Answer:
Answer rating: 100% (QA)
Here is a Python program to compute the derivatives and percentage error for the given function fx sinpi x 2 at x 15 and x 25 using central differencing of second order python import numpy as np def f... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
For the spring-mass system shown in Figure P16-5, determine the mass displacement, velocity, and acceleration for five time steps using the central difference method. Let k = 2000 lb/ft and m = 2...
-
Write a computer program to evaluate the degradation imposed by Gaussian phase jitter at a desired error probability as discussed in connection with the data presented in Table 9.2. This will require...
-
The bank portion of the bank reconciliation for Katsaris Company at August 31, 2014, was as follows: The adjusted cash balance per bank agreed with the cash balance per books at August 31. The...
-
A very thin sheet of plastic (n = 1.60) covers one slit of a double-slit apparatus illuminated by 640-nm light. The center point on the screen, instead of being a maximum, is dark. What is the...
-
Following are the size and price data for custom homes from Exercises 4.52 and 4.90. a. Obtain the linear correlation coefficient. b. Interpret the value of r in terms of the linear relationship...
-
While the electromagnetic interaction between the photons and the charged electrons and positrons kept them in equilibrium with each other during the early universe, show that the direct...
-
Mark Corporation estimates its manufacturing overhead to be $90,000 and its direct labor costs to be $200,000 for year 1. The actual direct labor costs were $50,000 for Job 301, $75,000 for Job 302,...
-
Centralized versus Decentralized Database Management Systems"Please respond to the following: Compare and contrast benefits and challenges that exist between centralized database management systems...
-
Case Construction Company, a three-year-old business, provides contracting and construction services to a variety of clients. Given that each construction job is different from any other, company...
-
The first widely-used commercial form of Artificial Intelligence (Al) is being used in many popular products like microwave ovens, automobiles and plug in circuit boards for desktop PCs. It allows...
-
In 2012, an article in the New York Times observed that: The financial consequences of a Greek departure from the euro monetary union could be severe. a. What does the article mean by a Greek...
-
The following statement appeared in a feature in the New York Times that provides an overview of the Federal Reserve System: The federal funds rate is set by the Feds Open Market Committee, composed...
-
In addition to commercial banks, other financial institutions, such as Fannie Mae, Freddie Mac, and the Federal Home Loan Banks borrow and lend in the federal funds market. (The 12 Federal Home Loan...
-
During the financial crisis of 20072009, the Fed set up the following temporary lending facilities: the Primary Dealer Credit Facility, the Term Securities Lending Facility, the Commercial Paper...
-
In 2010, arguing that the Chinese yuan was overvalued versus the U.S. dollar, President Barack Obama said he wanted to make sure our goods are not artificially inflated in price and their goods are...
-
On March 31, the end of the first year of operations, Barnard Inc., manufactured 6,500 units and sold 5,600 units. The following income statement was prepared, based on the variable costing concept:...
-
Explain the buyers position in a typical negotiation for a business. Explain the sellers position. What tips would you offer a buyer about to begin negotiating the purchase of a business?
-
Yolanda earns $112,000 in 2012. Calculate the FICA tax that must be paid by: Yolanda:.....................Soc.Sec..................$__________...
-
Carl and Jenny adopt a Russian orphan. The adoption takes 2 years and two trips to Russia and is final in 2012. They pay $6,000 in 2011 and $7,500 in 2012 of qualified adoption expenses, and have AGI...
-
Marty is a sales consultant. Marty incurs the following expenses related to entertainment of his clients in 2012: Dues to a country club......................................................$4,500...
-
Many hotel jobs are inherently dead end; for example, maids, laundry workers, and valets, either have no great aspirations to move up, or are just using these jobs temporarily, for instance, to help...
-
Using what you learned in this chapter of Dessler Human Resource Management, build on the companys new system by recommending two more specific career development activities the hotel should...
-
Should other employees (cleaner/spotters, counter people) be put on a similar plan? Why or why not? If so, how exactly?
Study smarter with the SolutionInn App