[Solved] Quantum Physics Ex 4-Multi-run script

$25

File Name: Quantum_Physics_Ex_4-Multi-run_script.zip
File Size: 348.54 KB

SKU: [Solved] Quantum Physics Ex 4-Multi-run script Category: Tag:
5/5 - (1 vote)

Exercise 1: Multi-run script

Consider the program developed in Exercise 3 of Week 1.

  • De ne the matrix dimension Nas an input value to be read from
  • Write a python script that changes N between two values Nmin and Nmax, and launches the program. Store the results in di erent les depending on the multiplication method used.
  • Plot (using gnuplot) the results for the di erent multiplication methods.

Exercise 2: Automated ts

Consider the program of the previous exercise.

  • Fit the scaling of the time needed for di erent methods as a function of the input size. Considerthe biggest possible di erence between Nmin and Nmax.
  • Save the gnuplot le you used in part (a) and exploit it to write a python script that performs automatically the previous ts.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Quantum Physics Ex 4-Multi-run script
$25