if this is in the wrong forum i truly apologize but this is an engineering question and who better to answer but engineers, i have dificulty getting problems started in C++, i just dont know how to get a problem started, writing the rest of the program is easy but i cant diagnose it properly, any of you know what i mean?? anyways hee is my problem.(adsbygoogle = window.adsbygoogle || []).push({});

moment MA about A due to the force exherted by the spring on the circular bar B is given by MA=h Fx - d Fy

where

Fx = F cosβ

Fy = F sinβ

F = (20) (L-1)

L = [(3-h)ˆ2 + (4cosα)ˆ2]ˆ0.5

β = tanˆ-1[(3-h)/(4cosα)]

d = 4(1-cosα)

h = 4sinα

units force length N and m respectively

write a C++ program to do the following

compute values of MA fo angle a ranging from 30 - 60 degrees in intervals of 0.1 degrees

compute and display the maximum absolute value of MA and the corresponding value of angle a in degrees

can anyone help me get started please

http://memimage.cardomain.net/member_images/5/web/557000-557999/557901_38_full.jpg

picture reads from left to right

4m, 3m, k, angle α, B and A

thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Dificulty getting problems started in C++

**Physics Forums | Science Articles, Homework Help, Discussion**