Question: Write a python code to calcualte resultant force. theta1=60 theta2=-30 import numpy as np import math from math import * # Import aLL the math

Write a python code to calcualte resultant force. theta1=60 theta2=-30

Write a python code to calcualte resultant force. theta1=60 theta2=-30 import numpy

import numpy as np import math from math import * \# Import aLL the math functions from the math Library from numpy import array \# Complete the function given the variables F1, F2, theta1 (positive, degree), theta2 (negative, degree) and return the value as array \# Hints: Use numpy. array to form the force vector and then add the force vectors \# Remember to convert the degree to radian in the calculations and be careful of the sign def force_vec(F1, F2, theta1, theta2): R=np.array ([,]) \# Resultant force vector, Initiation of the value * YOUR COOE HERE return R \# \# Check your answer F1=3e F2=200 Theta 1=60 Theta2 =30 print(force_vec (300,200,60,30) )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!