フィルターのクリア

i tried to do this question it was hard please i need help

1 回表示 (過去 30 日間)
fatima hamad
fatima hamad 2020 年 4 月 18 日
回答済み: David Hill 2020 年 4 月 18 日
  1. 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);

回答 (1 件)

David Hill
David Hill 2020 年 4 月 18 日
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);

カテゴリ

Help Center および File ExchangeNonlinear Dynamics についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by