(5/5)

Hire Me
(5/5)

Hire Me
(5/5)

Hire Me
(5/5)

Hire Me
(5/5)

# Use MATLAB and programming as a tool to help solve engineering problems

INSTRUCTIONS TO CANDIDATES
###### ANSWER ALL QUESTIONS

2. Learning Outcomes

By completing this coursework you are demonstrating your progress on the following of the module's learning outcomes:

1. Use MATLAB and programming as a tool to help solve engineering problems

2. Move towards independent research, application and analysis of numerical methods for engineering problems

3. Convey technical information in a written report to a professional standard

3.

This coursework consists of three tasks where you need to demonstrate your MATLAB skills. You should complete all three tasks and write the results up in a report. The report must include a brief description of how you approached each task, all the code that you used to complete the tasks, as well as the relevant outputs. The coursework should be submitted as a single pdf-file through the Assignment folder on S

Conciseness in explanation and presentation is important, and the whole report does not need to take more than 8 pages. However, if you do not manage to meet this limit, you should prioritize being complete, clear and correct over being concise and sticking to the page limit.

Task 1. n-Yahtzee (30 points)

In the game of Yahtzee, five dice are rolled and the combination of numbers rolled determines the score. The most desired combination is a Yahtzee: all five dice have the same number. In the game it is possible to hold some dice while rethrowing the others. For instance, if a player throws four fives and one two, they may decide to hold all the fives and only throw dice with the two again hoping that it will become a five.

In the game of Yahtzee players can hold and rethrow the dice twice in every round, but for this task we are assuming unlimited attempts.

Using the randi function in MATLAB to simulate throws of the dice, you need to implement the following experiment:

1. Throw five dice

2. Of the five dice, decide which ones to hold whilst optimizing the chance for a Yahtzee in the next throw.

3. Throw the remaining dice

4. Repeat step 2 and 3 until you have thrown a Yahtzee

(5/5)

## Related Questions

##### . The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

##### . Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

##### . The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

##### . Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

##### . The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme

Get Free Quote!

407 Experts Online