Engineers have a responsibility to ensure safety and manage risk. They must consider how their designs could harm people and work to make their products safe based on an acceptable level of risk. Risk analysis involves identifying hazards, assessing consequences, and controlling risks. Engineers must balance safety and cost. They also face uncertainties in design and changing conditions that require risk assessments. Regarding the environment, engineers should aim to minimize harm and promote sustainability based on approaches like utilitarianism or environmental ethics. Computer ethics similarly focuses on policies for technology's social impact and unethical uses of computers.