p6_10 Subroutine

public subroutine p6_10()

Polar to Rectangular Conversion

Write a program that reads the polar coordinates of a 2D vector into a rank 1 array POLAR. polar(1) will contain the mgnitude and polar(2) will contain the angle theta in degrees, and converts the vector from polar to rectangular form, storing the result in a rank1 array RECT. Rect(1) should be the x component and rect(2) will be the y component.

Arguments

None

Contents

None