Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Lab Exercise: Algorithm & Flowchart for Temp Conversion, Circle Area & Perimeter, Simple I, Lab Reports of Physics

Numerical MethodsProgramming LanguagesMathematics for Engineering and Computer ScienceData Structures and Algorithms

Algorithms and flowcharts to solve various mathematical problems, including converting temperature from celsius to fahrenheit, finding the area and perimeter of a circle, calculating simple interest, and comparing two or three numbers. Students can use these solutions as a reference for their programming assignments or projects.

What you will learn

  • What is the formula to find the area of a circle using an algorithm and flowchart?
  • How to find the smallest number among two using an algorithm and flowchart?
  • How to calculate simple interest using an algorithm and flowchart?
  • How to convert temperature from Celsius to Fahrenheit using an algorithm and flowchart?

Typology: Lab Reports

2020/2021

Uploaded on 11/01/2021

Tiel02
Tiel02 🇵🇭

5 documents

1 / 4

Toggle sidebar

Related documents


Partial preview of the text

Download Lab Exercise: Algorithm & Flowchart for Temp Conversion, Circle Area & Perimeter, Simple I and more Lab Reports Physics in PDF only on Docsity! LABORATORY EXERCISE NO. 2: PROGRAM METHODOLOGIES Practice. 1. Design an algorithm and flowchart to convert temperature from Celsius to Fahrenheit. Algorithm Flowchart -Start -Read Celcius (C) -Compute Fahrenheit (F) as (Cx9/5)+32 -Write (Display) Fahrenheit -Stop Read C i F = (Cx9/5) +32 2. Design an algorithm and flowchart to find the area and perimeter of a circle. Algorithm Flowchart -Start -Read radius (r) -Set Pi (m)=3.14 -Compute Area (A)of acircleasmxrxr -Compute Perimeter (P) of acircleas2xnmxr -Write (Display) Area and Perimeter -Stop Read r : 71=3.14 A= Xrxr P=2xxr i 3. Design an algorithm and flowchart to find simple interest. Algorithm Flowchart -Start -Read Principal Amount (P), Rate of interest (r), and Time period (t) -Compute for Simple Interest (SI) asPxrxt -Write (Display) Simple Interest -Stop SlEPxrxt |
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved