Showing posts with label Heat conduction. Show all posts
Showing posts with label Heat conduction. Show all posts

Friday, November 2, 2018

Heat conduction in a square plate

Heat conduction in a square plate

 Create an X, Y grid in the domain and . The length of the plate, a, is divided into 20 segments, and the width of the plate, b, is divided into 16 segments.
Calculate the temperature at each point of the mesh. The calculations are done point by point using a double loop. At each point the temperature is determined by adding k terms of the Fourier series.
 Make a surface plot of T

Black-Scholes formula-R

 Black-Scholes formula-R > BlackScholes <- function(TypeFlag = c("c", "p"), S, X, Time, r, b, sigma) { TypeFla...