final process design - J an 010 ASSIGNMENT: SCRIPTS,...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Jan 010 ASSIGNMENT: SCRIPTS, FUNCTIONS & GRAPHICS Modelling and Simulation Course Supervisors: Edwin Zondervan Mathieu Westerweele Maria Toledo Perez
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Scripts, Rahul Patil Nikola Zotovic Objective The assignment is divided in two parts. The Matlab program is used to obtain the objectives. - Part 1: Creating and executing a program that converts an input speed in knots to an output speed in miles per hour. - Part 2: Solving a differential equation of free fall with linear friction by an approximate method. Also, we had to make a graphical comparison with the exact solution (analytical) of the equation. Part 1: Script-file creation exercise - M-file: % % %Speed conversion of knots in miles per hour % velo_knot=input( 'Put_velocity_in_knots= ' ) velo_mph=1.151*velo_knot disp( '' );fprintf( '\n Speed of %f knots = %f mph\n' ,velo_knot,velo_mph) - Results: Put_velocity_in_knots= 35 velo_knot =35 velo_mph =40.2850 Speed of 35.000000 knots = 40.285000 mph *Program has been saved under the name: “Assignment2part1.m” 2
Background image of page 2
Scripts, Part 2: Approximate analysis of a differential equation - M-file: %
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/18/2010 for the course CHEMICAL E 121 taught by Professor Rahul during the Spring '10 term at Punjab Engineering College.

Page1 / 7

final process design - J an 010 ASSIGNMENT: SCRIPTS,...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online