Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For this project you will use MATLAB to model a damped harmonic oscillator obeyi

ID: 3027171 • Letter: F

Question

For this project you will use MATLAB to model a damped harmonic oscillator obeying the equation m doubledot x + b dot x + kx = 0 You will write up a report showing your work, your programs, their output, and a discussion of the results. The report is due Monday of finals week. First, scale the equation to be dimensionless. Use frequency priority as discussed in class. Show your work and your scaling in your report. Create a MATLAB function to solve the scaled equation for x(t) using the following parameters: m = 2.0 kg k = 50.0 N/m b = 0.50 kg/s Use the following initial and range parameters: x(0) = 10 m dot x(0) = 0 Chose a time range to show at least 10 periods of the oscillation. Plot your results, x(t) and v(t) in real units (i.e, convert your scaled results into meters, meters/sec, etc.) vs time (in seconds) as line plots using the subplot feature of MATLAB. Ensure that you can see the decay of the oscillation.

Explanation / Answer

solution:

opening matlab:
on MAC or PC, just double click
in annenberg computer lab, open terminal application an dtype: matlab
entering data:
data can be also be entered by typing directly into the command window , through the editor in an m-file
variable types:
for example,
A=3; % smaple variable

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote