Got Homework?
Connect with other students for help. It's a free community.
Here's the question you clicked on:
 0 viewing
dsabalete
Group Title
I am doing the last tasks for "Python week 3" (MOOC). I don't understand the exercise 2.3.
We have to write a function "multadd" that takes 3 params (a, b, c) and return a*b+c. That part is easy, but in the following part of the exercise we have to compute a pair of expressions and we must do it with our "multadd" function. I don't understand how can I do it!
 one year ago
 one year ago
dsabalete Group Title
I am doing the last tasks for "Python week 3" (MOOC). I don't understand the exercise 2.3. We have to write a function "multadd" that takes 3 params (a, b, c) and return a*b+c. That part is easy, but in the following part of the exercise we have to compute a pair of expressions and we must do it with our "multadd" function. I don't understand how can I do it!
 one year ago
 one year ago

This Question is Closed

andrew.m.higgs Group TitleBest ResponseYou've already chosen the best response.0
Hi there, I was also a little puzzled. I just passed 1 to a so it did not change the value of the other two params being added together. How this helps with your problem.
 one year ago

peterdb Group TitleBest ResponseYou've already chosen the best response.1
I rewrote the equations in the form a*b + c then entered each part of the equation as parameters (a, b, c) the first will look like print multadd(0.5, math.cos(math.pi/4), math.sin(math.pi/4)) I hope it's correct , it gave the same answer as the printed one.
 one year ago
See more questions >>>
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.