Objectives
- Git: Successfully submit your assignment for autograding.
- C++: Compute the current of the given circuit using C++ code.
- Utilise well defined variables
- Utilise appropriate arithmetic operations
Question
Determine using C++ code the current flowing through the circuit below.
Hint: You may use the formula below;
- Test your solution using the scenarios below;
- R1 = 50, R2 = 20, R3 = 35
- R1 = 10, R2 = 90, R3 = 45
- Compare the results of your code with the expected calculated values.
Deadline
21th October 2022, 11:59 PM.
Guidelines
- This is a group assignment
- Maximum group size is 5
- Decide your group members before joining the assignment and create a group on the page afterwards.
- One member is needed to make a group and the rest are required to join that group.
- Uniquely name your group (Advised to use the name of one group member to avoid repetition of names)
- Only one member is needed to submit on behalf of the group, however, all members have the ability to submit.
Assignment Registration
- Join the assignment page;