Calculate area of sector
A=function(r,seta)
r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
8 months ago
Solved
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.]
Non-scored bonus...
Mesh the square with triangles
Problem statement
An square is a regular polygon with 4 vertices and 4 edges.
A triangulated mesh T (stands for triangles he...