0% found this document useful (0 votes)
5 views11 pages

Pic Lab

The document outlines various flowcharts for different calculations including electricity billing, arithmetic operations, retail shop billing, weight of a steel bar, sine series evaluation, and electrical current in a three-phase AC circuit. Each section includes an aim, algorithm steps, and a result indicating that the flowchart has been drawn and verified. The algorithms detail the specific calculations and processes involved for each task.

Uploaded by

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

Pic Lab

The document outlines various flowcharts for different calculations including electricity billing, arithmetic operations, retail shop billing, weight of a steel bar, sine series evaluation, and electrical current in a three-phase AC circuit. Each section includes an aim, algorithm steps, and a result indicating that the flowchart has been drawn and verified. The algorithms detail the specific calculations and processes involved for each task.

Uploaded by

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

Ex. No.: 1.

A
ELECTRICITY BILLING
Date:

Aim:
To draw a Flowchart for calculating Electricity Bill.
Algorithm:
1. Read the number units consumed as units
2. For 0 to 100 units the per unit is ₹ 0/-
3. For 0 to 200 units, for the first 100 unit the per unit cost is zero and the next
100 units, the consumer shall pay ₹ 1.5 per unit.
4. For 0 to 500 units, the consumer shall pay ₹ 0 for the first 100 units, for the
next 100 units the consumer shall pay ₹ 2 per unit, for the next 300 units the
unit cost is ₹3.00/-
5. For above 500 units, the consumer shall pay ₹ 0 for the first 100 units, for
the next 100 units the consumer shall pay ₹ 3.50 per unit, for the next 300
units the unit cost is ₹4.60/- and for the remaining units the unit cost is
₹6.60/-
6. Calculate amount as per step 2 to step 6
7. Display the total amount as amount
Flowchart:

Result:
Flowchart for Electricity Bill Calculation has been drawn and verified.
Ex. No.: 1.B
ARITHMATIC OPEARTION
Date:

Aim:
To draw a Flowchart for finding addition of two numbers

Algorithm:
1. start the algorithm
2. Read the inputs number1,number2
3. Calculate sum as addition of number1 and number2
4. Display the result sum
5. End the algorithm

Flow chart
Result:
Flowchart for finding addition of two numbers has been drawn and verified.
Ex. No.: 1.C
RETAIL SHOP BILLING
Date:

Aim:
To draw a Flowchart for Retail Shop Billing.
Algorithm:
1. Start the algorithm
2. Assign tax as 0.18
3. Display the available items
4. Read rate of item , quantity purchased
5. Calculate cost as sum of rate of item multiplying with quantity
6.Calculatebill amount as sum of cost with (cost * tax)
7. Display bill amount
8. Stop the algorithm
Flowchart

Start

Tax=0.28

Display
Items,Rate_of_ite

Read Quantity

Cost = (Rate_of_item * quantity) + (Rate_of_item *


quantity) + …………..

Bill Amount = cost + cost * tax

Print Bill Amount

Stop

Result:

Flowchart for Retail shop Billing has been drawn and verified.
Ex. No.: 1.D
WEIGHT OF A STEEL BAR
Date:

Aim:
To draw a Flowchart for calculating the weight of a Steel Bar.
Algorithm:
1. start the algorithm
2. Read the input as diameter D of the steel bar
3.Claculate weight w as (D*D) divided by 162
4.Print the result w
5.stop the algorithm
Flowchart:

Result:
Flowchart for calculating weight of a steel bar has been drawn and verified.
Ex. No.: 1.E
SINE SERIES
Date:

Aim:
To draw a Flowchart for evaluating sine series.
Flowchart:

Start

Read x, n

x = x * 3.14/ 180
t=x
sum = x

i=1; i<=n; i++

t =(t*(-1)*x*x)/(2*i*(2*i+1));
sum=sum+t;

Print sum as sin(x)

Stop

Result:
Flowchart for Sine series has been drawn and verified.
Ex. No.: 1.F
COMPUTE ELECTRICAL CURRENT IN THREE
PHASE AC CIRCUIT
Date:

Aim:

To draw a Flowchart for calculating the electrical current in three phase AC


circuit.
Flowchart:

Result:
Flowchart for calculating the electrical current in three phase AC circuit has
been drawn and verified.

You might also like