logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Diksha DuaData mining
(5/5)

932 Answers

Hire Me
expert
Malachi HousePhilosophy
(4/5)

661 Answers

Hire Me
expert
Jon CulshawComputer science
(5/5)

701 Answers

Hire Me
expert
Violeta BaoMarketing
(5/5)

652 Answers

Hire Me
MATLAB
(5/5)

The goal of this work is to estimate the values of πœ‹ and 𝑒 with a high accuracy by solving

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Project

Project due date: April 15

Work in groups of 6 maximum.

Only Octave (or MATLAB) is allowed.

Submit the files (programming files and a file containing the figures with your comments) electronically via Moodle all in one zipped file. Note that your programme will be checked and executed.

The name of the submitted file has to contain a name and ID of one of the group members

Names of group members have to appear within the programming files

No name will be added after submission

Part I: Finds Roots using bisection and Newton methods.

The goal of this work is to estimate the values of πœ‹ and 𝑒 with a high accuracy by solving

sin(π‘₯) = 0 and   ln(π‘₯) = 1

1. Write a program for the bisection method. Compute successive estimates till the error as a tolerance in function (ETF) is smaller than 10−6. Print in a file, the final iteration number, the numerical solution and the corresponding error. (1pts)

2. Write a program for the  Newton’s  method.  Starting  from  the  initial guesses used for the bisection method,  compute  successive  estimates  till the error ETF is smaller than 10−6. Print  in  a  file,  the  final  iteration number, the numerical solution and the corresponding error. (2pt)

3. Plot the curves of solutions (in one figure) for both Newton and Bisection.(1pt)

4. Plot the curves of errors for both Newton and Bisection. Compare the two methods in terms of speed and accuracy. (1pt) 

Put all your results in word file and comment them.

Part II: Lorenz attractor

The goal of this part is to capture the Lorenz attractor. Consider the Laurence 3D dynamical system

𝑑π‘₯(𝑑) 

ﻟ

I 𝑑𝑑

 = 𝜎(𝑦(𝑑) − π‘₯(𝑑)) 

𝑑𝑦(𝑑) 

= π‘₯(𝑑)(𝜌 − 𝑧(𝑑)) − 𝑦(𝑑) 

βͺ 𝑑𝑑

I 𝑑𝑧(𝑑)

= π‘₯(𝑑)𝑦(𝑑) − 𝛽𝑧(𝑑)

𝑑𝑑

Where 𝜎, 𝜌, 𝛽 are parameters

1. Write a program to solve the system using the Euler explicit method. (2pts)

2. Make simulations for different values of 𝜎, 𝜌, 𝛽 and different initial values. Graph the 3D trajectories showing the Lorenz attractor and the chaotic character of the system. (2pts)

3. Put all results in the same file used for Part I, with comments. (1pts)

What to submit:

1. The bisection and Newton and Lorenz codes (with group names inside)

2. The asci file containing the final results (iteration, solution, error)

3. Word file containing

a. Plotted graphs of Bisection and Newton solutions (in one figure) and ETF curves (in one figure) + comments.

b. Plotted graphs for Lorenz systems solutions (for different  initial values and for different parameters 𝜎, 𝜌, 𝛽. Comments.

Use the provided word template.

Put all files in a single directory and submit is as a single zipped file (use standard tool for zipping). Name the zipped file by: nameID (use the name of one of the group)

Don’t copy programs from internet, I need to see your work.

Note: Marks will be deducted for  uncommented  and  non-running codes (codes with bugs) (programs), and non-respect of submission requirements.

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. ThisΒ  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme