Question: I know it's not that's why I posted it here! Objectives Compile and run C++ code Take user inputs and produce outputs Understand C++ data


I know it's not that's why I posted it here!
Objectives Compile and run C++ code Take user inputs and produce outputs Understand C++ data types Perform arithmetic operations O You can find a document called Homework 2 Background in the Week 4 Module on Canvas. This document will serve as a reference for some fundamental syntax in C++. Submissions C++ files. All files should be named as specified in each question, and they should compile and run on VSCode to earn full points. TAs will be grading the style of your code and comments. Please see the Style Guide file on Canvas and Homework 2 Background file on Canvas, both in the Week 4 Module. At the top of each file, write your name with the following format: // CS1300 Spring 2021 // Author: Punith Sandhu // Recitation: 123 - TA name // Homework 2 - Problem # ... When you are finished with all the questions, zip all files. Submit the zip file under the assignment Homework 2 on Canvas. Code Runner. The correctness of your program will be graded by Code Runner. You can modify your code and re-submit (press Check again) as many times as you need to, until the assignment due date. You can find Code Runner on the page titled Homework 2 - Coderunner in the Week 4 Module. Question 6 (8 points): Calculating the probability in a standard normal distribution Create a program that takes a real number x as the input (x is of type double) and computes its probability in the standard normal distribution. The standard normal distribution is a special case of normal distribution where the mean = 0 and standard deviation = 1. The probability can be computed using its probability density function (PDF) mentioned below. 1 1 4(x) = e 21 For a use M_PI, and to compute e use the function exp(). Both M_PI and exp() are available in #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
