Solve and plot with MATLAB .
A safety bumper is placed at the end of a racetrack to stop out-of-control cars. The bumper is designed such that the force that the bumper applies to the car is a function of the velocity v and the displacement x of the front edge of the bumper according to the equation: where K = 30 (s kg)/m5 is a constant. A car with a mass m of 1,500 kg hits the bumper at a speed of 90 km/h. Determine and plot the velocity of the car as a function of its position for m. Hints: F=ma;vdv=adx
clc
clear all
syms v(x)
vi = 90*5/18; % initial velocity (m/s)
xi = 0; % initial position (m)
m = 1500; % mass (kg)
K = 30; % constant (kg-s/m^5)
%% Differential equation and initial condition
ODE = diff(v,x) == -K*v^2*(1+x)^3/m; % differential equation
cond = v(xi) == vi; % initial condition
%% solution of differential equation uisng dsolve function
v = dsolve(ODE,cond); % velocity as function of x
%% Array of values of velocity and position;
X = 0;
dX = 0.1;
V = [];
while 1
V(end+1) = double(subs(v,X(end)));
if V(end)<0.1
break
end
X(end+1) = X(end)+dX;
end
%% Plotting results
plot(X,V,'LineWidth',2);
xlabel('x (m)');
ylabel('v (m/s)');
title('Velocity as Function of Position');
xlim([X(1) X(end)]); Thank you...
Solve and plot with MATLAB . A safety bumper is placed at the end of a...
1. A pole is held vertically by attaching wires at a height of 13.4 m above the ground. The other end of each wire is anchored in the ground at a distance of 9.54 m from the base of the pole. The pole makes a right angle with the ground. What is the length of each wire? 2. A bug crawls 2.25 m along the base of a wall. Upon reaching a corner, the bug's direction of travel changes from...
please answer all I beg you ASAP! and please try solving most of
them thabk you so much
Question 23 (1 point) At an instant a traffic light turns green, a truck starts with a constant acceleration of 1.8 m/s2. At the same moment a taxi travelling with a constant speed of 8.5 m/s overtakes and passes the truck. Which two equations properly describe the position of the truck and the taxi? a) dtruck = 8.5at dtaxi = 8.5at b)...
(1) An object moves with constant acceleration 3.26 m/s and over a time interval reaches a final velocity of 10.8 m/s. a. If its initial velocity 5.39 m/s, what is its displacement during the time interval? Submit Answer Tries 0/10 b. What is the distance it travels during this interval? Submit Answer Tries 0/10 c. If its initial velocity is -5.39 m/s, what is its displacement during the time interval? Submit Answer Tries 0/10 d. What is the total distance...
ExpertTA
02 60 beats per min. Grade Summary Attempts remaining (54b per attempt) Grad X + g the mass of an average cell is ten times the mass of a bacterium (which is 10-15 kg) blem Status Potestial 100% 5% pes ament) atan) acotan0sinh0 coshO tanho cotanh Grad x + Homework 02 (U %) Problem 2: Assuming ibe mass of a, average cell is ten times the mass of a bacteria (which is 1015 kg) detailed view 釦▲ 50% Part...