photo

ayushman srivastava


Last seen: 6 months ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


linear interpolation for the curves
I have 2 curves of pressure. Pressure represents y-axis and x-axis is the time. There is some difference between the 2 curves. F...

1 year ago | 2 answers | 0

2

answers

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...

2 years ago | 0 answers | 0

0

answers

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...

3 years ago | 1 answer | 0

1

answer

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...

3 years ago | 1 answer | 0

1

answer

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...

3 years ago | 1 answer | 0

1

answer

Question


how can I write this exponential function in MATLAB?
velocity= 1m/s; x= 0 to 3; zeta= 125.7, u(x,0)= u(space, time); u=0.5 from the wave graph

3 years ago | 1 answer | 0

1

answer