The Sierpinski carpet is a fractal that is defined as follows: The construction of the Sierpinski carpet
Question:
The Sierpinski carpet is a fractal that is defined as follows: The construction of the Sierpinski carpet begins with a square. The square is cut into nine congruent subsquares in a 3-by-3 grid, with the central subsquare removed. The same process is then applied recursively to the eight other subsquares. Figure 12.14 shows the first few iterations of the carpet.
Write a program to draw the carpet on a DrawingPanel recursively.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 60% (10 reviews)
Draws the Sierpinski Carpet fractal image import javaawt import javautil pub...View the full answer
Answered By
Saikumar Ramagiri
Financial accounting:- Journal and ledgers, preparation of trail balance and adjusted trail balance Preparation of income statement, retained earning statement and balance sheet Banks reconciliation statements Financial statement analysis Cash flow statement analysis (both direct and indirect methods) All methods of Depreciations Management Accounting:- Ratios Budgeting control Cash budget and production budget Working capital management Receivable management Costing:- Standard and variance costing Marginal costing and decision making Cost-volume-profit analysis Inventory management (LIFO, FIFO) Preparation and estimation of cost sheet Portfolio management:- Calculation of portfolio standard deviation or risk Calculation of portfolio expected returns CAPM, Beta Financial management:- Time value of money Capital budgeting Cost of capital Leverage analysis and capital structure policies Dividend policy Bond value calculations like YTM, current yield etc International finance:- Derivatives Futures and options Swaps and forwards Business problems Finance problems Education (mention all your degrees, year awarded, Institute/University, field(s) of major): Education Qualification Board/Institution/ University Month/Year of Passing % Secured OPTIONALS/ Major ICWAI(inter) ICWAI inter Pursuing Pursuing - M.com(Finance) Osmania University June 2007 65 Finance & Taxation M B A (Finance) Osmania University Dec 2004 66 Finance & Marketing. B.Com Osmania University June 2002 72 Income Tax, Cost & Mgt, Accountancy, Auditing. Intermediate (XII) Board of Intermediate May 1999 58 Mathematics, Accountancy, Economics. S S C (X) S S C Board. May 1997 74 Mathematics, Social Studies, Science. Tutoring experience: • 10 year experience in online trouble shooting problems related to finance/accountancy. • Since 6 Years working with solution inn as a tutor, I have solved thousands of questions, quick and accuracy Skills (optional): Technical Exposure: MS Office, SQL, Tally, Wings, Focus, Programming with C Financial : Portfolio/Financial Management, Ratio Analysis, Capital Budgeting Stock Valuation & Dividend Policy, Bond Valuations Individual Skills : Proactive Nature, Self Motivative, Clear thought process, Quick problem solving skills, flexible to complex situations. Achievements : 1. I have received an Award certificate from Local Area MLA for the cause of getting 100% marks in Accountancy during my Graduation. 2. I have received a GOLD MEDAL/Scholarship from Home Minister in my MBA for being the “Top Rank student “ of management institute. 3. I received numerous complements and extra pay from various students for trouble shooting their online problems. Other interests/Hobbies (optional): ? Web Surfing ? Sports ? Watching Comics, News channels ? Miniature Collection ? Exploring hidden facts ? Solving riddles and puzzles
4.80+
391+ Reviews
552+ Question Solved
Related Book For
Building Java Programs A Back To Basics Approach
ISBN: 9780135471944
5th Edition
Authors: Stuart Reges, Marty Stepp
Question Posted:
Students also viewed these Computer science questions
-
The Cantor set is a fractal that is defined by repeatedly removing the middle thirds of line segments as shown in Figure 12.15. Write a program to draw the Cantor set on a DrawingPanel recursively.
-
Let () be a p.d.f. that is defined as follows for constants >0 and >0: A distribution with this p.d.f. is called an inverse gamma distribution. a. Verify that () is actually a p.d.f. by verifying...
-
The Koch snowflake is a fractal that is created by starting with a line segment, then recursively altering it as follows: 1. Divide the line segment into three segments of equal length. 2. Draw an...
-
Find the minimum and maximum values of the function subject to the given constraint. f(x, y) =xy, 4x +9y = 32
-
What conclusion does the basic classical model (with no misperceptions of the price level) allow about the neutrality or non neutrality of money? In what ways is this conclusion modified by the...
-
The pilot of an airplane carrying a package of mail to a remote outpost wishes to release the package at the right moment to hit the recovery location A. What angle with the horizontal should the...
-
Find the z-score that has 4.887% of the distributions area to its right. Find the indicated z-score.
-
Gamine, Ronald, and Fenny have equity in a partnership of $80,000, $80,000, and $120,000, respectively, and they share income and losses in a ratio of 1:1:3. The partners have agreed to admit Amit to...
-
What is the effect on the three statements when a company issues 1 0 0 shares for $ 5 0 each?
-
Complex wave vectors in the energy gap find an expression for the imaginary part of the wave vector in the energy gap at the boundary of the first Brillouin zone, in the approximation that led to Eq....
-
The Fibonacci sequence is a sequence of numbers in which the first two numbers are 1 and each subsequent number is the sum of the previous two Fibonacci numbers. The sequence is 1, 1, 2, 3, 5, 8, 13,...
-
Sometimes the parameters that a client would like to pass to a method dont match the parameters that are best for writing a recursive solution to the problem. What should a programmer do to resolve...
-
Find the area under the curve y = sinh 2x from x = ln 3 to x = ln 5.
-
Wrongfully making or altering the writing of another with the intent to defraud. a. arson b. bribery c. burglary d. extortion e. felony f. forgery g. misdemeanor h. perjury i. robbery j. white-collar...
-
Kana Corporations economists estimate that a good business environment and a bad business environment are equally likely for the coming year. The managers of Kana must choose between two mutually...
-
Indicate whether each of the following statements is true or false by writing T or F in the answer c olumn. In order for an acceptance to be valid, it must be communicated to the of feror.
-
Indicate whether each of the following statements is true or false by writing T or F in t he a nswer c olumn. Burning to defraud is a special category of crime committed by persons who burn their own...
-
Indicate whether each of the following statements is true or false by writing T or F in t he a nswer c olumn. Contracts do not need to be stated in legal language.
-
The force component along the displacement varies with the magnitude of the displacement, as shown in the graph. Find the work done by the force in the interval from (a) 0 to 1.0 m, (b) 1.0 to 2.0 m,...
-
An interest bearing promissory note for 90 days at 5.6% p.a. has a face value of $120,000. If the note is discounted 20 days after the issue date at a rate of 6.8% p.a., calculate the amount of...
-
Consider the scenario described by the statement A customer can make many payments, but each payment is made by only one customer as the basis for an entity relationship diagram (ERD) representation.
-
Why is an object said to have greater semantic content than an entity?
-
How would you model Question 6 with an OODM?
-
The weekly salaries (in dollars) of 24 randomly selected employees of a company are shown below: 310 320 450 460 470 500 520 580 600 650 700 540 710 840 870 900 1000 1200 1250 1300 1400 1720 2500...
-
(a) Assume a non-dividend paying asset St, undergoes geometric Brownian motion dS = S+dt+S+dWt where W is a standard Brownian motion and and are constants. We assume also that r, the risk-free...
-
Eleanor is auditing a large manufacturing company. Currently, she is looking at the entire population of inventory purchases for the year, and matching the purchase order, receiving documentation,...
Study smarter with the SolutionInn App