Determine the roots of aquadratic function

Assignment Help Basic Computer Science
Reference no: EM132063351

PROBLEMS

Open a blank Excel workbook and save it as a MACRO-ENABLED file. Your workbook must contain only two worksheets named "Prob1" and "Prob2", respectively.

1. Problem 1.

a) Add a module (i.e., Module1) in the Project Explorer and write (do NOT record) all the code for this problem inside this module. Show your results in the worksheet labeled "Prob1."

b) Write code in Excel VBA to implement an algorithm to calculate the area and volume of the curved surface of a right circular cone. The description and flowchart for this algorithm are included in page 3 of this document. Your program must implement the exact algorithm depicted by the flowchart.Note: The dimensions of the right circular cone h and rmust be entered by the user into the spreadsheet "Prob1" and then assigned to variables. These variables must then be used to produce the required result(s).

DO NOT USE AN INPUT BOX TO REQUEST INPUT FROM THE USER.

c) Assign the sub procedure to a rectangular shape button.

d) The results must be displayed to the user when the button is pressed

2. Problem 2.

a) Add a module (i.e., Module2) in the Project Explorer and write (do NOT record) all the code for this problem inside this module. Show your results in a worksheet labeled "Prob2."

b) Write code in Excel VBA to implement an algorithm to determine the real roots of a quadratic equation. The description and flowchart for this algorithm are included in page 4 of this document. Your program must implement the exact algorithm depicted by the flowchart. A note to the user regarding errors may be included in the instructions for when there are no x-intercepts.

Note: The coefficientsa, b and cmust be entered by the user into the spreadsheet "Prob2" and then assigned to variables. These variables must then be used to produce the required result(s).

DO NOT USE AN INPUT BOX TO REQUEST INPUT FROM THE USER.

c) Assign the sub procedure to a rectangular shape button.

d) The results must be displayed to the user when the button is pressed.

Problem 1: The area and volume of a right circular cone can be calculated with the following formulas:

Area = Π*r*[r + √(r2 + h2)](in m2)

Volume = 1/3*Π*r2*h (in m3)

Determine the area and volume based on given values for handr.

Problem 2: The general form of a quadratic function is f(x) = ax2 + bx + c. The real roots of a quadratic function can be determined with the quadratic formula:

x = (-b±√b2 -4ac)/2a

Determine the roots of aquadratic function based on given values for the coefficients a, b and c.

Attachment:- Homework.rar

Reference no: EM132063351

Questions Cloud

Describe briefly about the ipsec vpn protocol : Describe briefly about the following VPN protocols : IPSec , Secure socket layer (SSL) / Transport layer security (TLS).
Shaping american involvement in vietnam : What do you think was more important in shaping American involvement in Vietnam, external foreign policy concerns or domestic political considerations?
How has the healthcare technology landscape changed : How has the healthcare technology landscape changed? Are the healthcare technologies used for the same purpose? Explain.
What are the different types of communities : What are the different types of communities that were existent in the late 1800s in China?
Determine the roots of aquadratic function : IE 212 - Using variables and capturing user input - Determine the area and volume based on given values for handr - Determine the roots of aquadratic function
Create research report about a societal concern : Using research you have conducted on a topic of your choice, create research report about a societal concern/issue. Include information from your annotated.
Determine its cost of debt : Waller, Inc., is trying to determine its cost of debt. The issue makes semiannual payments and has coupon rate of 8 percent. what is the pretax cost of debt?
Ideals of confucianism in china : How were the duties of a samurai similar and different to the ideals of Confucianism in China?
What is effs mission statement : What is EFF's mission statement? Explain in detail, privacy issues related to the case study.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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