Homework 2 Solution

$29.99 $18.99

Use Matlab, Cpp, Python, etc. to: (80 points) Write a programing function to compute a sigma norm defined in Equation (8) in Slide 14, Lecture 4. Then enter following inputs to your written function to compute sigma norm of the following qi and qj (you can set ϵ = 0.1): qi = [3, 5] and…

You’ll get a: . zip file solution

 

 
Categorys:
Tags:

Description

Rate this product

Use Matlab, Cpp, Python, etc. to:

  1. (80 points) Write a programing function to compute a sigma norm defined in Equation (8) in Slide 14, Lecture 4.

Then enter following inputs to your written function to compute sigma norm of the following qi and qj (you can set ϵ = 0.1):

  • qi = [3, 5] and qj = [7, 5];

  • qi = [2, 8] and qj = [4, 5].

(Put your code here so the instructor can check it easily.)

  1. (20 points) Compare values of sigma norm and Euclidean norm (you can put the results in a table to easily compare them). If you forget about the Euclidean norm, read Slide 7 in Lecture 4.

You can further test your sigma norm and compare it with Eulidean norm using different inputs of qi and qj than the ones defined in Question 1.