Answered step by step
Verified Expert Solution
Question
1 Approved Answer
{(1+V2: r=1 1- [60p] calculte the following formulation. is entered by user. 2x + (x) 2 a-Dont use pow function. if you need to calculate
{(1+V2: r=1 1- [60p] calculte the following formulation. is entered by user. 2x + (x) 2 a-Dont use pow function. if you need to calculate power of a number write your own code with a loop. (penalty of usage pow function is -30p) b-You can use sqrt function for sequare root 3- [20p] According to folowing stepts Draw the flow chart[10p] and write the c code [10p] 1. Start 2. Sum=0 3. k=1 4. read a value from use from user which is "V" 5. If v is greater or equal to "1" AND k is less than v, repeat following sub steps 5.1 Sum = Sum + k 5.2 k=k+2 6. Output the sum 7. Stop
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