Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This needs to be done in python code, trinket seems to work the best PART1 The pseudocode related to the football player, given at 1A,

image text in transcribed

This needs to be done in python code, trinket seems to work the best

PART1 The pseudocode related to the football player, given at 1A, may crash in different situations, and could be more efficient. Write a more reliable flowchart and code, and justify the improvements introduced. Use pi/100 as step, vo-15, h-3, g-9.8 and L-15.5. Plot the trajectory of the football in that case. PART 2 A NxN matrix is a magic square if every row, column, and diagonal add up to the same number. In this case, we demand that the numbers are different and consecutive. They do not have to start with 1 1. Design a code that creates a 3x3 magic square for any given set of consecutive numbers 2. Execute dot products between the different rows and columns of the resulting square, comment the results. 4. Design a code that creates a 4x4 magic square for any given set of consecutive numbers. 5. Execute dot products between the different rows and columns of the resulting square, comment the results. 6, Design a code that generates a generic NoN magic square PART1 The pseudocode related to the football player, given at 1A, may crash in different situations, and could be more efficient. Write a more reliable flowchart and code, and justify the improvements introduced. Use pi/100 as step, vo-15, h-3, g-9.8 and L-15.5. Plot the trajectory of the football in that case. PART 2 A NxN matrix is a magic square if every row, column, and diagonal add up to the same number. In this case, we demand that the numbers are different and consecutive. They do not have to start with 1 1. Design a code that creates a 3x3 magic square for any given set of consecutive numbers 2. Execute dot products between the different rows and columns of the resulting square, comment the results. 4. Design a code that creates a 4x4 magic square for any given set of consecutive numbers. 5. Execute dot products between the different rows and columns of the resulting square, comment the results. 6, Design a code that generates a generic NoN magic square

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

More Books

Students also viewed these Databases questions