memester74
29.01.2020 •
Mathematics
Eliminate the parameter. x = 1/2t, y = 3t^3 - 1
y = 3/8t^3 - 1
y = 24x^3 - 1
y = 6x^3 - 1
y = 24x - 1
Solved
Show answers
More tips
- H Health and Medicine Is it true that working with a computer is harmful to your eyesight?...
- S Sport When is the Champions League final?...
- H Health and Medicine Is Folic Acid a Necessary Vitamin?...
- W Work and Career How to Start Your Own Business: Tips and Recommendations...
- S Society and Politics 10 Tips for Boosting Your Self-Esteem...
- C Computers and Internet How to Create a Folder on Your iPhone?...
- G Goods and services How to sew a ribbon: Tips for beginners...
- F Food and Cooking How to Make Mayonnaise at Home? Secrets of Homemade Mayonnaise...
- C Computers and Internet Which Phone is Best for Internet Surfing?...
- F Food and Cooking Everything You Need to Know About Pasta...
Answers on questions: Mathematics
- M Mathematics What are the equations of the asymptotes of the graph of the function f(x)=3x^2-2x-1/x^2+3x-10 ? x = –5, x = 2 and y = 3 x = –2, x = 5 and y = 3 x = 3, y = –5, and y = 2 x = 3, y...
- M Mathematics A271⁄2-mile stretch of road needs repaving. a company bid on the repaving project, saying they could repave 21⁄4 miles of road per week. how many weeks will the company take to completely...
- M Mathematics The price of a pair shoes markdown 33% the original price was $59.85 what is the sales price of the shoes?...
- M Mathematics Find the value of the expression. 4 + 8 ÷ 2 – 1 a.19 b.7 c.12 d.5...
- M Mathematics X/0.7=21 a) 13.7 b) -13.7 c) 14.7 d) -14.7...
- M Mathematics Calculate the constant of variation if y varies directly as x. y = -3 x = 2 answers - 3/2 - 2/3 -1 -6...
- M Mathematics During the world series the host citywide hotel a occupancy rose 21% over the prior busiest night if the busiest night had been 76% occupancy what was the new record...
- M Mathematics Given the function f(x) x-5 all over 3 solve for f^-1(3)...
- M Mathematics About how far does the s wave travel through earth in 13 minutes? a. 2,000 km b. 4,000 km c. 6,000 km d. 8,000 km...
- M Mathematics Which expression shows the result of applying thr distributive property to 3(2x-6)? a. 6x-6b.5x-3c.2x-18d.6x-18which expression shows the result of applying the distributive property...
Ответ:
y = 3t^3 - 1
y = 3(2x)^3 -1
y = 24x^3 -1
Ответ:
/ Sierpinski.java
public class Sierpinski {
// method to find the height of an equilateral triangle with side length =
// length
public static double height(double length) {
// formula= length*sqrt(3)/2
double h = (length * Math.sqrt(3)) / 2.0;
return h;
}
// method to draw a filled triangle (pointed downwards) with bottom vertex
// x,y
public static void filledTriangle(double x, double y, double length) {
// finding height
double h = height(length);
// filling triangle as a polygon
// passing x, x-length/2, x+length/2 as x coordinates
// and y, y+h, y+h as y coordinates
StdDraw.filledPolygon(new double[] { x, x - (length / 2.0),
x + (length / 2.0) }, new double[] { y, y + h, y + h });
}
// method to draw an n level sierpinski triangle
public static void sierpinski(int n, double x, double y, double length) {
// checking if n is above 0 (base condition)
if (n > 0) {
// drawing a filled triangle with x, y as bottom coordinate, length
// as side length
filledTriangle(x, y, length);
// drawing the triangle(s) on the top
sierpinski(n - 1, x, y + height(length), length / 2);
// drawing the triangle(s) on the left side
sierpinski(n - 1, x - (length / 2.0), y, length / 2);
// drawing the triangle(s) on the right side
sierpinski(n - 1, x + (length / 2.0), y, length / 2);
}
}
public static void main(String[] args) {
// parsing first command line argument as integer, if you dont provide
// the value while running the program, this program will cause
// exception.
int n = Integer.parseInt(args[0]);
// length of the outline triangle
double length = 1;
// finding height
double h = height(length);
// drawing a triangle (pointed upwards) to represent the outline.
StdDraw.polygon(new double[] { 0, length / 2, length }, new double[] {
0, h, 0 });
// drawing n level sierpinski triangle(s) with length / 2, 0 as x,y
// coordinates and length / 2 as initial side length
sierpinski(n, length / 2, 0, length / 2);
}
}