How do you get the graph of cosx + sinx in mathematica?
in Calculus Answers by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

sin(x+¼π)=sin(x)cos(¼π)+cos(x)sin(¼π).

But sin(¼π)=cos(¼π), because sin(¼π)/cos(¼π)=tan(¼π)=1.

sin(¼π)=cos(¼π)=√2/2, so sin(x+¼π)=(√2/2)(sin(x)+cos(x)) or (sin(x)+cos(x))/√2.

This means that, if we plot √2sin(x+¼π) we get the graph of sin(x)+cos(x).

This further implies that we have a simple sine wave with a maximum value of √2 instead of 1 and a minimum value of -√2 instead of -1 (that is, amplitude=√2 instead of 1). And there's a phase shift of -¼π (that is, -45°) which pushes the sine wave to the left by one eighth of a cycle.

 

by Top Rated User (1.2m points)

Related questions

1 answer
asked Jul 14, 2014 in Calculus Answers by Salman Rashid Level 1 User (200 points) | 1.3k views
1 answer
1 answer
asked Jul 16, 2013 in Calculus Answers by anonymous | 669 views
1 answer
0 answers
1 answer
asked Sep 25, 2024 in Calculus Answers by Faith | 225 views
1 answer
asked Sep 17, 2020 in Calculus Answers by anonymous | 1.2k views
1 answer
asked Oct 3, 2013 in Calculus Answers by anonymous | 1.2k views
0 answers
asked Feb 5, 2013 in Calculus Answers by anonymous | 639 views
1 answer
asked Feb 3, 2013 in Calculus Answers by anonymous | 817 views
1 answer
0 answers
asked Sep 15, 2013 in Geometry Answers by Kiran7 Level 1 User (160 points) | 597 views
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!
87,515 questions
100,352 answers
2,420 comments
764,951 users