Question 1 (30 points) Initial conditions: $\ddot{x} + 0.5\dot{x} + 0.4x = 5e^{-5t}$ $x(0) = 0.5 \text{ m}, \dot{x}(0) = 1.0 \text{ m/s}$. Use MATLAB's ode45 to solve the system for $t = 0$ to 25 s. Show your results of $x$ and $\dot{x}$ in a same figure. Question 2 (30 points) Create a Simulink model to solve for about system. Use the \"STOP\" block to identify when the value of $x$ reaches to half of $x(0)$. Show values of $x$ and $\dot{x}$ in a same Scope.
Added by Brittney J.
Close
Step 1
Let's define the system as follows: dx/dt = X dX/dt = -k*x where x is the position and X is the velocity, and k is a constant. Step 2: Define the constants and initial conditions Given that x₀₀.â‚…mâ‚€ = 1.0 m/s, we can set x(0) = 0.5 m and X(0) = 1.0 Show more…
Show all steps
Your feedback will help us improve your experience
Aaron Goree and 83 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Sri K.
Use the shooting method to solve 7 d^2y/dx^2 - 2 dy/dx - y + x = 0 With the boundary conditions y(0) = 5 and y(20) = 8. Use MATLAB to solve this problem. Write a code that changes the initial guess or uses interpolation to find the correct boundary conditions.
Jiva Y.
3. Two systems (a) and (b) are released from rest from the initial position x(0) = 0.4 m and the first 1.2 seconds of their response is recorded. In system (a), the blocks are connected by a rigid rod of mass m' = 0.6 kg. In system (b), the blocks always remain in contact during motion of the lower block. (25 points) a) Briefly explain which plot shows the response of each system. b) Determine the values of m, k, and ̄̄k. c) If ̄s = 0.15, determine after how many half-cycles each system eventually comes to rest.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD