Homework #9 November 10, 2010 Vasani, Radhika 6817 I promise that I did all the work by myself without help from other students. I understand that violating this promise will result in automatic 0 point and penalties as severe as expulsion from UTA. Radhi
MAE 2360 C Notes
The purpose of this document is to provide a summary of the C language for MAE 2360 Numerical Analysis and Programming. The
focus is C89 (ANSI C) using the GNU gcc compiler. In some cases C99 features are mentioned but are not the primary
MAE 2360 Homework and Lab Submission Guidelines
The purpose of this document is to provide guidelines for
submitting homework and labs.
Submission Steps
Guidelines for Generating
Homework or Lab Submission
1.
2.
Find the homework or lab on Blackboard
Usua
MAE 2360-001/-002
Lab No. 9 (take-home lab)
Assigned: 3/29/2016
Due: 04/05/2016 by 11:59PM
This lab is worth 50 points.
(Follow Homework and Lab Submission Guidelines.docx on Blackboard)
Introduction to MATLAB
Open MATLAB
Set your current directory
Crea
MAE 2360-001/-002
Lab No. 1
Assigned: 1/21/2016
Due: 1/26/2016 by 11:59PM, submit within blackboard
Part 1: Omega Access
Login to the PC in the room with your UTA ID and password. After you login to the
campus network, login to omega.uta.edu with SSH (sma
MAE 2360-001/2
Lab No. 2
Assigned: 1/28/2016
Due: 2/4/2016 by 11:59PM, submit within Blackboard
Worth: 40 Points
(Follow Homework and Lab Submission Guidelines.docx on Blackboard)
Perform the following actions:
1. (Variable Type) It is very important to u
MAE 2360-001/2
Lab No. 3
Assigned: 2/4/2016
Due: 2/9/2016 by 11:59PM, submit within Blackboard
Worth: 60 Points
(Follow Homework and Lab Submission Guidelines.docx on Blackboard)
Perform the following actions:
1. Preprocessor directives
Review the C_notes
MAE 2360-001/-002
Lab No. 4
Assigned: 2/18/2016
Due: 2/23/2016 by 11:59PM
Worth: 60 points
(Follow Homework and Lab Submission Guidelines.docx on Blackboard)
Perform the following actions:
Download matrixmult.c from Blackboard and copy to your omega accou
MAE 2360-001/-002
Lab No. 4
Assigned: 2/11/2016
Due: 2/16/2016 by 11:59PM
Worth: 60 Points
(Follow Homework and Lab Submission Guidelines.docx on Blackboard)
Perform the following actions:
Part 1: This is an example of how to move files to your omega acco
MAE 2360-001/-002
Lab No. 8 (take home lab)
Assigned: 3/29/2016
Due: 4/4/2016 by 11:59PM, submit within Blackboard
Worth: 117 Points
(Follow Homework and Lab Submission Guidelines.docx on Blackboard)
1. String terms and definitions (32 points, 4 points ea
MAE 2360-001/2
Lab No. 3
Assigned: 2/25/2016
Due: 3/1/2016 by 11:59PM, submit within Blackboard
Worth: 110 Points
(Follow Homework and Lab Submission Guidelines.docx on Blackboard)
Part 1 (30 points): Pointers
The lab will start with instruction on pointe
MAE 2360-001/-002
Lab No. 7
Assigned: 3/24/2016
Due: 3/28/2016 by 11:59PM, submit within Blackboard
Worth: 160 Points
(Follow Homework and Lab Submission Guidelines.docx on Blackboard)
1. File Input/Output Redirection
Create a program that preforms the fo
short answer:
1. Be able to define pass by value or reference.
- pass by value:
ex)
#include <stdio.h>
/prototypes
void myfunct(int fa, int *fb, inc c);
int main ()
cfw_
int a=1, b=2, c=3; /a and c by value, b by reference
myfunct(a, &b, c)
Homework 2
Problem 1)
#include <stdio.h>
#include <math.h>
int main()
cfw_
int c;
float v,a,t,d,delta,t1,t2;
printf("Case 1: Calculate time of travelling \nCase 2: Calculate the distance of travelling \nEnter
case number you want: ");
scanf("0",&c);
if (c
Homework 01
June 15, 2016
Kassebaum, Adrian
9301
I promise that I did all the work by myself without help from other students.
I understand that violating this promise will result in automatic
0 point and penalties as severe as expulsion from UTA
Problem
July 6, 2016
Kassebaum, Adrian
9301
I promise that I did all the work by myself without help from other
students. I understand that violating this promise will result in automatic 0
point and penalties as severe as expulsion from UTA.
1. Gif file, sent as
Homework 04
July 13, 2016
Kassebaum, Adrian
9301
I promise that I did all the work by myself without help from other students. I understand that violating
this promise will result in automatic 0 point and penalties as severe as expulsion from UTA.
1. Birt
Homework 05
July 27, 2016
Kassebaum, Adrian
9301
I promise that I did all the work by myself without help from other students. I
understand that violating this promise will result in automatic 0 point and penalties as
severe as expulsion from UTA.
1. Prog
Homework 02
June 29, 2016
Kassebaum, Adrian
9301
I promise that I did all the work by myself without help from other students.
I understand that violating this promise will result in automatic 0 point
and penalties as severe as expulsion from UTA.
1.
#inc
MAE 2360 C Notes
The purpose of this document is to provide a summary of the C language for MAE 2360 Numerical Analysis and Programming. The
focus is C89 (ANSI C) using the GNU gcc compiler. In some cases C99 features are mentioned but are not the primary
MAE 2360 Numerical Methods
The purpose of this document is to provide a summary of the numerical methods covered in this course. Optional sections will not
be covered by exams.
Notes:
Table of Contents
Approximations and Error.3
Two major forms (or source
#include <stdio.h>
int main()
cfw_
int m, n, p, q, c, d, k, sum = 0, scale_val;
int first[10][10], second[10][10], multiply[10][10];
char input;
printf("\nMatrix Operations:\n");
printf("\n a. Matrix Multiplication\n");
printf("\n b. Scalar Multiplication
MAE 2360 FORTRAN
The purpose of this document is to provide a summary of the FORTRAN covered in this course.
Table of Contents
Comparing Programming Languages.2
Fortran.2
Comparison between C and FORTRAN.2
FORTRAN (FOrmulaTRANslation).3
How to Run a Fortr
MAE 2360 MATLAB
The purpose of this document is to provide an introduction to MATLAB for this course.
Table of Contents
Online Tutorials.1
Introduction to MATLAB by Comparison with the C Language.2
Variable Declaration.2
Concluding Statements.2
Comments.2
Homework 1
#include <stdio.h>
#include <math.h>
int main()
cfw_
float v,a,t,d,delta,t1,t2,x;
printf("Enter the velocity (v) of the object in m/s = ");
scanf("0",&v);
printf("Enter the acceleration (a) of the object in m/s^2 = ");
scanf("0",&a);
printf("En
MAE 2360-001/002 NUMERICAL ANALYSIS AND PROGRAMMING, Spring 2016
Department of Mechanical and Aerospace Engineering
University of Texas at Arlington
COURSE SYLLABUS
Instructor(s): Ryan Sifford
Office: WH 323-H
Phone: MAE undergraduate office 817-272-2561