0% found this document useful (0 votes)
38 views42 pages

1st - Yr - Lecture 01 - NEW

This document provides an introduction to the ENG 1060 Computing for Engineers course. It discusses how engineering computing and programming in MATLAB can be used to model physical phenomena and solve engineering problems. The course will teach students how to write MATLAB programs to solve mathematical models of engineering problems. It will cover topics like variables, arrays, matrices, logical operations, loops, functions, root finding, optimization, linear algebra, curve fitting, numerical integration, and solving differential equations. Assessment will include tutorial assignments and ongoing assessment. The goal is for students to learn numerical methods and MATLAB programming to analyze engineering problems.

Uploaded by

Shaun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views42 pages

1st - Yr - Lecture 01 - NEW

This document provides an introduction to the ENG 1060 Computing for Engineers course. It discusses how engineering computing and programming in MATLAB can be used to model physical phenomena and solve engineering problems. The course will teach students how to write MATLAB programs to solve mathematical models of engineering problems. It will cover topics like variables, arrays, matrices, logical operations, loops, functions, root finding, optimization, linear algebra, curve fitting, numerical integration, and solving differential equations. Assessment will include tutorial assignments and ongoing assessment. The goal is for students to learn numerical methods and MATLAB programming to analyze engineering problems.

Uploaded by

Shaun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 42

ENG 1060

Computing for Engineers


Lecturer: Dr. V. Ganapathy
Lecture 1:
An introduction
What is Engineering Computing ?
• Introduction In general,engineers are required to relate
• What does physical phenomena to mathematical
programming
provide you ? models.
• MATLAB - a
programming
language
An example is sea levels rising, what effect
• Subject
Overview will it have on current cities? How do we
• Assessment plan new infrastructure?
• MATLAB: An
Introduction New Orleans

2
What is Engineering Computing ?
• Introduction
Computer models are required to solve
• What does
programming fundamental mathematical problems, often
provide you ?
very repetedly:
• MATLAB - a
programming
language
• Interpolation
• Subject
Overview • Solving Simultaneous Equations
• Assessment
• Solving Ordinary Differential
• MATLAB: An
Introduction Equations
• Integration

3
What will this unit provide you?
• Introduction Through attending the lectures, and completing the
• What does tutorials and laboratories you will learn how to use
programming
provide you ?
computers to solve difficult engineering problems:
• MATLAB - a
programming Consider an engineering problem
language

• Subject
Overview
Construct a mathematical model to the problem
• Assessment
Write a program to solve the model
• MATLAB: An
Introduction
Present the results to the problem

4
What will this unit provide you?
• Introduction
You will also learn a programming
• What does
programming language called MATLAB.
provide you ?

• MATLAB - a
programming
language MATLAB is very similar to other high-level languages used
• Subject
in engineering (C, Fortan, Delphi).
Overview

• Assessment However, it has a lot more help associated, and many inbuilt
• MATLAB: An functions designed to help you solve engineering problems.
Introduction

Using MATLAB, we will teach you the


process of writing a computer program
which is logical and easy to follow.

5
Why learn programming?
• Introduction

• What does
programming Computers can model where
provide you ?

• MATLAB - a
experiments can’t venture…
programming
language
(e.g. biomedical applications)
• Subject
Overview

• Assessment

• MATLAB: An
Introduction

6
Why learn programming?
• Introduction

• What does
programming Computers can model where
provide you ?

• MATLAB - a
experiments can’t venture…
programming
language
(e.g. Crack development)
• Subject
Overview

• Assessment

• MATLAB: An
Introduction

7
MATLAB
• Introduction To program we will be using a computer
• What does package called Matlab.
programming
provide you ?

• MATLAB - a
programming
language
Matlab is an excellent
• Subject
Overview programming language
• Assessment

• MATLAB: An
Introduction
It’s also an excellent tool to view scientific
images

8
Matlab – Why learn it?
• Introduction

• What does
• It is specially designed for scientific
programming
provide you ? and engineering research.
• MATLAB - a
programming
• It is very accurate at modeling
language

• Subject
• It is very easy to visualize your data.
Overview

• Assessment

• MATLAB: An
Introduction

9
Matlab – Why learn it?
• Introduction
It is excellent at handling arrays and
• What does
programming matrices.
provide you ?

• MATLAB - a
In fact its name comes from MATrix LABoratory
programming
language It is programmable
It is used by Engineering firms the world
• Subject
Overview

• Assessment over.
• MATLAB: An
Introduction

10
Subject Overview
• Introduction

Week 1-6: Learning to Program:


• What does
programming
provide you ?

• MATLAB - a 1: Introduction / Matlab demonstration


programming
language
2: Variables & operators / How to
• Subject
Overview program
• Assessment

• MATLAB: An
Introduction

