subject
Engineering, 07.04.2020 05:47 bricksaspares

The Sierpinski triangle can be implemented in MATLAB by plotting points iteratively according to one of the following three rules that are selected randomly with equal probability. Rule 1: x_n + 1 = 0.5x_n, y_n + 1 = 0.5y_n Rule2: x_n + 1 = 0.5x_n + 0.25, y_n + 1 = 0.5y_n+|( 3)/4 Rule 3: x_n + 1, = 0.5x_n + 0.5, y_n + 1 = 0.5y_n Write a program in a script file that calculates the x and y vectors and then plots y versus x as individual points (use plot (x, y, )). Start with x1 = 0 and y1 = 0. Run the program four times with 10, 100, 1,000, and 10,000 iterations.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
Hydraulic fluid with a sg. of 0.78 is flowing through a 1.5 in. i.d. pipe at 58 gal/min. the fluid has an absolute viscosity of 11.8 x 105 lbf-sec/ft2. is the flow laminar, turbulent or within the critical range? give both a numerical reynolds number and a term answer.
Answers: 3
question
Engineering, 04.07.2019 18:10
True or false (explain) (110)[111] is a slip system in bcc metals . the {111} family in fcc contains 8 planes. resolved shear stress (rss) in single crystals is just related to the applied stress. critical resolved shear stress (crss) in single crystal metals is direct proportional to the number of defects in the structure
Answers: 2
You know the right answer?
The Sierpinski triangle can be implemented in MATLAB by plotting points iteratively according to one...
Questions
question
Social Studies, 27.01.2021 21:30
question
Mathematics, 27.01.2021 21:30
question
Mathematics, 27.01.2021 21:30
question
Arts, 27.01.2021 21:30
Questions on the website: 13722360