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

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

G6017編程代做代寫、MATLAB編程設(shè)計代做

時間:2023-12-16  來源:合肥網(wǎng)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
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強度疲勞振動
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務(wù)平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網(wǎng)頁版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    久久久久久九九九| 久久国产一区二区三区| 99国产精品久久久久老师| 国产精品网站入口| 欧美一级片免费播放| 国产裸体写真av一区二区| 国产精品欧美一区二区| 懂色av粉嫩av蜜臀av| 国产日产欧美精品| 国产精品久久激情| 日本不卡一区二区三区视频| 欧美日韩免费观看一区| 欧美日韩三区四区| 国产不卡一区二区在线观看| 中国丰满熟妇xxxx性| 美日韩精品免费| 久草一区二区| 手机成人av在线| 99视频国产精品免费观看| 精品毛片久久久久久| 国产在线精品成人一区二区三区| 国产精品嫩草在线观看| 精品91一区二区三区| 国产精品视频在线免费观看| 欧美影视一区二区| 久久精品.com| 人人妻人人澡人人爽欧美一区| 国产不卡av在线免费观看| 日本一本中文字幕| 国产成人黄色av| 日本精品一区二区三区在线 | 国产日韩精品一区观看| 国产精品久久久久久久久久久新郎| 欧美日韩视频免费| 国产精品国三级国产av| 精品日韩欧美| 一区二区三区四区视频在线观看| 国产精品一区二区三区久久| 中文字幕久久综合| 国产美女精品久久久| 亚洲中文字幕无码不卡电影| 91久久久一线二线三线品牌| 亚洲精品免费网站| 国产成人在线亚洲欧美| 欧美最猛黑人xxxx黑人猛叫黄| 久久最新资源网| 国产亚洲天堂网| 中文字幕一区二区三区乱码| 69**夜色精品国产69乱| 日本不卡在线观看| 国产精品久久国产精品| 国产欧美日韩中文| 亚洲精品一区二区三区四区五区| 久久综合九色欧美狠狠| 日韩av第一页| 国产精品久久久久9999| 国产精品小说在线| 日本不卡视频在线播放| 精品国产一区二区三区四区vr | 亚欧洲精品在线视频免费观看| 久久99久久99精品蜜柚传媒| 精品无人区一区二区三区| 亚洲一区不卡在线| 久久久久久久久久久av| 国产伦理久久久| 欧美亚洲第一区| 国产尤物99| 午夜精品在线观看| 欧美一区二区大胆人体摄影专业网站 | 亚洲精蜜桃久在线| 99爱精品视频| 奇米成人av国产一区二区三区 | 国产一区 在线播放| 欧美极品在线视频| 久久久久久中文| 精品无人区一区二区三区| 亚洲国产精品久久久久爰色欲 | 黄色一级视频播放| 午夜精品久久久内射近拍高清| 久久婷婷国产精品| 蜜桃成人免费视频| 无码无遮挡又大又爽又黄的视频| 久久精品美女视频网站| 超碰在线观看97| 欧美在线国产精品| 亚洲综合自拍一区| 国产精品日本一区二区| 91av网站在线播放| 国产欧美日韩高清| 欧美婷婷久久| 亚洲18私人小影院| 精品国产一区二区三区麻豆免费观看完整版| 国产精品99免视看9| 国产一区二区网| 欧美一区二区大胆人体摄影专业网站| 国产精品国产三级国产专播精品人| 91精品国产91久久久| 国产在线观看不卡| 欧美中文字幕精品| 午夜精品一区二区在线观看| 欧美日韩不卡合集视频| 国产精品久久婷婷六月丁香| 国产成人精品国内自产拍免费看| www插插插无码免费视频网站| 狠狠色伊人亚洲综合网站色| 日本国产高清不卡| 无码免费一区二区三区免费播放 | 日本免费成人网| 伊人久久婷婷色综合98网| 国产精品欧美在线| 久久久久久久久久久免费精品 | 国产999在线| 久久综合伊人77777| 久久久久久香蕉网| 久久这里精品国产99丫e6| 成人黄动漫网站免费| 国产欧美一区二区视频| 久久久久国色av免费观看性色| 国产高清自拍99| 国产麻豆乱码精品一区二区三区| 国内精品久久国产| 欧美日韩亚洲免费| 亚洲女人毛片| 亚洲尤物视频网| 在线观看成人一级片| 久久91亚洲精品中文字幕奶水| 色青青草原桃花久久综合| 国产传媒一区| 国产成人亚洲综合91| 久久免费视频3| 7777精品久久久久久| 久久久免费在线观看| 国产精品av电影| 国产v片免费观看| 久久av秘一区二区三区| 久久精品国产精品亚洲色婷婷| 国产精品1区2区在线观看| 国产三区精品| 国产免费裸体视频| 国产精品中文久久久久久久| 国产精品一区二区三区不卡| 国产美女扒开尿口久久久| 国产免费xxx| 91久色国产| 久久一区二区三区欧美亚洲| 久久精品女人的天堂av| 日韩中文av在线| 国产精品无码乱伦| 国产精品成久久久久三级| 精品国产一区二区三区日日嗨| 一本色道久久88亚洲精品综合 | 国产精品视频在线播放| 国产精品成人一区| 中文字幕久久一区| 午夜精品蜜臀一区二区三区免费| 欧美一级免费视频| 奇米一区二区三区四区久久| 黄色免费高清视频| 国产日产久久高清欧美一区| 91精品国产成人www| 久草精品电影| 国产精品海角社区在线观看| 亚洲专区在线视频| 日本一区视频在线观看| 日韩视频在线免费播放| 欧美激情专区| 国产精品中文字幕在线观看| 国产高清自拍99| 国产精品-区区久久久狼| 在线一区日本视频| 日本欧美黄网站| 国产中文字幕二区| caopor在线视频| 久久久久久久999| 欧美极品美女电影一区| 日本高清不卡在线| 国产三区二区一区久久| 久久精品一区二区三区不卡免费视频| 精品国内产的精品视频在线观看| 国产精品污www一区二区三区| 欧美日韩xxx| 欧洲亚洲在线视频| 国产日韩精品一区二区| 91久久久在线| 欧美成人亚洲成人| 亚洲一卡二卡三卡| 欧美与黑人午夜性猛交久久久| 国产日韩欧美亚洲一区| 久久免费在线观看| 欧美大码xxxx| 日本一区二区高清视频| 国产一区二区在线播放| 国产成人高潮免费观看精品 | 国产成人黄色av| 色中色综合影院手机版在线观看| 日本一区视频在线| 成人免费网视频| 国产精品乱码视频| 日韩精品伦理第一区| 99色精品视频|