11
Subject Overview
• Introduction
Week 1-6: Learning to Program:
• What does
programming
provide you ?
3 : Arrays and Matrices
• MATLAB - a
programming
4 : Logical Operations
language

• Subject
5 : Loop structures
6 : Graphical Output
Overview

• Assessment

• MATLAB: An
Introduction

12
Subject Overview
• Introduction
Week 1-6: Learning to Program:
• What does
programming
provide you ?
7 : Function files
• MATLAB - a
programming
8 : Advanced file input/output
language

• Subject
Overview

• Assessment

• MATLAB: An
Introduction

13
Subject Overview
• Introduction
Week 7-12: Numerical Methods
• What does
programming
provide you ?
Week 7 Root Finding and Optimization
• MATLAB - a
programming
language
Week 8 Linear Algebra in Engineering
• Subject
Overview

• Assessment

• MATLAB: An
Introduction

14
Subject Overview
• Introduction
Week 7-12: Numerical Methods
• What does
programming
provide you ?
Week 9 Matrix Manipulation
• MATLAB - a Week 10 Curve fitting of data
programming
language

• Subject
Overview

• Assessment

• MATLAB: An
Introduction

15
Subject Overview
• Introduction
Week 7-12: Numerical Methods
• What does
programming
provide you ?
Week 11 Numerical Integration
• MATLAB - a Week 12 The solution of Ordinary
programming
language Differential Equations
• Subject
Overview

• Assessment

• MATLAB: An
Introduction

16
Prescribed Text
• Introduction

• What does
programming
provide you ?
“Applied Numerical
Methods with Matlab for
• MATLAB - a
programming Engineers and
language
Scientists”, Steven C.
• Subject
Overview Chapra, McGraw Hill,
• Assessment
2005.
• MATLAB: An
Introduction
This text is good because
it involves both MATLAB
programming and the
application of Numerical
Methods. –Other texts are
also available
which might be
17
Recommended texts
• Introduction
Recommended Texts & Further
• What does
programming Reading:
provide you ?

• MATLAB - a “Mastering Matlab”, Hanselman


programming
language and Littlefield, Prentice-Hall.
• Subject
Explanations & code with
Overview examples of how to use
• Assessment Matlab. An excellent book.
• MATLAB: An
Introduction
“Numerical Methods for
Engineers”, Chapra & Canale,
McGraw-Hill.
Large number of
engineering-related
methods detailed.
Virtually no programming,
but substantial theory.
18
Recommended texts
• Introduction

• What does
Recommended Texts &
programming
provide you ?
Further Reading:
• MATLAB - a
programming
language “Numerical Methods using
• Subject
Matlab”, George Lindfield and
Overview John Penny, Prentice Hall,
• Assessment 1999.
• MATLAB: An
Introduction
Slightly older book, however it
does discuss both MATLAB
programming and the
application of Numerical
Methods.

19
Assessment
• Introduction

• What does • Tutorial:


programming – Assignment (5% of final grade). (5 marks)
provide you ?
• On-Going assessment
• MATLAB - a
programming
– Every laboratory (Totally 10) will be assessed,
language each will be worth of 1.5%. (15 marks)
• Subject
Practice TEST:
Overview 10% (To be conducted during the 12th week)
• Assessment (10 marks).
• MATLAB: An
Introduction • Exam (70% of final grade). 3 hour, closed book
exam.
– You may be asked questions on any material
provided as part of the course.

– The examination will consist of a number of


questions similar to but different from those that
make up the practice classes.

20
Practice Classes
• The only way to succeed in
• Introduction

• What does
programming
provide you ? programming is practice practice
• MATLAB - a
programming
practice.
language

• Subject
Overview

• Assessment
• The tutorials and laboratories are
• MATLAB: An
Introduction
the best way for you to learn
material for this subject.

• Tutorials start in week 2.


• Laboratories start in week 2.

21
Laboratories – why attend them?
• Introduction • The practice classes are designed to
• What does
programming offer you the opportunity to practice
programming while knowledgeable
provide you ?

• MATLAB - a
programming
language
staff are available to help you.
• Subject
Overview
• It is important that you attend your
• Assessment designated practice class session.
• MATLAB: An
Introduction

22
Practice Classes
• Introduction • For those of you who haven’t already…
• What does
programming You have to select which tutorials/laboratory
provide you ?
classes you will be attending using the online
• MATLAB - a
programming website Allocate+.
language

• Subject http://allocate.cc.monash.edu.au/
Overview

• Assessment

• MATLAB: An
Introduction

23
For People who are repeating
• Introduction

• What does
programming
• Some of you may have attempted this
provide you ?
course last year.
• MATLAB - a
programming
language

• Subject • If this is the case, we expect that you will


attend all tutorials and practice classes.
Overview

• Assessment

• MATLAB: An
Introduction
• In addition we expect that you should
hand in all assignments and sit all tests.

• This is in line with university policy.

24
AUTHCATE & MUSO
• Introduction

