Preview

Circle and Unit Radius

Satisfactory Essays
Open Document
Open Document
494 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Circle and Unit Radius
plot: creates 2d line plot

axis: changes aspect ratio of x and y axis

x label: annoted the x axis

y label: annoted the y axis

title: puts the title on the plot title of prog: title('circle of unit radius')

print: prints the hardcopy of the plot

EX: draw a circle of unit radius x and y co ordinates 100 points of the circle the parametric eq

is x=cos(t) y=sin(t) theta=linspace(0,2*pi,100);

axis='equal'; xlabel('x') ylabel('y')

1. plot y=sinx range 0 x=linspace(0,2*pi,100);
>> y=sin(x);
>> plot(x,y)
>> xlabel('x')
>> ylabel('y')
>> title('plot created by ashita')

2.plot y=e^(-0.4x)sinx range 0 x=linspace(0,4*pi,100); y=exp(-0.4.*x).*sin(x); >> plot(x,y)
>> x=linspace(0,4*pi,10); y=exp(-0.4.*x).*sin(x); >> plot(x,y)
>> x=linspace(0,4*pi,50); y=exp(-0.4.*x).*sin(x); >> plot(x,y)

3. use the cmd plot3(x,y,z) to plot the circular helix x(t)=sin(t) y(t)=cos(t) z(t) =t range:0 t=linspace(0,pi/9,10);
>> x=sin(t); y=cos(t); z=t;
>> plot3(x,y,z)

>>> the plot cmd semilogx(x,y) semilogy(x,y) and loglog(x,y)

4.plot the x values , y values and both x and y values on a log10 scale resp. create a vector

x=0:10:1000 plot x versus x^3 using the 3log10scale (semilogx,semilogy,loglog) plot cmd

soln:>> x=[0:10:1000];
>> y=x.^3;
>> semilogx(x,y)

>> x=[0:10:1000];
>> y=x.^3; semilogy(x,y) >> x=[0:10:1000]; y=x.^3; loglog(x,y)

5. plot y=cosx and z=1-(x^2)/2 + (x^4)/24 on 0 x=linspace(0,pi,100);
>> y=cos(x);
>> z=1-((x.^2)/2)+((x.^4)/24);
>> plot3(x,y,z)

6.circle draw a circle of unit radius x and y co ordinates 100 points of the circle the parametric eq

is x=cos(t) y=sin(t) soln:>> theta=linspace(0,2*pi,100);
>> x=cos(t); y=sin(t); >> plot(x,y)

7. parabola x=at^2 y=2at t-varies(-4,4)

soln:t=linspace(-4,4);
>> a=1;
>> x=a.*t.*t;
>> y=2.*a.*t;
>> plot(x,y)

8. hyperbola

9. ellipse
An ellipse can be defined as the locus of all points that satisfy the equations
x

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1310 Unit 3

    • 435 Words
    • 2 Pages

    Write the equation of the circle with the given center and radius. Then graph the circle.…

    • 435 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    A table of ten “coordinates pairs” was created by matching a number randomly generated between one and fifty (the X value) with a number randomly generated between one and ten (the Y value).…

    • 207 Words
    • 1 Page
    Good Essays
  • Satisfactory Essays

    Diclduybc

    • 297 Words
    • 2 Pages

    2. Assuming that the points (44, -3) and (70, -2) are on the linear portion of the semi-log plot, create a linear function for Y=log⁡(y) as a function of x. Make sure to show your work.…

    • 297 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Using complete sentences, explain how you created two of the three constructions from part 1.…

    • 556 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Eco 550 Assignment 1

    • 460 Words
    • 2 Pages

    In Microsoft Excel, complete the table below, then using one chart, draw the following curves:…

    • 460 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Mat 540 Final

    • 783 Words
    • 4 Pages

    Use www.graphmatica.com to sketch the functions you found as solutions of [a]-[d], if y =…

    • 783 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Similarly to how you’d use a graph with a linear function, you can also use a table. You can use the function (y=12x, in our case) and plug in points for the x variable to find what the y would be, which you can later graph. If we made a table using our current function, this is what it would look like this:…

    • 526 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    104 demand

    • 268 Words
    • 1 Page

    Use the data generator in the lesson, to get data to plot on your graph. Create the graph and plot out the points given to you. Be sure to label all parts of the graph and give it a title. The easiest way to create your graph is to do it by hand. Draw your graph out on paper, after you have completed all of the steps use a digital camera to take a picture of it. Save your graph to your computer and insert it as a picture at the top of this document.…

    • 268 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Problems1

    • 605 Words
    • 2 Pages

    the three points (0, 1), (0.5, 2) and (1, 4). Plot the resulting spline (you may use the file…

    • 605 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Study Guide

    • 356 Words
    • 12 Pages

    L 0A E line = 1 q 4π 0 r V point = σ 2 0 1 2λ 4π 0 r = 1 C1 1 C2 R= ΣI in = ΣI out + uE =…

    • 356 Words
    • 12 Pages
    Satisfactory Essays
  • Good Essays

    Exam 3 Study Guide

    • 764 Words
    • 4 Pages

    y 25 20 15 10 5 -5 -4 -3 -2 -1 -5 -10 -15 -20 (-4, -24)-25 (0, 0)…

    • 764 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    d. Use your values from Step 5 above for a PERFECT Circle to solve for G in this simulation.…

    • 524 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Two Variable Inequalities

    • 682 Words
    • 3 Pages

    I know that my line is going from (0,330) to (110,0). The graph has a solid line rather than a dashed line meaning that points on the line itself are part of the solution.…

    • 682 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Math Paper

    • 336 Words
    • 2 Pages

    a. In order to plot a point in the coordinate system, you will need the X coordinate as well as the Y coordinate. For example, the point (3,5) can be plotted be going right on the X axis 3 points, and going up on the Y axis 5 points. Remember the opposite goes for negatives.…

    • 336 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    : How to find the area of a circle by using a formula pi x r2…

    • 899 Words
    • 4 Pages
    Powerful Essays