Docsity

Logic and Problem Solving, Exercises of Mathematical logic

Partial preview of the text

Download Logic and Problem Solving and more Exercises Mathematical logic in PDF only on Docsity!

Logic and Problem Solving MA4001NT 30% Group work Submitted by; Submitted to; Muskan Bajracharya (18028909) Mr. Vivek Hamal Sir Ngamesh Raj Bhandari (18028912) Module Leader Rashib Acharya (1 8028963 ) Group 27 Date: 19 th^ May 2019

Acknowledgement

Logic and Problem Solving has been an interesting module from the beginning of the semester till the near-end. The module contains large amount of mathematical calculations / operations and logical operations that make it more interesting to study and practice every time. Thanks to our module leader Mr. Vivek Hamal Sir for introducing the coursework to us as a group work and giving us help and support throughout our research work to complete the problem successfully. We would like to express our deep and sincere gratitude to our respected personalities for providing us the support and help to do research and providing invaluable guidance throughout this coursework completion. Their dynamism, vision, sincerity and motivation have deeply inspired us. They have taught us the methodology to carry out the research and to present the work as clearly as possible. It was a great privilege and honor to work and study under their guidance. We would also like to thank them for their friendship, empathy, and great sense of humor. We are extending our earnest thanks their family for their clam acceptance and patience throughout the discussion we tend to had with them on analysis of the work and problem solving. We are extremely grateful to our parents for their love, caring and sacrifices for educating and preparing us for our future. Also, we are very much thankful for their continuing support to complete this research work. Finally, my thanks move to all those who have supported us to complete the analysis work directly or indirectly.

Problems

Problem 1

The overall calculations are done in Microsoft Excel which is shown below with proper details and formulas. Figure 1 Calculating tax in excel sheet Formulas used in Microsoft Excel Table 1: Formulae used in excel sheet to calculate the tax Tax Bracket Tax Slab Tax Rate Tax Amount Amount Left After Tax 0 60000

=B9-

a

a

20% =IF(C9>B6,B6D9,C9D9) =E9+E10+E

=B1 0 -

A

35% =IF(C10>F9,F9D10,D10C10)

=IF(C10>F9,0,F9-

C10)

200000 Above

=B11-

A

40% =IF(C11>F10,F10D11,D11C11)

=IF(C11>F10,0,F10-

C11)

Total Tax =E9+E10+E Monthly Tax =E12/ Total Amount Left After Tax =F9+F10+F 11

Tax (30000) Total Tax: 6000 Total Amount Left After Tax: 0 Figure 2 Tax calculation of 30000 pound Tax (125000) Total Tax: 34750 Total Amount Left After Tax: 65000 Figure 3 Tax calculation of 125000 pound

Tax (267000) Total Tax: 87800 Total Amount Left After Tax: 274000 Figure 4 Tax calculation of 267000 pound Tax (19500) Total Tax: 3900 Total Amount Left After Tax: 0 Figure 5 Tax calculation of 19500 pound

Problem 2 Part A

The White Castle Company manufactures three products A, B and C whose contribution to the profit is 3 pounds, 5 pounds and 2 pounds per unit respectively. The processing time of A, B and C are 10, 10 and 5 minutes per unit respectively with the machines processing time 4800 minutes each week. Firm orders are 150 units of A and 100 units of C for the week. Problem Analysis Figure 8 Linear Programming Model

Solution, 3 products A, B and C are manufactured. Their contribution to the profit is 3 pounds, 5 pounds and 2 pounds per unit respectively. Let the contribution to the profit be 3a, 5b and 2c respectively for A, B and C. The sales department has firm orders for 150 units of A and 100 units of C. Time required for A, B and C are 10, 10 and 5 minutes per unit respectively. Let the time required for all units of A, B and C be 10a, 10b and 5c respectively. Total processing time available is 4800 minutes. Let A 1 and A 2 be artificial variables to be used as: a + A 1 = 150 --------------------(ii) c + A 2 = 100 --------------------(iii) Let S 1 be slack variable to be used as: 10a + 10b + 5c + S 1 = 4800 --------------------(iv) Decision Variable Let the number of units of A, B and C be a, b and c respectively. Objective Variable Total Profit = (3 * unit of A) + (5 * unit of B) + (2 * unit of C) Let, z = (3a) + (5b) + (2c) Maximize z = 3a + 5b + 2c --------------------(i) Constraint 10a + 10b + 5c <= 4800 (time constraint) a = 150 (A’s order constraint) c = 100 (C’s order constraint) a, b, c >= 0 (Non-negative constraint)

Simplex Table II Table 2 Simplex Table II z a b c A 1 A 2 S 1 Constant Common Ratio R 0 1 - 13 - 5 - 12 0 0 0 - 2500 -

new R 1 = old R

new R 1 = old R new R 1 = old R 1 – 0 (R 2 )

R 3 0 10 10 5 0 0 1 4800 4800/10 = 480

Key Row = a Key Column = R 1 Key Element = 1 Then, new R 1 = old R 1

z

a - 13

b 10 - 5 (0)

c 5 - 5 (1)

