Assignment 1 Outline

electric apparent power of the circuit va where

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: nd integer calculations, estimate π to 50 decimal places. Sample Output EVALUATE PI USING ARCTAN SERIES Evaluating angle of inclination of space cannon Tangent of angle: 0.266 [- Angle of inclination: 0.2XX [rad] Number of terms used: 3 Estimating pi to 6 decimal places math.pi: 3.141593 Series pi estimate: 3.141XXX Number of terms used: 500XXXX Estimating pi to 50 decimal places using Machin's formula 10**50 arctan(1/5): 1973955598498807583700497651947902934475XXXXXXXXXX Number of terms used: 34 10**50 arctan(1/239) 41840760020747238645382149592854527410XXXXXXXXXX Number of terms used: 10 16 arctan(1/5) - 4 arctan(1/239): 31415926535897932384626433832795028841971XXXXXXXXXX math.pi: 3.141592653589793 Programmed by the Instructors COMP 1012 Winter 2014 Assignment 1 Page 11 of 11 Date: Tue Jan 7 16:58:32 2014 End of processing Hand- in Submit your script file and your output for the cases shown above (with digits in place of the Xs)....
View Full Document

This note was uploaded on 02/07/2014 for the course COMP 1012 taught by Professor Terryandres during the Winter '14 term at Manitoba.

Ask a homework question - tutors are online