ΣνΜDr. Sharon's Math PlatformSyvara Learning
</>

Programming for Engineers

Introduction to Python programming using AI tools (GitHub Copilot) and VS Code. Covers Python basics through data visualization and a final interactive project.

Q6
Python: function my_trig returning multiple values with docstring
Define a Python function my_trig(a, b) that returns three values: 1. out1 = sin(a) + cos(b) 2. out2 = sin(b) + cos(a) 3. A list [out1, out2] Include a…
Functions 🟢 Intro 🔒 $2.99
Q7
(a) Define a lambda function called square that takes one argument and returns its…
(a) Define a lambda function called square that takes one argument and returns its square. Test with inputs 2 and 5. (b) Write an equivalent named function…
Functions 🟢 Intro 🔒 $2.99
Q8
In Python, functions are first-class objects — they can be passed as arguments to other…
In Python, functions are first-class objects — they can be passed as arguments to other functions. Write a function my_fun_plus_one(f, x) that takes a…
Functions 🟡 Intermediate Free with account
Working…