A 1 0

A 2 0 - 5 (1) -

S 1 0

Constant - 2500

new R 2 = old R 2 – 0 (R 1 )

Then,

new R 1 = old R 1 – 0 (R 3 )

  • Problems
    • Problem
      • Formulas used in Microsoft Excel
      • Formulas used to calculate the tax
      • Tax (30000)
      • Tax (125000)
      • Tax (267000)
      • Tax (19500)
      • Tax (53750)
      • Tax (-16705)
    • Problem 2 Part A
      • Problem Analysis
      • Solving problem using Excel Solver
      • Memorandum
    • Problem 2 Part B
    • Problem
  • Meeting-log
    • 1st meeting log
    • 2 nd Meeting Log
    • 3 rd Meeting Log.........................................................................................................
    • 4 th Meeting Log
  • Evidences
    • Problem 2 Part A
    • Problem 2 Part B
    • Problem
  • Table 1 Simplex Table I.................................................................................................. List of Tables
  • Table 2 Simplex Table II.................................................................................................
  • Table 3 Simplex Table III..............................................................................................
  • Table 4 Simplex Table IV
  • Table 5 Simplex Table V
  • Figure 1 Calculating tax in excel sheet List of Figures
  • Figure 2 Tax calculation of 30000 pound
  • Figure 3 Tax calculation of 125000 pound
  • Figure 4 Tax calculation of 267000 pound
  • Figure 5 Tax calculation of 19500 pound
  • Figure 6 Tax calculation of 53750 pound
  • Figure 7 Tax calculation of (-16705) pound
  • Figure 8 Linear Programming Model
  • Figure 9 solving the problem in Excel Solver
  • Figure 10 Answer Report of problem using Excel Solver
  • Figure 11 Sensitivity Report using Excel Solver
  • Figure 12 Limit Report using Excel Solver
  • Figure 13 Graph of the equations
  • Figure 14 Screenshot of Plotting the Revenue and cost function in online graph
  • Figure 15 Attendance Sheet Meeting I
  • Figure 16 Attendance Sheet Meeting II
  • Figure 17 Attendance Sheet Meeting III
  • Figure 18 Attendance Sheet Meeting IV.......................................................................
  • Figure 19 Screenshots of Problem 2 Part A
  • Figure 20 Screenshots of Problem 2 Part B
  • Figure 21 Screenshots of Problem
  • new R 2 = old R
  • z
  • a
  • b
  • c
  • A
  • A
  • S
  • Constant
  • z 1 + 13(0) new R 0 = old R 0 + 13 (R 1 )
  • a - 13 + 13 (1)
  • b - 5 + 13 (0) -
  • c - 12 + 13 (0) -
  • A 1 0 + 13 (1)
  • A 2 0 + 13 (0)
  • S 1 0 + 13 (0)
  • Constant - 2500 + 13 (150) -
  • new R 2 = old R
  • z
  • a
  • b
  • c
  • A
  • A
  • S
  • Constant
  • z 1 + 1 2 (0) new R 0 = old R 0 + 12 (R 2 )
  • a 0 + 12 ( 0 )
  • b - 5 + 12 (0) -
  • c - 12 + 1 2 ( 1 )
  • A 1 13 + 1 2 ( 0 )
  • A 2 0 + 1 2 ( 1 )
  • S 1 0 + 12 (0)
  • Constant - 550 + 12 (100)
  • new R 1 = old R new R 1 = old R 1 – 0 (R 2 )
  • z
  • a
  • b
  • c
  • A
  • A
  • S
  • Constant
  • z 0 - 5 (0) new R 3 = old R 3 – 5 (R 2 )
  • a 0 - 5 ( 0 )
  • b 10 - 5 (0)
  • c 5 - 5 (1)
  • A 1 - 10 - 5 (0) -
  • A 2 0 - 5 (1) -
  • S 1 1 - 5 (0)
  • Constant 3300 - 5 (1 00 )
  • new R 1 = old R
  • z
  • a
  • b
  • c
  • A
  • A
  • S
  • Constant
  • z 1 + 5 (0) new R 0 = old R 0 + 5 (R 3 )
  • a 0 + 5 (0)
  • b - 5 + 5 ( 1 )
  • c 0 + 5 ( 0 )
  • A 1 13 + 5 (- 1 )
  • A 2 12 + 5 (-1/2) 19/
  • Constant 650 + 5 (280) S 1 0 + 5 (1/10) ½

z 1 + 5 (0) new R 0 = old R 0 + 5 (R 3 )

new R 2 = old R 2

z

a

b

c

A 1 0

A 2 1

S 1 0

Constant

Simplex Table V Table 5 Simplex Table V z a b c A 1 A 2 S 1 Constant R 0 1 0 0 0 8 19/2 ½ 2050 R 1 0 1 0 0 1 0 0 150 R 2 0 0 0 1 0 1 0 100 R 3 0 0 1 0 - 1 - 1/2 1/10 280 Here, the values of R0 are all greater or equal to 0 except for z, variables and constant. So we got the results as: z = 2050 a = 150 b = 280