Answer:
t = [0:0.01:4];
x = 5*t - 10;
y = 25442 - 120*t + 144;
d = x.^2 + y.^2;
min = 1e+14;
for k = 1:length(t)
if d(k) < min
min = da(k);
tmin = t(k);
end
end
disp('The minimum distance is: ')
disp(sqrt(min))
disp('and it occurs at t = ')
disp(tmin)Output:
>> withLoop
The minimum distance is:
2.5106e+04
and it occurs at t =
4
Explanation:
Int Main () dvaunoax o]inxoo jnjn os'i
Explanation: Int Main KIcqvd[uo v[ionon
hxbc ;zzzzzzzzzzzczjHiuhqvzbp;'k
Anther and Filament
hope his helped ;)
Answer:
Output of the following program is :56
Explanation:
In the given code snippet, x is initialize with 5 and y is with 0.Then y=x++ statement will assign 5 to y and the increment the value of x,because x++ is a post increment operator.So the value of x will increase after this statement.First print statement will print the value of y i.e 5 and the next print statement will print the value of x i.e 6 without space.Therefore the Output will be 56.