MATHEMATICA FEATURED EXAMPLE

Model and Analyze Wireless Ad-Hoc Networks

Thirty paratroopers are uniformly parachuted into the battlefield from the air. Find the expected largest number of troops that can communicate directly or indirectly with each other using handheld transceivers with a 0.2 unit range.

    
Model the communication network between paratroopers:
In[29]:=
Click for copyable input
The expected largest number of troops that can communicate directly or indirectly:
In[30]:=
Click for copyable input
In[31]:=
Click for copyable input
Out[31]=
The expected size of the largest clique that can communicate directly:
In[32]:=
Click for copyable input
In[34]:=
Click for copyable input
Out[34]=
New to Mathematica? Find your learning path »
Have a question? Ask support »