5. (20 Points) Create a plot of the following functions for a = 1: a. ya sin(2x) b. y acos(2πx) c. y=a tan(x) d. (5 Points) [GEOL 6150 ONLY] Print out the table from homework. Code Output YOUR CODE GOES HERE. EX: Problem la: You should have one line of output for each of the following a, b, c, d, and e. Graduate students you will have an additional output. a = 1; b=0; x = 1; yla = XX Problem 2a: a = 1; b = 0; x = 1; yla = XX Blank Grid 3 2 1 0 -1 -2 -3 ܂ -3 -2 -1 Problem 1f x (a) (b) (c) (d) (e) -2 XX YY ZZ EE GG -1.5 XX YY ZZ EE GG 0 1 2 3

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter18: Stacks And Queues
Section: Chapter Questions
Problem 22SA
icon
Related questions
Question
Don't use ai i will report you answer solve it as soon as possible with proper explanation
5. (20 Points) Create a plot of the following functions for a = 1:
a. ya sin(2x)
b. y
acos(2πx)
c. y=a tan(x)
d. (5 Points) [GEOL 6150 ONLY] Print out the table from homework.
Code
Output
YOUR CODE GOES HERE.
EX:
Problem la:
You should have one line of output for each of the following
a, b, c, d, and e. Graduate students you will have an
additional output.
a =
1; b=0; x =
1; yla = XX
Problem 2a:
a = 1; b = 0; x =
1; yla
= XX
Blank Grid
3
2
1
0
-1
-2
-3
܂
-3
-2
-1
Problem 1f
x (a) (b) (c) (d) (e)
-2 XX YY ZZ EE GG
-1.5 XX YY ZZ EE GG
0
1
2
3
Transcribed Image Text:5. (20 Points) Create a plot of the following functions for a = 1: a. ya sin(2x) b. y acos(2πx) c. y=a tan(x) d. (5 Points) [GEOL 6150 ONLY] Print out the table from homework. Code Output YOUR CODE GOES HERE. EX: Problem la: You should have one line of output for each of the following a, b, c, d, and e. Graduate students you will have an additional output. a = 1; b=0; x = 1; yla = XX Problem 2a: a = 1; b = 0; x = 1; yla = XX Blank Grid 3 2 1 0 -1 -2 -3 ܂ -3 -2 -1 Problem 1f x (a) (b) (c) (d) (e) -2 XX YY ZZ EE GG -1.5 XX YY ZZ EE GG 0 1 2 3
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning