using MATLAB plot the position of the boy with respect to th
using MATLAB, plot the position of the boy with respect to the ground if ?(0) = 0.
Starting from rest, a boy runs outward in the radial direction from the center of a platform with a constant acceleration of 0.5 m/s^2. If the platform is rotating at a constant rate theta = 0.2 rad/s, determine the radial and transverse components of the velocity and acceleration of the boy when t = 3 s. Neglect his size; using MATLAB, plot the position of the boy with respect to the ground if theta(0) = 0.Solution
clc
 clear all
 % Radial acceleration
 r_acc = 0.5;
 % Platform angular velocity
 plat_omega = 0.2;
 % r = u0*t + 0.5*r_acc*t^2
 t = 0:0.01:3;
 r = 0.5*0.5*t.^2;
 % theta = plat_omega*t + 0.5*a_theta*t^2;
 theta = plat_omega.*t;
figure(1)
 polar(theta,r)

