Top Banner
Computer Programming (TKK-2144) 13/14 Semester 1 Instructor: Rama Oktavian Email: [email protected] Office Hr.: M.13-15, W. 13-15 Th. 13-15, F. 13-15
20

Computer Programming (TKK-2144)

Feb 25, 2016

Download

Documents

pippa

13/14 Semester 1. Computer Programming (TKK-2144). Instructor: Rama Oktavian Email: [email protected] Office Hr.: M.13-15, W. 13-15 Th. 13-15, F. 13-15. Outlines. 1. Introduction to Microsoft Excel. 2. Introduction to Spreadsheet. Microsoft Excel. Microsoft Excel 2007. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Computer Programming (TKK-2144)

Computer Programming(TKK-2144)

13/14 Semester 1

Instructor: Rama OktavianEmail: [email protected] Hr.: M.13-15, W. 13-15 Th. 13-15, F. 13-15

Page 2: Computer Programming (TKK-2144)

Outlines

1. Introduction to Microsoft Excel

2. Introduction to Spreadsheet

Page 3: Computer Programming (TKK-2144)

Microsoft Excel

• Lesson 1: What’s changed, and why• Lesson 2: Get to work in Excel

Microsoft Excel 2007

Page 4: Computer Programming (TKK-2144)

What’s changed, and whyYes, there’s a lot of change in Excel 2007. It’s most noticeable at the top of the window.

But it’s good change.

The commands you need are now more clearly visible and more readily available in one control center called the Ribbon.

Page 5: Computer Programming (TKK-2144)

What’s on the Ribbon? The three parts of the Ribbon are tabs, groups, and commands.

1

2

3

Tabs: Tabs represent core tasks you do in Excel. There are seven tabs across the top of the Excel window.

Groups: Groups are sets of related commands, displayed on tabs.

Commands: A command is a button, a menu, or a box where you enter information.

Page 6: Computer Programming (TKK-2144)

A new viewTo see the new view, click Page Layout View on the View toolbar .

1

2

3

Column headings.

Row headings.

Margin rulers.

Here’s what you’ll see in the worksheet:

Page 7: Computer Programming (TKK-2144)

Microsoft ExcelThe Basics – Cell editing

A1

Page 8: Computer Programming (TKK-2144)

Introduction to Excel

In each cell there may be the following types of data • text (labels)• number data (constants)• formulas (mathematical equations that do all

the work)

Page 9: Computer Programming (TKK-2144)

Introduction to Excel

Page 10: Computer Programming (TKK-2144)

Introduction to ExcelWorking with formula

Formulas ALWAYS begin with an = sign. This “tells” Excel that a calculation will need to be performed.

Page 11: Computer Programming (TKK-2144)

Introduction to ExcelWorking with formula

The symbols for the operations are not all the same.

So to calculate 3x4

You would enter =3*4

And the spreadsheet would show “12”. (That’s the answer!)

Maths Symbol

Spreadsheet Symbol

+ +

- -

X *

÷ /

Page 12: Computer Programming (TKK-2144)

Introduction to ExcelWorking with formula

Using Built-in Functions• While editing a cell, choose Insert→Function, or click the function button

Page 13: Computer Programming (TKK-2144)

Introduction to ExcelFormatting cells

Fixed format

0.1 10%

0.13 1.3e-01

Useful for large text

Page 14: Computer Programming (TKK-2144)

Introduction to SpreadsheetWhat is a Spreadsheet?

A program that allows you to use data to forecast, manage, predict, and present information.

Page 15: Computer Programming (TKK-2144)

Introduction to SpreadsheetSpreadsheet uses

School: Student grades, payroll

Sports: individual and team statistics

Personal: checkbook, household expenses

Business: payroll, investments

Page 16: Computer Programming (TKK-2144)

Introduction to SpreadsheetSpreadsheet uses

Fact: the spreadsheet program, and primarilyMicrosoft Excel, is the most common computingtool used by the practicing chemical engineer.

Page 17: Computer Programming (TKK-2144)

Introduction to SpreadsheetTypes of ChE calculations carried out using Excel

General, small-scale, day-to-day calculations formula-based calculations data manipulation, graphics & statistics what-if scenarios and case studies

Flowsheet calculations material & energy balances vapor-liquid equilibrium chemical equilibrium & reaction kinetics detailed design of process equipment

Financial calculations project economics profit/cost optimization

Page 18: Computer Programming (TKK-2144)

Introduction to SpreadsheetProblem-solving capabilities of Excel

Advanced techniques use of Visual Basic for Applications [VBA] use of add-in products

[Solver, . . .] communication with other programs

[HYSYS, LabView, . . .]

Evaluation of engineering formulas Data handling and graphics Solution of algebraic equations Solution of differential equations Optimization calculations Applied statistics

Page 19: Computer Programming (TKK-2144)

Introduction to SpreadsheetExample Problem: Felder & Rousseau, 4.6-5Dehydrogenation of Propane

3 8 3 6 2C H C H H 95% overall conversionof propane

Separator produces 2 streams:Product: H2, C3H6,

0.555% of C3H8 leaving reactorRecycle: balance of unreacted C3H8

5% of C3H6 in Product stream

ReactorSep-ara-tor

Product

Recycle

Feed

Page 20: Computer Programming (TKK-2144)