Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started