Question
in Mathematica please
Only detailed, neat and clear solutions are accepted Linear air resistance A metal pallet is launched from an atomizer with an initial velocity vo making an angle 00 as shown. 1- Plot the equation of the path for a pellet of mass m=1.0 g (micro-gram) and D = 0.1mm fired in air at launch speed vo = 0.5 m/s and launch angle ,-300 i) Show both: vacuum curve (ignoring air resistance) and with the linear resistance (using the parameters listed above). Mark or label each curve clearly On a separate graph, plot the above case (with linear resistance) for 300 to compare it with the cases ,-20° , ,-400 ,-50° . Use the parameters listed above. Mark each curve on your graph clearly On a separate graph, plot the above case with linear resistance) for 0 300 and v,-0.5 m/s to compare it with the cases vo = 0.1 m/s, vo = 0.3 m/s, vo = 1.0 m/s and vo = 2.0 m/s iii) =
Explanation / Answer
•Now A[i][j] = cost of edge from vi to vj.
–If no edge, either set cost to Infinity or add Boolean attribute to indicate no edge.
•New multiplication operation
–row[i]@col[j] = min { row[i][1]+col[1][j],
row[i][2]+col[2][j],…
row[i][n] +col[n][j] }
•Now A^2 contains minimum cost path of length 2 between any 2 vertices.
•A^n has complexity O(n^4). Not good.
•If add A[i][i]= 0, then A^k records minimum cost path of length = k. (how to change to allow all paths <= k)