Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For Questions 1, 2 and 3, prepare the answer in hand written and Q4 to Q6 answers should contain the CH codes and screen shots
For Questions 1, 2 and 3, prepare the answer in hand written and Q4 to Q6 answers should contain the CH codes and screen shots of output screen. Avoid submitting works done by other students. Grades: 10 Points Submit a single document in PDF format QI. What are the essential steps in programming as explained in the lecture-Briefly explain the steps Q2. Differentiate between algorithm, pseudocode and flow chart with a suitable example. Q3. Write an algorithm, pseudocode and flowchart to calculate the roots of quadratic equation Q4. Write a CH-program that accepts two vectors and the inclined angle and show the resultant vector using the relation R? = (a? + b2 + 2 ab cosx), where a, b the vectors and X is the inclined angle in radians and R is the resultant vector. Q5. Write a C++ program that accepts the three resistor values in Kio Ohms and shows the series and parallel equivalent resistance in Kilo Ohms (one program does both calculation), Q6. Write a C++ program that accepts three coefficients a, b and c of quadratic equation and display roots and incase if the roots are imaginary just need to display a message that roots are complex (using if...else statement) Please note that I will explain if .... Statement in the next lecture
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started