SEMM1013 Programming For Engineers Assignment

Assignment Help C/C++ Programming
Reference no: EM133170939

SEMM1013 Programming For Engineers - University of Technology Malaysia

Project

An experiment to measure the moment in Nm about a point A produced by the gravitational force was conducted for the following robotic arm in the vertical plane shown below.

2444_Programming For Engineers.jpg

The following table shows some values of the data obtained from the measurements and the complete data set was saved in the file ‘moment2.txt'. The file contains the values of the moment for 0 < θ1 < 90 and -90 < θ2 < 90. The first row indicates the value of θ1 and the first column indicates the value of θ2.

T2\T1

0.0

10.0

20.0

30.0

40.0

50.0

60.0

70.0

80.0

90.0

-90.0

0.22

3.03

7.49

10.09

13.8

16.24

18.28

19.99

21.75

20.87

-80.0

0.83

4.32

8.09

11.19

14.43

17.26

19.82

20.55

21.11

22.1

-70.0

1.95

4.72

9.59

13.06

15.2

17.77

20.78

22.49

23.85

23.15

 

 

 

 

 

 

...

 

 

 

 

 

 

 

 

 

 

...

 

 

 

 

 

 

 

 

 

 

...

 

 

 

 

80.0

1.55

5.15

8.57

12.12

14.97

18.02

18.92

20.77

21.32

21.28

90.0

-0.84

4.38

6.93

10.53

14.45

15.69

19.07

20.22

21.65

21.17

Write a C program that reads the above data from the file ‘moment2.txt' and for < θ1 < and < θ2 < write the following output to an output file ‘result.txt':

a) The reprint of the data from the experiment.
b) The corresponding theoretical values of the moment.
c) The error of each measurement compared to the theoretical value.
d) The maximum error, the minimum error, the average error, the average of the absolute error, and the absolute percentage of error of the measurements.
e) The values of θ1 and θ2 for the minimum and maximum errors.

Write a brief report about this project and submit the C source code and the results printed from the output file. Your report should include Background of Project, Methodology (Algorithm and/or flow chart), and Discussion and Conclusion.

Reference no: EM133170939

Questions Cloud

What are the four basic theoretical approaches : What are the four basic theoretical approaches to exchange rate determination? Describe each of the 4 theoretical approaches
Record the journal entry on september : Cullumber Buttons uses a petty cash imprest system. Record the journal entry on September 4 to establish the petty cash fund
Develop brand strategy for hybrid car : How will it be launched in the selected target market? Describe what activities will be conducted to build the image of the brand.
How many units were transferred out during the period : The units were 100% complete to materials and 67% complete with conversion. How many units were transferred out during the period
SEMM1013 Programming For Engineers Assignment : SEMM1013 Programming For Engineers Assignment Help and Solution, University of Technology Malaysia - Assessment Writing Service
Compute the cost of direct labor for the year : Total manufacturing costs incurred during the year were $880,000. Compute the cost of direct labor for the year
Motivation for companies to track digital metrics : Understanding that the motivation for companies to track digital metrics and your behavior as a consumer to better serve their target market,
Design digital metrics : Design a digital metrics dashboard for each of the two types of digital marketing that would matter to the market researcher.
What was your dollar and percent return : FedEx stock ended year 2019 with a stock price of $106 per share. What was your dollar and percent return during the year 2020

Reviews

Write a Review

C/C++ Programming Questions & Answers

  The average cost to attend the university

After deducting grants based on need, the average cost to attend the University of Southern California is $27,175. Assume the population standard deviation is $7400. Suppose that a random sample of 60 USC students will be taken from this populatio..

  What is a friend function and how is it declared

What is a friend function and how is it declared? Which operators cannot be overloaded and why? What is a macro in C++ programming and what are some advantages to using them? Explain the purpose of an inline function?

  Create a program that has a function prototype

Write a program that has a function prototype before main and an implementation of the function after main.

  Write the function header for a function called exchange

Write the function header for a function called exchange that takes two pointers to floating-point numbers x and y as parameters and does not return a value.

  Write an iterative function power

Write an iterative function power1 to compute xn for n >= 0 and write a recursive function power2 to compute xn by using the following recursive formulation

  Insert the missing code in the c program

You are to insert the missing code in the C program given for combinational equivalence checking. This program will interface with the CUDD package and will parse netlist files in ISCAS85 circuit format. Next, BDDs will be created for each circuit an..

  Demonstrate overriding of their getter and setter methods

Organize following animals using classes and virtual function. tigers,crocodile, elephants,pythons,zebras,hawks, chickens,rabbits using at least 3 properties some of the animals share. demonstrate overriding of their getter and setter methods.

  Problem regarding the relational algebra

A database records information about tutorials in a particular unit offering (such as ICT285 this semester). A student is supposed to attend only one of several available tutorials, each of which is taken by a tutor at a particular day and time. A..

  Implement a calculator using stacks and queues.

You will implement a calculator using stacks and queues. Your calculator must support the following operators:

  Construct vector and linked lists data structures

You will prepare sorted versions of the Linked Lists and Vector data structures developed in class

  Memory values and a one-address machine with an accumulator

Given the following memory values and a one-address machine with an accumulator, what values do the following instructions load into the accumulator?

  Write a cpp program that gets two inputs an integer

Write a C++ program that gets two inputs an integer and a character. Use repetition control structures better known as loops to output an outline of a triangle.

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