Differences between revisions 1 and 2
Revision 1 as of 2010-12-17 12:49:55
Size: 590
Editor: 172
Comment:
Revision 2 as of 2010-12-17 12:51:38
Size: 542
Editor: trss
Comment:
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
   * <Your Name>, <Profession>, <Organization>
  • Book

    Getting started with MATLAB

    Author

    Rudra Pratap

    Edition

import numpy as np
theta=np.array([0,pi/4,pi/2,3*pi/4,pi,5*pi/4])
r=2
for theta in range(0,5):
    x=r*float(cos(theta))
    y=r*float(sin(theta))
    z=x**2+y**2
    print x,y,z

  • Solution by:

    • Pooja Kalra, Student, Malwa Institute of Technology
    • Vignesh Ganapathiraman, Student, CMI
    • T R Shyam Sundar, Student, CMI
    • Sonam Kumar, Student, CMI

Pratap-2.2-3 (last edited 2010-12-17 12:51:38 by trss)