国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

G6017編程代做代寫、MATLAB編程設計代做

時間:2023-12-16  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



Program Analysis G6017
Coursework 2
Due: XVAC Week 11 Thursday 21 December 2023 by 4PM
Format: Electronic submissions only by Canvas. You should write your
answers in the blanks in your answer sheet we have provided for
you and submit this answer sheet only. If you want to do your
work in a handwritten form, please print the answer sheet, fill it
properly, and then again scan it and upload the work as a single
PDF document. No paper copies of this submission will be
accepted.
Weighting 50.0 % of the coursework element for this module
25.0 % of the overall module mark
General instructions
1. Answer all of the questions.
2. Show your workings where appropriate. You can still get credit for a question
with an incorrect final answer if your workings show that you understood what
the problem was and how to solve it.
3. Do not copy the work of another student. Plagiarism is a very serious matter.
Discussion between students is to be encouraged – copying is an academic
disciplinary matter.
4. Check that you provide any working or information that the question asks for.
5. Hand your submission in on time. There are penalties for late submission.
6. If I cannot read your submission, I cannot mark it. It is your responsibility to
ensure that the presentation of your submission is appropriate for a University
student.
7. Do not forget to state units if they are relevant and apply to a question.
8. You should use any calculating aids your feel appropriate to help you solve
the problems including, although not limited to, calculators, spreadsheets
such as Excel and MATLAB.
9. If you do not understand the questions, you can get help at the workshop
sessions.
10.This assignment is marked out of a total of 100
Q1)
This question is concerned with the design and analysis of recursive algorithms.
You are given a problem statement as shown below. This problem is concerned
with performing calculations on a sequence 𝐴 of real numbers. Whilst this could
be done using a conventional loop-based approach, your answer must be
developed using a recursive algorithm. No marks will be given if your answer
uses loops.
𝐹𝑖𝑛𝑑𝐴w**7;Ү**;w**3;𝑎𝑔Ү**;𝐴𝑛𝑑𝑃w**3;w**0;𝑑w**6;𝑐w**5;(𝑎1, … , 𝑎𝑛) such that 𝑛 > 1
Input: A sequence of real values 𝐴 = (𝑎1, … , 𝑎𝑛
).
Output:, A 2-tuple (𝑎w**7;Ү**;w**3;𝑎𝑔Ү**;, w**1;w**3;w**0;𝑑w**6;𝑐w**5;) containing the average (𝑎w**7;Ү**;w**3;𝑎𝑔Ү**;) of all the
values and the product (w**1;w**3;w**0;𝑑w**6;𝑐w**5;) of all the values of the elements in 𝐴.
Your recursive algorithm should use a single recursive structure to find the
average and product values, and should not use two separate instances of a
recursive design. You should not employ any global variables.
(a) Produce a pseudo code design for a recursive algorithm to solve this
problem.
[5 marks]
(b) Draw a call-stack diagram to show the application of your recursive
algorithm when called using the sequence = (24, 8, −4, 6, −6, 3).
[5 marks]
(c) Write down the set of recurrence equations for your recursive algorithm.
Remember that one of the equations should correspond to the recursive
algorithm base case.
[4 marks]
(d) Using the recurrence equations you gave in your answer for part (c),
determine the running time complexity of your recursive algorithm.
[6 marks]
Q2)
A piece of code implementing a recursive algorithm has been produced, and a
student has analysed the recurrences. They have produced the recurrence
equations as shown below:
𝑇(𝑛) = 𝑇(𝑛 − 3) + 2(𝑛 − 3) + 𝑐1
𝑇(3) = 𝑐2
So the recursive algorithm features a base case when the size of the problem is
𝑛 = 3. The values of 𝑐1 and 𝑐2 are constants. You should assume the initial value
of 𝑛 (the size of the problem) is divisible by 3.
Determine the running time complexity of this recursive algorithm. To get the full
marks, your analysis should be as complete as possible. To get an idea of how to
perform a complete analysis, refer to the example recursive algorithm analysis on
Canvas. You can verify your analysis by modelling the recurrence equations in a
program like Excel or MATLAB. Your answer must include:
(a) Evidence of at least two cycles of substitutions to establish the running
time function 𝑇(𝑛).
(b) A clear statement of the generalisation of that pattern to 𝑘 iterations of
the recursive step.
(c) A statement of the number of iterations required to solve a problem of
size 𝑛.
(d) A statement of the final overall running time complexity that follows
from your previous algebra.
You may find it useful to know that the formula for a sum of an arithmetic
sequence of numbers of the form (1,2,3, … . 𝑘) is given by the formula:
∑ 𝑚
𝑚=𝑘
𝑚=1
=
𝑘(𝑘 + 1)
2
[20 marks]
Q3)
This question is concerned with dynamic programming.
A bottom up dynamic programming method is to be used to solve the subset sum
problem. The problem is to find the optimal sum of weighted requests from a set
of requests 𝐴 subject to a weight constraint W. The set of weighted requests 𝐴 =
{𝛼1, 𝛼2, 𝛼3, 𝛼4, 𝛼5, 𝛼6} can be summarised as following:
Request 𝒘(𝜶𝒊)
𝛼1 2
𝛼2 2
𝛼3 1
𝛼**
𝛼5 7
𝛼6 1
The maximum weight constraint is 13.
Using the following algorithm (reproduced from the notes on Canvas):
(a) Produce a table showing the space of the problem and all of the sub
problems, and use that table to determine the optimal subset sum of
requests when the weight constraint of 13 is applied. The table should
take the form of a matrix with 7 rows (values of 𝑖 in the range 0 to 6
inclusive) and 14 columns (values of w**8; in the range 0 to 13 inclusive).
[20 marks]
Q4)
In this question, we consider the operation of the Ford-Fulkerson algorithm on
the network shown overleaf:
Each edge is annotated with the current flow (initially zero) and the edge’s
capacity. In general, a flow of w**9; along an edge with capacity 𝑦 is shown as w**9;/𝑦.
(a) Show the residual graph that will be created from this network with the
given (empty) flow. In drawing a residual graph, to show a forward edge
with capacity w**9; and a backward edge with capacity 𝑦, annotate the original
edge w**9;⃗; 𝑦**; .
[4 marks]
(b) What is the bottleneck edge of the path (w**4;, w**7;1, w**7;3, w**7;5,w**5;) in the residual
graph you have given in answer to part (a) ?
[2 marks]
(c) Show the network with the flow (w**4;, w**7;1, w**7;3, w**7;5,w**5;) that results from
augmenting the flow based on the path of the residual graph you have
given in answer to part (a).
[3 marks]
(d) Show the residual graph for the network flow given in answer to part (c).
[4 marks]
(e) What is the bottleneck edge of the path (w**4;, w**7;3, w**7;4,w**5;) in the residual graph
you have given in answer to part (d) ?
[2 marks]
(f) Show the network with the flow that results from augmenting the flow
based on the path (w**4;, w**7;3, w**7;4,w**5;) of the residual graph you have given in
answer to part (d).
[3 marks]
(g) Show the residual graph for the network flow given in answer to part (f).
[4 marks]
(h) What is the bottleneck edge of the path (w**4;, w**7;2, w**7;3, w**7;1, w**7;4,w**5;) in the residual
graph you have given in answer to part (g) ?
[2 marks]
(i) Show the network with the flow that results from augmenting the flow
based on the path (w**4;, w**7;2, w**7;3, w**7;1, w**7;4,w**5;) of the residual graph you have given
in answer to part (g).
[3 marks]
(j) Show the residual graph for the network flow given in answer to part (i).
[4 marks]
(k) Show the final flow that the Ford-Fulkerson Algorithm finds for this
network, given that it proceeds to completion from the flow rates you have
given in your answer to part (i), and augments flow along the edges
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:COMP1038代做、C/C++程序語言代寫
  • 下一篇:代做COMP2046、代寫Memory Management
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    91国在线高清视频| 国产黄视频在线| 亚洲最大av在线| 欧美久久久精品| 精品中文字幕乱| 久久成人在线视频| 久久久久久中文字幕| 久久99欧美| 日韩中文字幕在线观看| 日韩视频精品在线| 久久久久久av| 亚洲精品久久久久久一区二区 | 天天综合色天天综合色hd| 一区精品在线| 亚洲va国产va天堂va久久| 午夜精品在线视频| 日本在线视频不卡| 奇米四色中文综合久久| 欧美 日韩 国产在线观看| 国模私拍视频一区| 高清欧美精品xxxxx| 91成人在线视频观看| 国产高清自拍一区| 丝袜一区二区三区| 国产精品色午夜在线观看| 久久香蕉国产线看观看网| 一区二区三区四区在线视频| 亚洲免费视频播放| 日韩人妻精品无码一区二区三区 | 日韩在线视频网站| 国产精品极品在线| 亚洲欧美日韩精品综合在线观看 | 精品国产三级a∨在线| 亚洲综合国产精品| 日本一区二区三区在线视频| 欧美精品无码一区二区三区| 国产乱人伦真实精品视频| 91精品91久久久久久| 日韩专区中文字幕| 久久国产精品久久久久久久久久| 亚洲欧美国产一区二区| 日本10禁啪啪无遮挡免费一区二区| 激情小说网站亚洲综合网| 99高清视频有精品视频| 久久手机精品视频| 在线天堂一区av电影| 日韩精品久久久毛片一区二区| 国内精品久久影院| 91精品久久久久久久久久久久久久| 久久视频中文字幕| 岛国视频一区免费观看 | 欧洲国产精品| 91传媒久久久| 久久在精品线影院精品国产| 午夜视频久久久| 免费国产一区| 国产av熟女一区二区三区| 精品免费二区三区三区高中清不卡| 色一情一乱一伦一区二区三区丨| 欧美高清性xxxxhd| 久久人91精品久久久久久不卡| 欧美成人在线影院| 欧美性受xxxx黑人猛交88| 91九色极品视频| 久久久久国产精品免费网站| 青青在线免费观看| 久久综合九色综合久99| 亚洲一区二区中文| 国产无套粉嫩白浆内谢的出处| 日韩亚洲在线观看| 日产精品久久久一区二区| 超碰成人在线免费观看| 久久国产精品久久久久久久久久 | 成人免费在线一区二区三区| 国产精品久久久久9999爆乳| 日本一区二区高清视频| 成人a在线视频| 欧美日本亚洲视频| 蜜桃av噜噜一区二区三| 日韩在线播放一区| 色播亚洲婷婷| 久久亚洲免费| 综合操久久久| 成人国产精品色哟哟| 欧美激情综合色| 国产精品一区二区三区在线播放| 久久国产精品亚洲| 激情综合在线观看| 国产精品国产三级欧美二区 | 欧美一区激情视频在线观看 | 国产精品久久一区主播| 青春草在线视频免费观看| 国产爆乳无码一区二区麻豆| 亚洲va男人天堂| 国产精品69精品一区二区三区| 一级日韩一区在线观看| 国产精品一区二区免费| 伊人色综合久久天天五月婷| 99精品免费在线观看| 中文字幕一区二区三区精彩视频 | 国产美女无遮挡网站| 久久亚洲成人精品| 国产免费一区| 一本二本三本亚洲码| 成人黄动漫网站免费| 午夜精品区一区二区三| 久久久一本精品99久久精品| 午夜精品久久久久久久99热浪潮 | 北条麻妃在线一区| 亚洲激情一区二区| 久久99精品久久久久久青青日本| 欧洲精品亚洲精品| 国产精品久久久久免费a∨大胸 | 韩日午夜在线资源一区二区| 国产精品传媒毛片三区| 国产欧美日韩亚洲| 亚洲欧洲另类精品久久综合| 国产成人亚洲综合| 欧美 日韩 国产在线观看| 欧美成年人视频| 91久久偷偷做嫩草影院| 亚州av一区二区| 久久riav二区三区| 免费高清在线观看免费| 中文字幕日韩精品一区二区| 久久这里只有精品23| 人妻av无码专区| 精品丰满人妻无套内射| 91精品国产99久久久久久红楼| 日韩女优在线播放| 国产精品久久久久久久久久尿| 国产麻豆乱码精品一区二区三区| 亚洲一区影院| 国产成人涩涩涩视频在线观看| 国产欧美日韩精品在线观看| 日本视频精品一区| 国产精品久久婷婷六月丁香| 99在线国产| 欧美二区三区| 亚洲第一精品区| 国产精品视频免费在线| 91九色对白| 国内一区二区三区在线视频| 午夜免费电影一区在线观看| 国产精品福利无圣光在线一区| 91九色在线观看| 蜜桃传媒视频第一区入口在线看 | 视频在线精品一区| 国产精品入口夜色视频大尺度| 国产伦精品一区二区三区视频免费 | 少妇一晚三次一区二区三区| 国产精品你懂得| 久久青青草原| 高清国产一区| 青青视频免费在线观看| 亚洲影院色在线观看免费| 国产精品日韩久久久久| 8090成年在线看片午夜| 国产日本欧美一区二区三区 | 久久久精品免费视频| 91九色国产社区在线观看| 国内精品二区| 欧美日韩一区二区视频在线| 午夜精品亚洲一区二区三区嫩草| 精品国产乱码一区二区三区四区| 日韩亚洲一区二区| www.日日操| 国产欧美日韩伦理| 免费中文日韩| 日韩欧美亚洲日产国产| 亚洲精品天堂成人片av在线播放| 久久综合伊人77777| 久久九九有精品国产23| 久久久久久久久久久一区| 国产精品91久久久| av资源站久久亚洲| 国产免费人做人爱午夜视频| 国产综合色一区二区三区| 欧美两根一起进3p做受视频| 日韩欧美手机在线| 日韩精品一区在线视频| 婷婷亚洲婷婷综合色香五月| 夜夜添无码一区二区三区| 欧美精品成人91久久久久久久| 欧美精品少妇videofree| 国产精品美女网站| 日韩免费在线播放| 日本高清视频一区| 色噜噜色狠狠狠狠狠综合色一| 亚洲免费不卡| 亚洲一区二区精品在线观看| 亚洲午夜精品久久久久久人妖| 国产99久久精品一区二区永久免费| 欧美成人在线免费| 精品国产乱码久久久久| 欧美激情视频一区二区| 精品中文字幕乱| 九九热这里只有精品6| 国产99久久久欧美黑人| 一区精品在线|