1. Create a macro to carry out linear interpolation using the formula 32-31 y=y+x (x-x1) x2-x1...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Create a macro to carry out linear interpolation using the formula 32-31 y=y+x (x-x1) x2-x1 Use relative addressing. Give the macro a name, a shortcut key, and a description. This macro should be able to be used on various sets of values, at various locations on your worksheet, without changing the coding in the of the macro itself. Try your macro out with the following set of data, solving for x = 2.03: X 2.0 y 5.5 2.1 7.2 2. Create a macro that will determine the mean, median, mode, min, max and standard deviation of a list of 20 numbers. Come up with a list of numbers to test your macro. 3. Record a macro to format a number so that it displays in red, bold italic, 12-point Arial font, limit the number of decimal points to 3. Record a second macro so that the number displays in blue, Times New Roman 14-point font, limit the number of decimal points to 2. Look at both macros in the VBA editor. What differences do you note? 4. Copy the macro you created in problem 2, rename it and edit it using the VBA editor as follows: Remove the calculation of the min and max Add a calculation of the Variance. Remember, the Variance is the square of the Standard Deviation 1. Create a macro to carry out linear interpolation using the formula 32-31 y=y+x (x-x1) x2-x1 Use relative addressing. Give the macro a name, a shortcut key, and a description. This macro should be able to be used on various sets of values, at various locations on your worksheet, without changing the coding in the of the macro itself. Try your macro out with the following set of data, solving for x = 2.03: X 2.0 y 5.5 2.1 7.2 2. Create a macro that will determine the mean, median, mode, min, max and standard deviation of a list of 20 numbers. Come up with a list of numbers to test your macro. 3. Record a macro to format a number so that it displays in red, bold italic, 12-point Arial font, limit the number of decimal points to 3. Record a second macro so that the number displays in blue, Times New Roman 14-point font, limit the number of decimal points to 2. Look at both macros in the VBA editor. What differences do you note? 4. Copy the macro you created in problem 2, rename it and edit it using the VBA editor as follows: Remove the calculation of the min and max Add a calculation of the Variance. Remember, the Variance is the square of the Standard Deviation
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
answer the question clearly You are building a flight-control system for which a convincing safety case must be made. Would you assign the tasks of safety requirements engineering, test case...
-
"internet radios" for streaming audio, and personal video recorders and players. Describe design and evaluation processes that could be used by a start-up company to improve the usability of such...
-
Match each of the following energy band structures with the type of material it represents. Show Work A B C Empty conduction band Band gap Filled valence band Empty conduction band Band gap Filled...
-
Henderson Containers manufactures a variety of boxes used for packaging. Sales of its Model A20 box have increased significantly to a total of 420,000 A20 boxes. Henderson has enough existing...
-
In problem, identify which of the graphs could be the graph of a polynomial function. For those that could, list the real zeros and state the least degree the polynomial can have. For those that...
-
Panther Racing, LLC, is involved in competitive racing, including the development, maintenance, and operation of a racing team in the IndyCar series. Beginning in 2008, the National Guard annually...
-
Bronson Company manufactures a variety of ballpoint pens. The company has just received an offer from an outside supplier to provide the ink cartridge for the companys Zippo pen line, at a price of...
-
35. Expandiendo e sin en serie de Fourier en wt, mostrar que la ecuacin trascendedente de Kepler tiene la solucin formal: = wt+Jn(ne) sin (wt), n=1 n 2 donde J, es la funcin de Bessel de orden n....
-
A class B network is recognized by its network address, 145.11.0.0. The network address of its first subnet is 145.11.0.0 as well. Explain why identical network addresses for two networks (the main...
-
Discuss the measures that should be taken to ensure that workers who have been selected for redundancy and those who have not remain motivated at work.
-
Which way does the short-run Phillips curve move in response to a fall in commodities prices? To a surge in commodities prices? Explain.
-
Obtain a copy of the safety policy for either your college or your workplace. a. Use this to identify the roles of various people in the organisation in relation to health and safety. b. Use the...
-
What features of the EU do you think increase the labor elasticity?
-
Why is the cyclically adjusted budget balance a better measure of whether government policies are sustainable in the long run than the actual budget balance is?
-
Take the extent of the disturbance of the wind in the direction of the incoming wind, i.e. parallel to the axis of the turbine, as W, where W is the width of the turbine blade. Show that the ratio...
-
You are thinking of investing in one of two companies. In one annual report, the auditors opinion states that the financial statements were prepared in accordance with generally accepted accounting...
-
In the example given in Fig. 1-17, the library procedure is called read and the system call itself is called read. Is it essential that both of these have the same name? If not, which one is more...
-
Migrating virtual machines may be easier than migrating processes, but migration can still be difficult. What problems can arise when migrating a virtual machine? Discuss.
-
When a process unmaps a clean stack page, it makes the transition (5) in Fig. 11-34. Where does a dirty stack page go when unmapped? Why is there no transition to the modified list when a dirty stack...
-
Two-dimensional surfaces that can be made by rolling up a sheet of paper are called developable surfaces. Find the geodesic equations on the following developable surfaces and solve the equations....
-
Using Euler's equation for \(y(x)\), prove that This equation provides an alternative method for solving problems in which the integrand \(f\) is not an explicit function of \(x\), because in that...
-
The time required for a particle to slide from the cusp of a cycloid to the bottom is \(t=\pi \sqrt{a / 2 g}\). Show that if the particle starts from rest at any point other than the cusp, it will...
Study smarter with the SolutionInn App