Community Profile # ayushman srivastava

Last seen: 3 meses ago Active since 2022

#### Statistics

• • #### Content Feed

View by

Question

I have the function and the 1D wave equation i.e. du/dt + c.du/dx=0. I have to solve it using Euler's time step series.
, u(x,o)= exp(-16*(x-0.5)^2.*sin(125.7*x), Given- c=v=wave velocity=1, % Initialization Nx= 480; % x-Grid dx= 3/480; % Ste...

5 meses ago | 0 answers | 0

### 0

Question

I'm trying to write a MATLAB code to solve the first order 1-D wave equation (transport equation) using the Euler method
% This program describes a moving 1-D wave % using the finite difference method clc close all; %% % Initialization Nx= 48...

7 meses ago | 0 answers | 0

### 0

Question

How to Solve this “First-order wave equation” using Euler’s time-stepping series to obtain a graph similar to above. Solve this using Runga Kutta time-stepping series also.
% This program describes a moving 1-D wave % using the finite difference method clc close all; %% % Initialization Nx= 48...

7 meses ago | 0 answers | 0

### 0

Question

how can I write my function in terms of code using Finite difference method (FDM) to obtain these curves at time, t=0 and time, t=2?
% Initialization Nx= 480; % x-Grid dx= 3/480; % Step size x(:,1)= (0:Nx-1)*dx; f= 125.7; % Wave number U(:,1)= -16*(x(:,1...

7 meses ago | 1 answer | 0