案例

Game Battleship Simulation

For your final project, you will be writing your own code to simulate the game battleship. This project will require you to use most of the concepts we have learned in the course.

[Lab]Grocery Store Inventory System

Data about each grocery item will not be separated from the data for the following item; that is, the first line of input for the next grocery item will immediately follow the item which precedes it on the following line.

[Project] Java Auction Server

In this project you will simulate an auction service in which sellers can offer items and bidders can bid on them. In particular, you will implement a class, AuctionServer, in Java that provides methods supporting all aspects of an auction.

Matlab Numerical Analysis

In the numerical analysis, we would like to control and assess the errors that incurred in the math-ematical computation process, such as truncation errors and round o errors.

[Assignment] Matrix Operation

A matrix is an ordered array of values arranged in rows and columns. A fundamental operation in matrix algebra is inverse

Python Image Filtering

Write a program in scikit-image/Python to accomplish a simple image inpainting.

Python Portfolio Managment

Beating the market consistently is a holy grail of any money manager. In the context of stocks, the market is the stock market index.

R Distribution Sampling and Visualization

Compare dierent ways to simulate a normal random variable. You will simulate a standard normal random variable via transformations, rejection sampling, and standard R function.

[Homework]Temperature Simulation

Simulate 2D unit square plate using a 256x256 regular grid, with initial temperature f(x, y, t = 0) = sin(2x)cos(2y).

Unconstrained Optimization

Implement a steepest gradient algorithm. Use x0 = 10, y0 = 20 as starting points. You can consider that the algorithm has converged to a solution if f(x,y) is within 0.0001 of its optimal value