

Kindly upload different questions separately. Thank you!
Please rate the answer. Thank you!
MATLAB Code:
m=80;
c1=0.25;
c2=1.5;
g=9.81;
t(1)=0;
v(1)=20;
h=0.001; &Step size
for i=1:20000
if i<10000
m=g-(c1/m)*v0*v0;
end
if i>=10000
m=g-(c2/m)*v0*v0;
end
v(i+1)=v(i)+h*m;
t(i+1)=t(i)+h;
end
plot(t,v)
xlabel('Time(s)')
ylabel('Wind velocity (m/s)')
title('Eulers Method')
grid on
Result:

Homework 5 (35 Points max) Please Submit all Matlab and Data files that you create for this homew...
Please solve this using matlab and type in the codes
here
The following data was obtained when the stopping distance d of a car on a wet road was measured as a function of the speed v when the brakes were applied: v (mi/h) 12.5 25 37.5 50 62.5 75 d (ft) 20 59 118 197 299 420 Use polyfit function to determine the coefficients of a quadratic polynomial d = a_2 v^2 + a_1 v + a_0 that best...
MATLAB Code for question (2)
1) Use the Matlab function polyfit to curve fit the saturation pressure versus temperature data along the vaporization line for water in the table below with a polynomial of degree n. The Matlab function polyval may be used to evaluate the polynomial at any point. Compare the saturation pressure as calculated by the polynomial with the data given in the table and observe what happens as the degree of the polynomial n is increased. Tabulate...
Using Matlab.
The following calibration data are from a hot wire anemometer (HWA) velocity measurement system for air flow: Air Velocity, V (m/s) HWA Output Voltage (E) 0.0 1.100 1. 1.1 1.362 2. 1.431 1.5 3. 1.487 2.0 4. 1.535 2.5 5. 1.576 6 3.0 1.647 4.0 7. 1.706 8. 5.0 1.780 9. 6.5 1.841 10. 8.0 1.910 10 11. 1.983 12. 13 13. 16 2.072 14. 20 2.159 15. 25 2.257 16. 32 2.379 17. 40 2.500 1. Perform...
Please MATLAB for all coding with good commenting.
(20) Consider the function f(x) = e* - 3x. Using only and exactly the four points on the graph off with x-coordinates -1,0, 1 and 2, use MATLAB's polyfit function to determine a 3' degree polynomial that approximates f on the interval (-1, 2]. Plot the function f(x) and the 360 degree polynomial you have determined on the same set of axes. f must be blue and have a dashed line style,...
Please use MATLAB
ME2543 Simulation Methods > Assignment 10: Interpolation and Curve Fitting > Problem 1 O solutions submitted (max: Unlimited) Given the following data: Temperature, T[°C] 100 150 200 250 300 400 500 Energy, u (KJ/kg] 2506.7 2582.8 2658.1 2733.7 2810.4 2967.9 3131.6 • Plot u versus T • What is the interpolated value for u=2680.78 KJ/kg • Test out the spline interpolation and plot the new data generated Script C Reset MATLAB Documentatic 1 % 'interp_u' has to...
please help with #1 a and b. thank you
Use the following data for all problems: The data below defines the sea-level concentration of dissolved oxygen for fresh water as a function of temperature: T°C omg/L 0 8 16 14.621 11.843 9.870 24 32 40 8.418 7.305 6.413 a. Approximate o(19) using a 1st order Newton's interpolating polynomial. b. Approximate o(19) using a 2nd order Newton's interpolating polynomial. 2) Use linear algebra to find the coefficients of the 2nd order...
Please don't attempt if you can not write a MATLAB
PROGRAM.
I don't need numerical physics solution, I need MATLAB code.
Read the question carefully
2) Falling Drops Imagine a solid sphere of diameter, d, falling through the air. After its release, the sphere accelerates until it reaches its terminal velocity. The terminal velocity is obtained when the drag force due to air friction, Fa, balances the weight of the sphere, W. The weight of the sphere is simply its...
This problem will introduce you the MATLAB (if you have not used it before). In this course we will use MATLAB in a limited fashion to give you a glimpse on how it is used to solve engineering problems. In your junior year, you will spend an entire semester in AEM 3101 becoming very proficient in using MATLAB for engineering modeling and simulation purposes. In this problem you will use MATLAB to accomplish the following tasks: (a) Write a function...
Use matlab
a) Create a simulated data set b) Create a set of plots to determine the best transformation to linearize the data c) Fit a first order polynomial (y mx + b) to the linearized data to find the constants m and b d) Reconstruct the original equation from m and b in the linear fitted polynomial e) Plot the fitted equation. Radioactive decay is modeled by the equation: rt where A the amount of mass as a function...
help wanted??
thank you
explain correctly
Problem 1 Use the trapezoidal rule technique to approximate the following integrals: a) 「(x2+1)dr(Note: use 0.5 increments forx) b) sina d INote: use a MATLAB function to subdivide the interval into eight equal parts) c e dx (Note: use 0.25 increments for x Problem 2 Use the Simpson's rule to evaluate the following integrals aDdr Problem 3: Given the polynomial: x3-6x2 + 30-0, Use MATLAB to find all roots of this polynomial. Use MATLAB's...