YEAR SUMMER 2019 EXAM LEVEL: Bachelor Deadline: COURSE: ICT 2130 Programming in Python 10th October 2019 Lecturer: MOUTLEN Albert, Engineer. TOTAL:...
View the step-by-step solution to:

Question

# <pre class="ql-syntax">PLEASE NEED <span class="hljs-keyword">HELP</span>

<span class="hljs-keyword">IN</span> THIS TWO PAPERS </pre>

YEAR SUMMER 2019 EXAM LEVEL: Bachelor Deadline: COURSE: ICT 2130 Programming in Python 10th October 2019 Lecturer: MOUTLEN Albert, Engineer. TOTAL: 60 marks Instructions: This assignment should be done in groups consisting of TWO students or less. Your
end results should be PRESENTED by ALL the group members on the 10th October 2019 at
8:00am. Exercise 1: A pathological function 5 Marks The aim is to construct a function that from the first view seems to be regular, meanwhile it is
not.
a) Using Sympy, calculate and graphically represent the function : ℝ → ℝ defined by:
100 () = ∑
=1 sin( 2 )
5 b) calculate the first and second derivative of and represent both graphically. What can
you conclude? Exercise 2: Numerical Integration and Differential Equations 15 Marks a) Import the function optimize from the module scipy to resolve the equation cos = .
b) Use the function integrate of the module scipy to come out with an estimate of . = ∙ with = ∫ √ − and = ( − √
) / with = ∫ √ − Compare the results obtained.
c) Use the function integrate of the module scipy to draw the graph of the solutions to the
following differential equations:
➢ ′ () = 1 + 2 ∙ ()2 ➢ { = = 2 − − 3 ➢ 2 ′′ () + ′ () + ( 2 − 2 )() = 0, you may take = 0.5
Page 1/3 You should obtain the following curves Exercise 3: Electricity Bill App 40 Marks We wish to build a desktop GUI application (using tkinter or PyQt or PySide) that will help us
obtain the electricity bill of an individual.
If no taxes are included, we have: ℎ ℎ = ℎ ∗ ℎ
We shall assume in this problem that we are dealing with residential homes.The cost per kWh is
selected as follows for such homes:
Constraint Cost per kWh in FCFA Consumptions below or equal to 110 kWh 50 Consumptions between 111 kWh and 400 kWh 79 Consumptions between 401 and 800 kWh 94 Consumptions between 801 and 2000 kWh 99 Household consumers of electricity shall be exempted from value-added tax (VAT) if their
consumption does not exceed 220 kWh monthly. Else, consider VAT = 19.25%. Neglect other
forms of taxes in your calculations e.g. meter rent. Page 2/3 Your application should show the logo of the university and the name of the group participants.
It should prompt the user to insert the name of the client, his residence location, the previous
Your application should yield as result the following:
- The amount in FCFA - A curve or histogram illustrating the consumption trend of the last six months (current
month exclusive). - A database which illustrating the client’s consumption (in FCFA and kWh) for the last
six months (current month exclusive). E.g. - Month Units of kWh Amount in FCFA Aug-19 333 31371 Jul-19 354 33349 Jun-19 105 5250 May-19 … … Apr-19 … … At the end, your application should generate a report containing all the useful information
in an excel spread sheet. You are free to design the layout and presentation style for the graphical user interface. GOOD LUCK Page 3/3

### Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

### -

Educational Resources
• ### -

Study Documents

Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

Browse Documents