i tried to do this question it was hard please i need help
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
- Plot The coefficient of static friction versus theta for [0, 180] for different values (five values) of Ω > Ω???.
Ω??? = sqrt(g/r)
plot between coefficient of static friction in y-axis and theta for [0, 180] in x-axis for five angular velocity in the same plot.
coefficient of static friction in the given code is = x
This is the beginning of the code, can you please help in section two? thank you.
% Section 1 : To solve the two equations in term of cofficent of static
% friction & normal force.
% Variables naming:
% m: Mass of block A, kg.
% r: Radius of the drum, m.
% mu_s: Coefficient of static friction.
% N: Normal force, N.
% w = Angular velocity, rad/s.
% theta: Angular position, rad.
% g = Gravitational acceleration, m/s^2.
% x = mu_s
% y = N
clc
clear
syms theta w g m r x y
eqn1 = y-m*g*cos(theta)-m*r*w^2;
eqn2 = x*y-m*g*sin(theta);
[x,y] = solve(eqn1, eqn2)
% Section 2 : To plot coefficient of static friction vs theta for different angular speed
g = 9.81;
r = 0.7;
theta = (0:0.04:pi);Angspeed = sqrt(g/r);
0 Kommentare
Antworten (1)
David Hill
am 18 Apr. 2020
You said you wanted to plot vs. different angular speeds, but only one was provided.
g = 9.81;
r = .7;
theta = (0:0.04:pi);
w = sqrt(g/r);
mu_s=g*sin(theta)./(r*w^2 + g*cos(theta));%this is the equation that you determined
plot(theta,mu_s);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Nonlinear Dynamics finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!