i am trying to type in a function to find theta, but matlab keeps saying (The expression to the left of the equals sign is not a valid target for an assignment.) or (is not a valid expression or(adsbygoogle = window.adsbygoogle || []).push({});

equation.) the equation I'm trying to compute to get theta is :

v^2/r=U*g*cos(theta)-g*sin(theta)

v=1.8 ; r=0.3 ; U=0.2 ; g=9.81

i am trying to find theta

i would really appreciate the help

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

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

# Matlab help needed

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