Please see Question.pdf

**Subject Physics MATLAB for Physics**

Please see Question.pdf

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

function Q=newtoncotes(f,a,b,n)

n1=n+1;

x=linspace(a,b,n1)';

h=x(2)-x(1); g=f(x);

endpts=g(1)+g(n1);

nodes=n;

switch nodes

case{1} % Trapezoidal Rule

Q=(h/2)*(endpts);

case{2} % Simpson's Rule

Q=(h/3)*(endpts+4*(g(2)))...

n1=n+1;

x=linspace(a,b,n1)';

h=x(2)-x(1); g=f(x);

endpts=g(1)+g(n1);

nodes=n;

switch nodes

case{1} % Trapezoidal Rule

Q=(h/2)*(endpts);

case{2} % Simpson's Rule

Q=(h/3)*(endpts+4*(g(2)))...

This is only a preview of the solution. Please use the purchase button to see the entire solution

Seismology Questions

$38.00

Physics

Matlab

Seismology

Function

Phase

Time

Hanning

Autocorelation

Sweep

Hooke’s Law Simulation

$20.00

Physics

Matlab

Simulation

Hooke’s Law

Spring

Elasticity

Deformation

Force

Constant

Connected Springs

Quantum Physics Problems

$150.00

Physics

Quantum

Perturbation

Theory

Expansions

Eigenvalue

Degeneracy

Hamiltonian

Eigenstates

Correction

Energy

Wavefunctions

Equation

Harmonic

Oscillator

Variational Method

Ansatz

Physics

Quantum

Perturbation

Theory

Expansions

Eigenvalue

Degeneracy

Hamiltonian

Eigenstates

Correction

Energy

Wavefunctions

Equation

Harmonic

Oscillator

Variational Method

Ansatz