CSE 155N Lab 7 Assignment copy

# CSE 155N Lab 7 Assignment copy - • Write a program...

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

CSE 155MN (Lab-7) Create a script to accomplish the directions of each question. Hand in each script through the web-handin. http://cse.unl.edu/~handin/ Due: Monday, 17 th Oct at 11:59 pm Activity 1: Create a function ( multvectors.m ) to multiply two vectors. The function should return value of the resulting vector. Webhandin multvectors.m Document your file properly. Activity 2: Write a function (Circleac.m) to calculate the area and circumference of a circle. Write a function (Squareac.m) to calculate the area and circumference of a square.
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: • Write a program ( SqCirc.m ) to o Take input from the users for the radius of circle and side of square. o Compare the areas of circle and square To calculate the area or circumference of a circle or square use your defined functions i.e. ( Circleac.m and Squareac.m) o Give the appropriate output to the user specifying whether the area of circle or square is greater. • Webhandin all three files SqCirc.m , Circleac.m and Squareac.m • Document your files properly....
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern