Answer:
- from math import cos
- from math import sin
Step-by-step explanation:
To import only a specific function from a module, we can use a syntax as follows:
- from module import function_name
Once the specific function imported from the module, we can directly invoke the function in our code as follows:
Please note this is not necessary to call the function by preceding the function name with math module (e.g. math.xxx). Hence, this approach also help to reduce the code redundancy.