How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Raj Your Own Question

Raj, Engineer
Category: Homework
Satisfied Customers: 1282
Experience:  4 + Experiance in IT Industry
Type Your Homework Question Here...
Raj is online now
A new question is answered every 9 seconds

Write a C++ program that prompts the user to enter the rectangular

This answer was rated:

Write a C++ program that prompts the user to enter the rectangular components (Fx , Fy , Fz) of two concurrent forces, and displays the magnitude as well as the space angles (θx , θy , θz) of the resultant force. Hint: Include ‘cmath’ library and use ‘acos()’ and ‘sqrt()’ to compute cosine-inverse and square-root, respectively.
Hi There,

I will be helping you with the code.
Can you please provide me the formula to be used for the computation?

Thank you
Customer: replied 3 years ago.
Frx = F1x + F2x
Fry = F1y + F2y
Frz = F1z + F2z

Calculate the magnitude

Then calculate angle for all components
Will it be possible for you to provide the remaining formula for calculations?
Customer: replied 3 years ago.
Magnitude = sqrt rx^2 + ry^2 + rz^2

Angle 1= rx/ mag

Angle 2= ry/ mag

Angle 3= rz/ mag
Ok Got it.
I am working on the code and will post the solution in next 1 hrs.
Will you be staying Online?
Customer: replied 3 years ago.
Ya I will be staying online, whenever you message me it come through my email. Thanks
You Are Welcome.
Now Only Angle Part is left on which I am working
Code is almost ready.
You Need the Angles to be displayed in Radians or Degrees?
Customer: replied 3 years ago.
The angles need to be shown going from deg to rad
Actually When using Function acos() it automatically displays the result in Rad so should I leave it like that or is it to be converted into degrees?
Customer: replied 3 years ago.
Radians is perfect thanks

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Raj and other Homework Specialists are ready to help you

Related Homework Questions