Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed 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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions