EEEE1001 - Computer Aided Engineering Assignment

Assignment Help Other Engineering
Reference no: EM132404893

EEEE1001 - Computer Aided Engineering Assignment - University of Nottingham, UK

Overview of task - This task is designed to show you how to produce the material required for the successful development of a small piece of software (the coding of which may be done by a third party).

As such, instructions (both written and associated diagrams such as flowcharts) need to be unambiguous. In addition, sufficient test data must be supplied to allow the code to be tested at function level (the individual parts) and at system level.

When designing (and writing) code you should remember a few key points

The code should be written using 'best practice' e.g.

- Remembering to use comments

- Good indenting

- Sensible variable/function names

Where input is required from the user you should validate this to ensure it is 'fit for purpose' e.g.

- If the user is required to enter a length/resistance check it is ≥ zero

- If a range is specified, ensure the value entered is within this.

Error checking should be used e.g.

- If a file is required to be opened, was this successful? If not - what should be done?

- If memory is to be allocated dynamically, was this successful? - what happens if not?

The Task -

Consider a projectile fired from a cannon with velocity Vo at the angle α as shown in figure 1.

1928_figure.png

Requirements (to be reflected in your flowchart & other material) -

Documentation (primarily a flowchart & test data) are to be created to ensure the following tasks are performed. Note that in some cases you will need to specify the exact message to be displayed (e.g. for an invalid input) which should then be validated through test cases.

(a) The application should prompt the user to enter the firing angle and velocity of the projectile.

NOTE: Suitable error checking should be included to ensure that the values entered are appropriate to the task.

Where they are not, the user should be informed of the correct range(s) and the application is to terminate.

(b) Functions (external to main()) are to be used to resolve the firing angle into the horizontal and vertical components. These values are to be displayed on the screen at a suitable precision.

(c) Design a suitable function (external to main()) that determines the time of flight (TOF) after which the projectile will return to ground level (i.e. when y=0). Display this value on the screen at a suitable precision.

(d) Display the horizontal and vertical distances of the projectile for the duration of the flight (i.e. t=0 to t=TOF) at 10 equally spaced intervals (which include t=0 & t=TOF).

You may wish to use sub processes (mini flowcharts) for the functions - these indeed would be ideal as part of a larger project as then individual developers/programmes could work on these - bringing the parts together to form the finished application.

Development of code - For this exercise you DO NOT need to submit your code (this exercise focuses on the design of code).

Attachment:- Computer Aided Engineering Assignment & Template Files.rar

Reference no: EM132404893

Questions Cloud

Analyze the connection between business and society : Explain the governance structure of Xerox. Analyze the connection between business and society
Explain the impact of government on business : Explain the impact of government on business. Illustrate the application of political strategies and their importance.
CHSM01 Constructing a Curriculum for the Early Years : CHSM01 Constructing a Curriculum for the Early Years Assignment Help and Solution, University of Sunderland - Assessment Writing Service - curriculum framework.
Which have caused the high rates of imprisonments : How can the criminal justice system resolve all the issues related to the system which have caused the high rates of imprisonments.
EEEE1001 - Computer Aided Engineering Assignment : EEEE1001 - Computer Aided Engineering Assignment Help and Solution - University of Nottingham, UK. Design a suitable function that determines the time of flight
Identify one trap related to decision making : Identify one trap related to decision making. What is an example of this trap that you either experienced yourself or have observed? Why is this trap important?
Civil liberties and equal rights : We've studied Civil Liberties and Equal Rights, Do we still need to provide assistance to historically underprivileged groups?
Describe the features that make it successful : What is a effective press release describe the features that make it successful.
Outline professional standards : What are and how do you outline professional standards, are these in a code of conduct?

Reviews

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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