Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am coding a program in python that would be able to take two user inputs of pH and TSS (total suspended solids). tss= int(input(What

I am coding a program in python that would be able to take two user inputs of pH and TSS (total suspended solids).

tss= int(input("What is your TSS? ")) pH= float (input("What is your pH")) Coag_dose = (tss//100)*40 if tss<= 100 and pH>=6: print ("TSS is in acceptable range") elif pH<6: print ("ph is too low, stop operations and adjust ph to 6.0 or greater using caustic) elif>11: print ("pH is too high, stop operations and adjust pH to 10 or less using acid") else: print("Set coagulant feed rate to", Coag_dose, "PPM")

this is what i have so far. I need it to tell the user to turn acid pH control on at a pH of 7.5-11. and to turn caustic pH control on at a pH of 6-6.5 and if the pH is below 5 and above 11 to stop operations and adjust pH to 6-6.5 using either caustic or acid, depending on the pH. It also needs to have two imbedded functions Any help?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions

Question

Define consistency.

Answered: 1 week ago

Question

5. Discuss the key components of behavior modeling training.

Answered: 1 week ago