Stats 20作业代写、代做R编程设计作业、AI game作业代写、R课程设计作业代做代做R语言程序|代写R语言程序

Stats 20 - Lab 1For this lab you are going to focus on outlining your IDEAS for your code prior to writingyour code. You can see an example different levels of pseudocode in week 3 of the TAsite on CCLE for this course. This lab will be due May 6, before the start of class.Your lab should be done in R Markdown and knitted as an HTML or PDF document.You’ll need to submit both a .Rmd file which knits as well as your final output file.1. FibonacciThe Fibonacci sequence (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, …) is defined as F(1) = 1, F(2) =1, F(n) = F(n-1) + F(n-2).a. Write pseudocode to calculate F(n)b. Write pseudocode to construct a vector of the first n numbers in the Fibonaccisequence.c. Write a function:fibo(n = 1){# Your code here}which takes one parameter n and returns the nth fibonacci number.d. Use the function you wrote to calculate the 58th Fibonacci number. Include yourR code in your report.2. Tic-Tac-Toea. Write rules of the game.b. Write high-level pseudocode for playing one game between two human players.i. Include pseudocode for what happens before, during, and after the game.c. Identify which elements of the game need to be tracked.i. For each element which you will track:1. Describe the type of object you think is appropriate to store thegame element. (e.g. A numeric vector, a character matrix, adata.frame, etc.). Describe in as much detail as possible how youwould use each object to store its associated game element.d. Identify parts of your pseudocode which could be turned into individual functions.i. For each function you identify:1. List required function inputs.2. List desired function output.3. pseudocode each function.e. A game of tic-tac-toe has, at most 9 turns, write out the turns of a single game,move by move, in language a (normal) human would use to describe the game.Annotate each turn with an explanation of what the repercussions of each moveare with regard to which functions would be called leading up to, during, and aftereach turn, what their input and output values should be, and list what the gameelement variables contain after the turn.A good way to represent the game values is in a table, i.e.:Turn Var1 Var2 Var3 Var40 1 FALSE c() c()1 2 FALSE c(3) c()2 1 FALSE c(3,5) c()... ... ... ... ...f. Discuss what you would need to change or add to create an AI to play tic-tac-toeagainst you.i. What would the simplest AI opponent do?1. pseudocode the simplest AI.a. List the functions this AI would need to call to take its turnand for each:i. Describe the required inputs.ii. Describe the desired output.ii. What would a sophisticated tic-tac-toe AI do?1. pseudocode a sophisticated AI.a. List the functions this AI would need to call to take its turnand for each:i. Describe the required inputs.ii. Describe the desired output.g. Discuss how you would add the functionality to have two AI (the simple andsophisticated) AI play against each other.i. Write pseudocode to play one AI vs AI game.ii. Extend this to allow an arbitrary number of AI games to be played.h. Put all of your pseudocode together into a comprehensive outline forprogramming a complete tic-tac-toe game.i. ATTEMPT to write as much as you can of the actual game of tic-tac-toe betweentwo human players as possible. You do NOT need to write a fully functioningtic-tac-toe game to get full credit on this lab.i. Construct the objects to hold game elements.ii. Write, in R, any functions you are comfortable trying to write.本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected] 微信:codehelp QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(Stats 20作业代写、代做R编程设计作业、AI game作业代写、R课程设计作业代做代做R语言程序|代写R语言程序)