Create an array named x that has n elements

Assignment Help Computer Engineering
Reference no: EM131986610

Problem

This is for Microsoft VBA

The user (me) will enter as many numbers as he wishes in column A starting in cell A1 on Sheet1. Create a run button in Sheet1 that executes a macro named problem1. This macro solves the following problem:

Determine the number of values input by the user and store this value in a variable named N.

Create an array named X that has N elements.

Obtain the values from the worksheet and store them in X.

Using the values in the array, calculate the mean value, minimum value, maximum value, and standard deviation of these numbers. Hint: You need to calculate the mean first before calculating the standard deviation.

Output these four values to the user in cells D2-D5.

**Do not use the built-in functions AVERAGE, SUM, MIN, MAX, or STDEV to complete this problem.**

Reference no: EM131986610

Questions Cloud

Meal based on a variety of factors : We make food choices at every meal based on a variety of factors. Describe at least five considerations that enter into food choice decisions.
How much interest and sinking fund payments were made : Interest-only payments are to be made quarterly commencing April 1, 2001 and the principal is to be repaid in full on January 1, 2009.
What happens to an hco or any organization : What happens to an HCO (or any organization) that fails in its strategic positioning (see Exhibit 1.14)?
What nominal annual interest rate is the company paying : The entire principle of $100,000 will be repaid in 2 years, but quarterly interest of $3300 must be paid every three months.
Create an array named x that has n elements : Determine the number of values input by the user and store this value in a variable named N. Create an array named X that has N elements.
Impacts your employer practice : As a health care worker, why do you need a thorough understanding of the law as it impacts your employer's practice?
Find the pv of an ordinary annuity : Find the PV of an ordinary annuity that pays $1,000 each of the next 5 years if the interest rate is 15%. What is the annuity's FV?
Quality assurance to quality improvement : Discuss the history of CQI in public health in the US, including the change in emphasis from quality assurance to quality improvement.
What is meant by the scope and lifetime of a variable : What is meant by the scope and lifetime of a variable? If I declare a variable to be static, what changes, the scope or the lifetime? Why?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Where does e-waste end up

Where does e-waste end up? Define the e-waste problem: what is happening and why is this a problem? What can manufacturers do to improve the situation with the various issues (health, hazardous materials, recycling, refuse, etc.)?

  Write a template-based function that returns absolute value

Write a template-based function that calculates and returns the absolute value of two numeric values passed in. The function should operate with any numeric.

  What is the best process to dispose of a cell phone

What is the best way to dispose of the cell phone without leaving your personal information out there for someone else to access? In this disposable society, cell phones are good for about 2 years and you buy a new one. The old one usually ends up..

  Why dos technology been largely replaced by unix technology

Why, then, are we studying DOS in this course? Why has DOS technology been largely replaced by Unix technology?

  Create android base tcp socket client that connect to tomcat

Create an Android based TCP socket client that connects to Tomcat (or any other TCP server on a desktop) and downloads a large file.

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Perform a level 0 backup once per month

In the worst case scenario, how many restore commands would you have to give to recover a file that was dumped using this schedule?

  Write a sparc assembly language routine that stores sequence

Write a SPARC assembly language routine that stores the sequence of words 0, 2, 4, 6, 8, 10, 12, 14, 16 into memory, beginning at address 30001-1.

  Implement a java application that reads tweets

Description: The goal of this assignment is to implement a Java application that reads tweets from both the Twitter Streaming API and preloaded log file and finds the trending topics for a given set of languages and periods

  How long before half of the initial amount has disintegrated

An initial amount of 100 g of the radioactive isotope thorium-234 decays according toQ(t). How long before half of the initial amount has disintegrated?

  How to maintain different document object models

Both the Netscape/Mozilla and IE browsers maintain different document object models. Given the current era of open source, what do you think is the wisdom of maintaining two models.

  How does the device file help in accessing the device

How does the device file help in accessing the device? Which of these commands will work? Explain with reasons mkdir a/b/c and mkdir a a/b.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd