App A_002 Rekursjon / Fraktaler. Rekursjon - Eks: Fraktaler Triade - Detaljer 1 triade(L) IF (L < M) THEN drawLine(L) ELSE triade(L/3) left(60) triade(L/3)

Slides:



Advertisements
Similar presentations
Love Lifted Me Click here to play The slides advance automatically with the words.
Advertisements

Learning Objectives To apply the summation and product notation To define a matrix To solve problems on matrix summation, subtraction and multiplication.
Scientific Programming for(i=0; i b) { a = func1(c,d,i*10); } else if(a < b) { a = func2(e,f,i*10); } else { a = func3(g,h,i*10);
CIVL3310 STRUCTURAL ANALYSIS Professor CC Chang Introduction to Matrix based techniques.
AB 11 22 33 44 55 66 77 88 99 10  20  19  18  17  16  15  14  13  12  11  21  22  23  24  25  26  27  28.
H. F. Restrepo – Logic Systems Laboratory A Self-Replicating Universal Turing Machine.
CP1020 Week 5 Selection Continued. CP1020 University of Wolverhampton - Steve Garner and Ian Coulson if then else zWe can use if then else statements.
Metric Conversions w/o Dimensional Analysis Just move the decimal!!
Machine Translators By: Holly Slemp. What Do They Do? Translate words from one language to another You can speak and translate words into another language.
Algorithms A Central Heating system Start Is temp <19
3.5 Solution by Determinants. The Determinant of a Matrix The determinant of a matrix A is denoted by |A|. Determinants exist only for square matrices.
By Tre Lehoe Tre Lehoe Computer Apps 1  It is a website that reviews movies  It all so reviews TV shows  You can look up movie trailers Tre Lehoe.
Beginning of Balancing Chemical Equations. Balancing Equations What ’ s the difference between… A 2 + B 2 and A 2 B 2 ? A 2 + B 2 = Not chemically bonded,
Selection: IF Statement Damian Gordon. adsdfsdsdsfsdfs dsdlkmfsdfmsdl kfsdmkfsldfmsk dddfsdsdfsd.
too.
ALGORITHMS AND FLOWCHARTS CSCI 105 – Computer Fluency.
This is a app that you can only use on a iPhone This is the app picture when you type in funky facez With this app you can take picture of yourself by.
Chapter 8 Decision Making Using the IF and EVALUATE Statements.
Positioning the File Pointer and calling programs Fall 2011.
Lifetimes (in yrs) Photo dissociation t PD = 10 3 AB + h  A + B 2-body collisions t 2B = 10 3 /n A + B  AB*  A + B Radiative association t RA = 10 9.
Fun with Triads! Ms. Wilmes. What is a Triad? A Triad is a chord containing three notes stacked on top of each other A Triad is a chord containing three.
COP 2510 Programming ConceptsAlessio Gaspar BSAS Industrial Operations 1 Conditional Statements Concepts Covered: Conditional Statements Serially Arranged.
Six people sit in a row. Left to right, they are numbered 1 through 6.
Prime Numbers Damian Gordon. Prime Numbers So let’s say we want to express the following algorithm: – Read in a number and check if it’s a prime number.
Graphing Exponential Growth and Decay. An exponential function has the form b is a positive number other than 1. If b is greater than 1 Is called an exponential.
6.8 Graphing the Absolute Value. 6.8 – Graphing Absolute Value Goals / “I can…”  Translate the graph of an absolute value equation.
M M M M 5. Not Listed
North Star Capella A  stellar-beacon-of-auriga-the-charioteer
40 Minutes Left.
Minutes Left:
Unit 1.11 – Use Inverse Matrices to Solve Linear Systems

实验十四 紫外线灭菌  一、实验背景及目的:  灭菌是一种杀灭微生物的措施。紫外线灭菌 是物理灭菌因素之一。  1. 了解紫外线灭菌的原理;  2. 学习、掌握紫外线灭菌的方法。 版权所有 未经作者同意 请勿使用.
Why Study Robotics? shows/curiosity/topics/c-angle-why- should-we-encourage-young-people- study-robotics.htm.
Pseudo-code. Pseudo-code Task 1 Preparation Use the following code to declare, initialise and populate an array in a new VB.NET console application:
#if NETFX_CORE using Windows.UI.Xaml; #else using System.Windows.Xaml; #endif.
Exam practice. Exam 1  Describe how a Boolean expression can control the operation of a loop  Describe the difference between a while loop and for loop.
血液成分分离的标准化解决方案 全自动血液成分分离机使用介绍 江苏省血液中心 成分室 蔡莉 2013 年 9 月.
Selection: CASE Statement Damian Gordon. Selection As well as the IF Statement, another form of SELECTION is the CASE statement.
THE MOUSE Left Click THE MOUSE Right Click.
INTEGERS.
Selection Learning Objective: to be able to design algorithms that use selection.
Introducción a Word Web Apps
Music Theory.
ANDROID APP DEVELOPMENT COMPANY IN JAIPUR
الاسباب الأضرار وسائل الحمايه
Know More About : Develop An App Like Uber Develop An App Like Uber.
Uber Like Taxi App Solution
Mobile App ux/ ui design In High Quality.
LET’S WRITE A STORY …..in Latin. TRES PORCULI…. AND NOW… Use the vocabulary in Latin to write your own story Use your imagination Your story should have:
البرمجة بلغة فيجول بيسيك
مراحل كتابة البرنامج بلغة فيجول بيسك ستديو
البرمجة بلغة الفيجول بيسك ستوديو
Calculating Concentrations
Selection Learning Objective: to be able to design algorithms that use selection.
Introduction to Programming
In text.
1-6 Midpoint Find the midpoint of: DE: DC: AB: AE: (2+5) / 2 = 3.5
Figure 9: Response and frequency analysis of G2(s).
15 seconds left 30 seconds left 3 minutes left 2 minutes left 1 minute
differentiate double pulse
3.6 Multiply Matrices.
÷ 5 = 29 How many 5s are there in 1? Great!
÷ 2 = 24 How many 2s are there in 4?
Some Common Issues: Common Algorithms
L2-5 Objective: Students will solve and graph equations and inequalities involving absolute values Absolute Value Function Parent Function.
Lesson 3.6 Prove Theorems about Perpendicular Lines.
Calculate 81 ÷ 3 = 27 3 x 3 x 3 3 x 3 x 3 x 3 ÷ 3 = This could be written as
%e0%a4%b8%e0%a5%8d%e0%a4%9f%e0%a5%8b%e0%a4%b0%e0%a5%80%e0%a4%9c/%e0% a4%86%e0%a4%b0%e0%a5%8d%e0%a4%ae%e0%a5%80-
%e0%a4%b8%e0%a5%8d%e0%a4%9f%e0%a5%8b%e0%a4%b0%e0%a5%80%e0%a4%9c/%e0% a4%86%e0%a4%b0%e0%a5%8d%e0%a4%ae%e0%a5%80-
Presentation transcript:

App A_002 Rekursjon / Fraktaler

Rekursjon - Eks: Fraktaler Triade - Detaljer 1 triade(L) IF (L < M) THEN drawLine(L) ELSE triade(L/3) left(60) triade(L/3) right(120) triade(L/3) left(60) triade(L/3) ENDIF L 0 /3 < M < L L 0 /9 < M < L 0 /3

Rekursjon - Eks: Fraktaler Triade - Detaljer 2 triade(L) IF (L < M) THEN drawLine(L) ELSE triade(L/3) left(60) triade(L/3) right(120) triade(L/3) left(60) triade(L/3) ENDIF L 0 /9 < M < L 0 /3 L=L 0 L=L 0 /3L=L 0 /9 d t1 l1 t2 r t3 l2 t4 t1 l1 t2 r t3 l2 t4 L=L 0 /9 d d d L=L 0 /3 t1 l1 t2 r t3 l2 t L 0 /9 < M < L 0 /3

Rekursjon - Eks: Fraktaler Kvadrikk kvadrikk(L) IF (L < M) THEN drawLine(L) ELSE kvadrikk(L/3) left(90) kvadrikk(L/3) right(90) kvadrikk(L/3) right(90) kvadrikk(L/3) left(90) kvadrikk(L/3) ENDIF L 0 < ML 0 /3 < M < L 0 L 0 /9 < M < L 0 /3L 0 /27 < M < L 0 /9

Rekursjon - Eks: Fraktaler 2dim todim(L) IF (L < M) THEN drawLine(L) ELSE todim(L/2) left(90) todim(L/2) right(180) todim(L/2) left(90) todim(L/2) ENDIF L 0 < ML 0 /2 < M < L 0 L 0 /4 < M < L 0 /2L 0 /8 < M < L 0 /4

Rekursjon - Eks: Fraktaler Tre tre(L) IF (L > M) THEN left(45) drawLine(L) tre(L*GS) jumpBack(L) right(90) drawLine(L) tre(L*GS) jumpBack(L) left(45) ENDIF L 0 > ML 0 *GS > M L 0 *GS 2 > ML 0 *GS 3 > M GS = 0.618

Det gylne snitt ab

ENDEND