Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms matlab
Title: UPW_utux0_2 Download
 Description: function [ue, un] = UPW_utux0_2 (v, dt, t) A simple hyperbolic partial differential equation: ut+ ux = 0 initial conditions: u (x, 0) = exp [- 10 (4x-1) ^ 2] boundary conditions: u (-1, t) = 0, u (1, t) = 0 of the questions asked: using the upwind scheme, choose v = 0.5, calculated and Draw when dt = 0.01 and 0.0025, equation t = 0.5, x numerical solution at (-1,1) and the exact solution when input: v- that is a* dt/dx dt- Value Time Format step t- the time to be solved Output: ue- 1N exact solution of the matrix at time t un- 1N value at time t solution matrix output image: image exact solution and the numerical solution
 Downloaders recently: [More information of uploader kingofhevil]
 To Search:
File list (Check if you may need any files):
 

UPW_utux0_2.m
    

CodeBus www.codebus.net