Community Profile

photo

ayushman srivastava


Last seen: 17 Tage vor Aktiv seit 2022

Followers: 0   Following: 0

Statistiken

  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

9 Monate vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort