CSE13S c++ programme
Assignment 4 – Calc Report Template
Your Name
CSE 13S – Winter 24
Purpose
Audience for this section: Pretend that you are working in industry, and write this paragraph for your boss.
You are answering the basic question, “What does this thing do?”. This section can be short. A single paragraph is okay.
Do not just copy the assignment PDF to complete this section, use your own words.
Questions
Please answer the following questions before you start coding. They will help guide you through the assign ment. To make the grader’s life easier, please do not remove the questions, and simply put your answers below the text of each question.
• Are there any cases where our sin or cosine formulae can’t be used? How can we avoid this?
• What ways (other than changing epsilon) can we use to make our results more accurate? 1
• What does it mean to normalize input? What would happen if you didn’t?
• How would you handle the expression 321+? What should the output be? How can we make this a more understandable RPN expression?
• Does RPN need parenthesis? Why or why not?
Testing
List what you will do to test your code. Make sure this is comprehensive. 2 Be sure to test inputs with delays and a wide range of files/characters.
How to Use the Program
Audience: Write this section for the user of your program. You are answering the basic question, “How do I use this thing?”. Don’t copy the assignment exactly; explain this in your own words. This section will be longer for a more complicated program and shorter for a less complicated program. You should show how to compile and run your program. You should also describe any optional flags or inputs that your program uses, and what they do.
To show “code font” text within a paragraph, you can use \lstinline{}, which will look like this: text.
For a code block, use \begin{lstlisting} and \end{lstlisting}, which will look like this:
Here is some code in lstlisting.
Purpose
Audience for this section: Pretend that you are working in industry, and write this paragraph for your boss.
You are answering the basic question, “What does this thing do?”. This section can be short. A single paragraph is okay.
Do not just copy the assignment PDF to complete this section, use your own words.
Questions
Please answer the following questions before you start coding. They will help guide you through the assign ment. To make the grader’s life easier, please do not remove the questions, and simply put your answers below the text of each question.
• Are there any cases where our sin or cosine formulae can’t be used? How can we avoid this?
• What ways (other than changing epsilon) can we use to make our results more accurate? 1
• What does it mean to normalize input? What would happen if you didn’t?
• How would you handle the expression 321+? What should the output be? How can we make this a more understandable RPN expression?
• Does RPN need parenthesis? Why or why not?
Testing
List what you will do to test your code. Make sure this is comprehensive. 2 Be sure to test inputs with delays and a wide range of files/characters.
How to Use the Program
Audience: Write this section for the user of your program. You are answering the basic question, “How do I use this thing?”. Don’t copy the assignment exactly; explain this in your own words. This section will be longer for a more complicated program and shorter for a less complicated program. You should show how to compile and run your program. You should also describe any optional flags or inputs that your program uses, and what they do.
To show “code font” text within a paragraph, you can use \lstinline{}, which will look like this: text.
For a code block, use \begin{lstlisting} and \end{lstlisting}, which will look like this:
my wechat:_0206girl
Don't hesitate to contact me