Skip to content

Instantly share code, notes, and snippets.

@mustafaxfe
Created December 9, 2019 20:20
Show Gist options
  • Save mustafaxfe/613241c8c77dc3be51b6f20e6b85ed05 to your computer and use it in GitHub Desktop.
Save mustafaxfe/613241c8c77dc3be51b6f20e6b85ed05 to your computer and use it in GitHub Desktop.
dengesiz hal için yatak reaksiyonları
function [B_yatagi, A_yatagi ] = dengesiz_yatak_kuvvetleri(W, S1, Q1, Q2, m1, m2, D, E,L)
% Statik denge şartından toplam kuvvetler ve toplam moment 0 olmalı
V = pi * (W/30); % Mil hızından hız
% X ekseninde
% A yatağına göre moment
Bx = (m1 * cos(Q1)*D*V^2 + m2 * cos(Q2)*E*V^2)/(S1+S1+L);
Ax = m1*cos(Q1)*V^2 + m2*cos(Q2)*V^2 - Bx;
% Y ekseninde
% A yatağına göre moment
By = (m1 * sin(Q1)*D*V^2 + m2 *sin(Q2)*E*V^2)/(S1+S1+L);
Ay = m1*sin(Q1)*V^2 + m2*sin(Q2)*V^2 - By;1;% sqrt(Ax^2 + Ay^2) + 1;
A_yatagi = sqrt(Ax^2 + Ay^2) + 1;
B_yatagi = sqrt(Bx^2 + By^2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment