KOL答疑– FAQ:UNSW 1811 Python Assignment 2: Simulation and Design of Biofuel Production

以下为ass2 的题目,答疑专区在最后区域,请拉至后面区域查看精彩问答。





We often think bacteria are bad. The truth is that there are many different types of bacteria in this world. Some bacteria are harmful to humans but some bacteria in our bodies help us to live. Have you ever considered the possibility that bacteria can also be “factory workers”? Engineers and scientists are working on using bacteria to produce certain chemicals and materials. An example is to use bacteria to produce fuel for us. In engineering, we often want to optimise the process, so we may want to make the bacteria to produce as much fuel as possible in a given time. However, there are often constraints in nature. The truth is that fuel is toxic to bacteria, so we need to find a way for the bacteria to make a lot of fuel but at the same time keep them alive! This biofuel production process is the theme of this assignment.

Read More







提问者:有个问题关于matlab的,可以帮我看看吗? Read More

UNSW 1811 Engneering Programme- python Questions &Answers

The pattern detection problem

In this assignment, your goal is to write a python program to determine whether a given pattern appears in a data series, and if so, where it is located in the data series. This type of problems is very common in many disciplines, including computer science, engineering, medicine and science. There are many different types of pattern detection problems, the setting of this assignment is similar to that used in radars.  A radar transmits a pulse of a specific shape and waits for a pulse of similar shape to return, in order to determine the position of an object. The method described below is known as matched filtering and is widely used in communication systems. This means your mobile phones perform the same type of calculations that you will be programming below!

Learning objectives

By completing this assignment, you will learn:

  1. To apply programming concepts of variable declaration, constant declaration, assignment, selection and iteration (for loop).
  2. To translate an algorithm described in a natural language to a computer language.
  3. To organize programs into smaller modules by using functions.
  4. To use good program style including comments, meaning variable names and others.
  5. To get a practice on software development, which includes incremental development, testing and debugging.

Read More