We use cookies to give you the best experience possible. By continuing we’ll assume you’re on board with our cookie policy

Circle and Unit Radius Essay Sample

essay
The whole doc is available only for registered users OPEN DOC
  • Pages:
  • Word count: 300
  • Category: plot

Get Full Essay

Get access to this section to get all help you need with your essay and educational issues.

Get Access

Circle and Unit Radius Essay Sample

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 = a cos t
y = b sin t
where:
x,y are the coordinates of any point on the ellipse,
a, b are the radius on the x and y axes respectively, ( * See radii notes below ) t is the parameter, which ranges from 0 to 2π radians.

soln:>> t=linspace(0,2*pi,100);
>> a=10;
>> b=3;
>> x=a*sin(t);
y=b*cos(t);
plot(x,y)

We can write a custom essay

According to Your Specific Requirements

Order an essay

You May Also Find These Documents Helpful

The Hand of the Lady of the...

I dunno what to say to Riquelme. I know what our plan is but it seems that I can't do it and I know that he's gonna be mad or pissed because of what happened. He said "What the hell's happening to you? I thought you wanted to finish Santa Maria but how can you not piss and have a freaking boner in you?". I...

Lone Scherfig an Education

Lone Scherfig employs the technique of lighting in the scene when Jenny arrives home after uncovering the truth about David and his marriage, to convey the idea that David is a vague, mysterious and untrustworthy by always having David partially in the dark. The scene emphasises the value of trust within relationships, by using lighting to like David's untrustworthy status to the conflict taking place...

‘In Cold Blood’ by Truman Capote

‘In Cold Blood’ written by Truman Capote was a thrilling murder story about a loved and respected family in a small town. The Clutter family consisted of the daughter Nancy Clutter, the son Kenyon Clutter, and the parents Bonnie and Herbert Clutter. Nancy was a very beautiful and popular girl in the city of Holcomb, Kansas. She was loved and adored by everyone, little girls...

The Story of an Hour

These days, as more and more young women they hold off on “settling down” and look to further their education, however, in the late 1890s this was not the case. Young ladies were expected to find a good husband and start a family. After that, they basically had to make their family their life. They were not allowed room to grow. In Kate Chopin’s The...

“The Plot Against America” by Philip Roth

Philip Roth the author of the book, “The Plot Against America” demonstrates what events can transpire when certain individuals meet others of their kind in this fictional story where Charles Lindbergh is victorious in a race for presidency against his opponent, Franklin D. Roosevelt.             In the beginning of this book, the author said, (p. 1) “Fear presides over these memories, a perpetual fear. Of...

Get Access To The Full Essay
icon
300+
Materials Daily
icon
100,000+ Subjects
2000+ Topics
icon
Free Plagiarism
Checker
icon
All Materials
are Cataloged Well

Sorry, but copying text is forbidden on this website. If you need this or any other sample, we can send it to you via email.

By clicking "SEND", you agree to our terms of service and privacy policy. We'll occasionally send you account related and promo emails.
Sorry, but only registered users have full access

How about getting this access
immediately?

Become a member

Your Answer Is Very Helpful For Us
Thank You A Lot!

logo

Emma Taylor

online

Hi there!
Would you like to get such a paper?
How about getting a customized one?

Couldn't Find What You Looking For?

Get access to our huge knowledge base which is continuously updated

Next Update Will Be About:
14 : 59 : 59
Become a Member