• What does • Monash University employs the 'blackboard' software


programming
provide you ?
to provide each unit a website for you to interact with.
• Every one of your subjects should have a site which
• MATLAB - a
programming
you can access.
language • On the subject websites will be important information:
• Subject
– Lecture notes
Overview – Assignment handouts
• Assessment
– Course Outline
– Tutorial questions and solutions
• MATLAB: An
Introduction
– Important announcements.
• To access the site, go to: my.monash.edu.au
• Enter in your AUTHCATE username and password.
• If you don’t have an AUTHCATE username go to:
http://monash.edu.au/students/computer/

25
AUTHCATE & MUSO
• Introduction

• What does
1
programming
provide you ?

• MATLAB - a
programming
language

• Subject
Overview

• Assessment

• MATLAB: An
Introduction

26
Where is Matlab at Monash?
• Introduction

• What does
programming – Matlab is available on all
provide you ?

• MATLAB - a
engineering student laboratory
programming
language
computers at Monash.
• Subject
Overview
– A link to start Matlab is on the start
• Assessment menu.
• MATLAB: An
Introduction
– You need an Authcate
username/password to use the
computer system.

27
Asking me questions
• Introduction Another important source of information is
• What does your lecturer.
programming
provide you ?

• MATLAB - a
programming
I can answer questions you may have (on
language my part of the course) out of lecture hours.
• Subject
Overview I will be available at the following times in
• Assessment my office (Room 5-5-20):
• MATLAB: An
Introduction
Tuesday : 3:00pm – 4:00 pm
Wednesday : 3:00pm – 4:00 pm
Thursday : 3:00pm – 4:00 pm

28
ENG 1060
Computing for Engineers
Lecturer: Dr V. Ganapathy
Lecture 1:
MATLAB
Matlab Graphical User Interface
– When you first
start MATLAB
several windows
appear by default

– These include:
– Command Window
– Command History
– Current Directory
– Workspace

30
Matlab Graphical User Interface

– In the
command
window you
type
commands for
MATLAB to
process.

31
Matlab Graphical User Interface

– The command
history window
provides a running
history of prior
commands issued
in the command
window.

32
Matlab Graphical User Interface
– The current directory
window provides
information of the
files in the current
directory (more on
changing directories
in lecture 3)

33
Matlab Graphical User Interface

– The workspace
window provides
information
regarding variables
MATLAB has stored
in the computers
memory.

34
Matlab - Help

– There are several ways


to ask for help.
– The easiest is to type
“help” in the command
window followed by the
command you need
help with.

– This is an easy way to find help quickly if you


know what you are looking for, however it is not
very detailed or user friendly.
35
Matlab - Help
The other
(preferred)
method, is to
select
“help”,
“Matlab
help” from
the menu
bar, or just
press F1.

36
Matlab - Help
This opens
up a new
window
with very
detailed
help and
examples
on how to
use
MATLAB.

37
Matlab - Help
There is an
index, where
you can look
up a command
of interest (for
example
“cos”).

Note the right hand frame has a lot


of information including an example.38
Matlab : An example
• Introduction

• What does – In the mid-1990s, several small


programming start-up companies proposed to
provide you ?
develop commercial reusable
• MATLAB - a launch vehicles.
programming
language

• Subject
– A boom in demand for launches to
Overview low Earth orbit is predicted. These
companies also expect to serve
• Assessment new markets such as passenger
• MATLAB: An service, fast package delivery,
Introduction space station resupply, and
commercial microgravity missions.

– Over a dozen RLV designs have


been proposed specifically to foster
a market for space tourism.

– One of these companies is Kistler


Aerospace who designed the
Kistler K-1 reusable rocket. 39
Matlab : An example
• Introduction

• What does – The K-1 is powered by


programming
provide you ? modified Russian rocket
engines, provided by Aerojet,
• MATLAB - a
programming that burn LOX (liquid oxygen)
language and kerosene. Thrust is
• Subject produced when the
Overview appropriate mixture of LOX
• Assessment and kerosene is pumped into
the combustion chamber and
• MATLAB: An
Introduction ignited.

– Kistler needed to design a


control system for a rocket
fuel tank that would ensure a
continuous flow of liquid
oxygen from the pressure tank
to the turbine

40
Matlab : An example
• Introduction – Kistler used MATLAB to model, analyze,
• What does and implement a control system consisting
programming
provide you ? of a series of flow-regulating valves.
• MATLAB - a
programming
language
– An efficient and cost-effective design
• Subject
Overview process
• Assessment

• MATLAB: An
Introduction

41
Lecture Summary
• Introduction

• Introduction to the subject


• What does
programming
provide you ?

• Syllabus
• MATLAB - a
programming
language

• Assessment
• Subject
Overview

• Assessment

• MATLAB: An
Introduction
• Text books
• On-line resources
• Matlab – an introduction

42

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy