Program plan:
program
v = [2.9,2.6,1.7,2.1,3,1.01,2.36]*1e8;
c = [3,3.1,2.9]*1e8;
g = @(v,c) 1/(1-(v/c)^2)^0.5;
gamma = [];
for i = 1:length(v)
for j = 1:length(c)
gamma = [gamma; v(i) c(j) g(v(i),c(j))];
end
end
T = table(gamma(:,1),gamma(:,2),gamma(:,3));
T.Properties.VariableNames = {'v','c','gamma'};
disp(T)
output:
How do I solve using Matlab? Find the gamma constant for objects traveling close to the...
MATLAB QUESTION !!! PLEASE USE MATLAB FOR BOTH
QUESTIONS!!! THANKS
1) Find the volume of a cone if the radius 13 meters and height is 22 meters. πη2h V=- 3 2) Find the gamma constant for objects traveling close to the speed of light. Here we are experimenting several speeds of light constants (even though the true speed of light is known). Below are the velocities of the objects and the speed of light constants used. V=[ 2.9, 2.6, 1.7,...