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, 03.07.2019 23:20
Two technicians are discussing the intake air temperature (iat) sensor. technician a says that the computer uses the iat sensor as a backup to the engine coolant temperature (ect) sensor. technician b says that the powertrain control module (pcm) will subtract the calculated amount of fuel if the air measures hot. who is correct
Answers: 3
question
Engineering, 04.07.2019 08:10
Which of the following is an easy way to remember the modified β€œx” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
question
Engineering, 04.07.2019 18:10
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
You know the right answer?
The Sierpinski triangle can be implemented in MATLAB by plotting points iteratively according to one...
Questions
question
English, 02.04.2020 17:30
question
Mathematics, 02.04.2020 17:30