Purchase Solution

MATLAB: Implicit FTCS and Crank-Nicolson Scheme

Not what you're looking for?

Ask Custom Question

Write a program that solves the diffusion equation using the implicit FTCS scheme with parameters of N=61 and tau=1*10^-4,1.5*10^-4. Repeat the first part using the crank-nicolson scheme. Make a 'method' menu to run either of these scheme. Must be written in matlab.

Attached is the explicit FTCS for diffusion.

Attachments
Purchase this Solution

Solution Summary

This solution provides a MATLAB program to solve the diffusion equation.

Solution Preview

The attached Matlab script executes the requested task.

It has some comments on various ...

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

Javscript Basics

Quiz on basics of javascript programming language.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.