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

PSPP Lab Exp 1a-1f

Uploaded by

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

PSPP Lab Exp 1a-1f

Uploaded by

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

EX NO:1A IDENTIFICATION AND SOLVING OF SIMPLE REAL LIFE PROBLEMS

ELECTRICITY BILLING
ecord Notes
DATE:

AIM
To write an algorithm and flowchart to solve compute Electricity billing.
Ac circuit.

FLOWCHART

RESULT

Thus an algorithm and flowchart for electricity billing has been produced successfully.
EX NO:1B

RETAIL SHOP BILLING


DATE:

AIM

To write an algorithm and flowchart to solve retail shop billing.

ALGORITHM

Step1: Start
Step2: Update the list of items purchased on database
Step3.If shopping complete means calculate total
Step4: If shopping not completed purchase remaining items
Step4: Cash payment is done after calculating the total amount
Step5: Stop
FLOWCHART
Start

Purchase Items

No

Yes
Shopping
yes
complete

Yes
Calculate total

Cash payment

Stop

RESULT

Thus an algorithm and flowchart for retail shop billing has been produced successfully.
EX NO:1C

SINE SERIES
DATE:

AIM

To write an algorithm and flowchart to solve Sin series.

ALGORITHM

Step 1:Start
Step 2: Read x,n
Step 3:Calculate x=x*3.14159/180
Step 4: t=x
Step 5 : Sum=x
Step 6: Check condition using While i<=n
Step 7: t=t*(-1)*x*x)/(2*i*2i+1))
Step 8 : sum=sum+t
Step 9 :i=i+1
Step 7: Print y,sum
Step 3: Stop
FLOWCHART

RESULT

Thus an algorithm and flowchart for sine series has been produced successfully.
EX NO:1D

WEIGHT OF MOTOR BIKE


DATE:

AIM

To write an algorithm and flowchart to solve Weight of a motor bike.

ALGORITHM

Step 1:Start
Step 2:Heigt=Input "Height in Feet"
Step 3:Weight=Input "weight in Kilogram"
Step 4:x=(Weight/Height*Height)
Step 5:Print "Motor bike weight"-->x
Step 6:Stop
FLOWCHART
Start

Input Height, Weight

yes

x=(Weight/Height*Height)

Print Motor bike


weight, x

Stop

RESULT

Thus an algorithm and flowchart for weight of motor bike has been produced successfully.
EX NO:1E

WEIGHT OF STEEL BAR


DATE:

AIM

To write an algorithm and flowchart to solve weight of a Steel Bars.

ALGORITHM

Step1:start

Step2:Read the variables Diameter and length need to calculate the weight.

Sep3:computethe weight using formula W=D^2*L/162

Step4: Print the weight of steelbar

Step5:stop
FLOWCHART

Start

Read the variables D,L

W=D^2*L/162

PRINT WEIGHT

STOP

RESULT

Thus an algorithm and flowchart for above program has been produced successfully.
EX NO:1F

ELECTRIC CURRENT THREE PHASE AC CIRCUIT


DATE:

AIM

To write an algorithm and flowchart to solve weight of a Steel Bars.

ALGORITHM

Step1:start

Step2:Read the variables Diameter and length need to calculate the weight.

Sep3:computethe weight using formula W=D^2*L/162

Step4: Print the weight of steelbar

Step5:stop

FLOWCHART

Start

Read the variables D,L

W=D^2*L/162

PRINT WEIGHT

STOP
RESULT

Thus an algorithm and flowchart for above program has been produced successfully.
AIM

To write an algorithm and flowchart to solve simple real life problems for electric current three phase
Ac circuit.

ALGORITHM

Step1: Start
Step2: Read the variables P,V and PF values
Step3: Assign the values to variables
Step4: Compute the electric current for three phase AC circuit using
Formula : I = P/(V * PF * 1.73)
Step5: print the electric current I Value
Step 6: Stop

FLOWCHART
start

Read the variables P,V and PF

I= P/(V * PF * 1.73)

Print I

end

RESULT Thus an algorithm and flowchart for above program has been produced successfully.

You might also like