You are on page 1of 3

TITLE: CALCULATING TO FIND THE VALUE FOR AREA, VELOCITY AND HEADLOSS IN PIPE

Our project is Determine value of head loss in pipe, to find head loss we need to find area and velocity first. We need to calculate how we can get the answer for the head loss by using computer programming. We get this title for our project is from research by internet. In this project, we are going to explain how to use the computer programming (C++) to finish our project. We are doing this project in in a group, below is our personal details:

HARIF BIN RADZUAN MUHAMMAD BADRUDDIN BIN YUSOF NURHANIEAH BT MOHD FAUZI MUHAMMAD AMIN BIN AB GAFFAR

CD110243 CD110072 CD070082 CD110161

INTRODUCTION

Computer is an amazingly creation but incredibly stupid machine. A computer can do anything you tell it (within reason), but it does exactly what its told nothing more and nothing less. Perhaps unfortunately, computers dont understand any reasonable human language they dont speak Malay or English. Computers understand a language variously known as computer language or machine language. Its possible but extremely difficult for humans to speak machine language. Therefore, computers and humans have agreed to sort of meet in the middle, using intermediate languages such as C++. Humans can speak C++ (sort of), and C++ is converted into machine language for the computer to understand.

Computers work by executing a series of simple instructions, but, fortunately, programmers no longer need to write programs at such a low level. Special languages, called programming languages, have been developed that allow ideas to be expressed much more easily. It is up to an intermediate program, called a compiler, to translate ideas written in a programming language into a series of simple instructions that the computer can understand. Computer programming is the process of designing, writing, testing, debugging or troubleshooting and maintaining the source code of computer programs. This source code is written in a programming language by using the cording. The purpose of programming is to create a program that exhibits a certain desired behavior. The process of writing source code often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.

A programming language is an artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine, to express algorithms precisely, or as a mode of human communication. The earliest programming languages predate the invention of the computer, and were used to

direct the behavior of machines such as Jacquard looms and player pianos. Thousands of different programming languages have been created, mainly in the computer field, with many more being created every year. Most programming languages describe computation in an imperative style, i.e., as a sequence of commands, although some languages, such as those that support functional programming or logic programming, use alternative forms of description. A programming language is usually split into the two components of syntax (form) and semantics (meaning) and many programming languages have some kind of written specification of their syntax and/or semantics. Some languages are defined by a specification document, for example, the C programming language is specified by an ISO Standard, while other languages, such as Perl, have a dominant implementation that is used as a reference.

You might also like