% Taylor, Brian R % brtaylor@umn.edu % % BFF c.g. calculation % % setting up the environment close all clear all clc % front scale weight, grams front_scale_gr = 4388.6; % left winglet scale weight, grams left_scale_gr = 525.0; % right winglet scale weight, grams right_scale_gr = left_scale_gr; % distance from nose to front scale, inches front_arm_in = 18.625; % distance from nose to aft scale, inches aft_arm_in = 42.625; % finding the aft weight, grams aft_gr = left_scale_gr + right_scale_gr; % finding the total weight, grams tot_gr = front_scale_gr + aft_gr; % finding the center of gravity location, inches cg_in = (front_scale_gr*front_arm_in + aft_gr*aft_arm_in)/tot_gr; % converting the total weight from grams to lbs tot_lbs = tot_gr*0.00220462;