Question

What is the python code to solve this type of equation in jupitor notebook 11.1cos(x)+44.9sin(x)-1.827=0 Please...

What is the python code to solve this type of equation in jupitor notebook

11.1cos(x)+44.9sin(x)-1.827=0

Please show the code clearly.

Homework Answers

Answer #1

# In[1]:


#import sympy library
from sympy import *


# In[2]:


#declare x as variable
x = Symbol('x')
#define a equation
eqn = 11.1*cos(x) + 44.9*sin(x) - 1.827
#sol for x
sol = solve(eqn, x)


# In[7]:


#print the solution
print(sol)


# In[ ]:

If you have any problem then let me know in the comment box and if you like then please rate or give a big thumbs thank you.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Matlab equation solve code please show me the code for how to solve x=1-e^-2x in Matlab...
Matlab equation solve code please show me the code for how to solve x=1-e^-2x in Matlab with explanation show me the code and result
x''+8x'+25x=10u(t).....x(0)=0....x'(0)=0 please solve this differential equation and show all steps including the characteristic equation.
x''+8x'+25x=10u(t).....x(0)=0....x'(0)=0 please solve this differential equation and show all steps including the characteristic equation.
Use python code to solve IVP. Code must print both general and particular solutions. Please paste...
Use python code to solve IVP. Code must print both general and particular solutions. Please paste full python code for your answer. IVP: y′=(5x^2)(y^2)+(125x^2), y(−7π)=10 Below is an example of code for the problem 7x″−3x′−57x=0, x(2π)=9, x′(−π)=5exp(3) : from sympy import * y = symbols('y') x = Function('x') x = dsolve(7*diff(x(y),y,2)-3*diff(x(y),y)-57*x(y),x(y)) print('The general solution is: ',x,'.',sep='') x = x.rhs xp = diff(x,y) y0, y0p = 2*pi, -pi x0, x0p = 9, 5*exp(3) x0LHS, x0pLHS = x.subs(y,y0) - x0, xp.subs(y,y0p) -...
PLEASE USE PYTHON CODE 8. Use Neville's method to determine the equation of quadratic that passes...
PLEASE USE PYTHON CODE 8. Use Neville's method to determine the equation of quadratic that passes through the points x = -1, 1, 3 y = 17, -7, -15
Consider the differential equation x′=[2 −2 4 −2], with x(0)=[1 1] Solve the differential equation wherex=[x(t)y(t)]...
Consider the differential equation x′=[2 −2 4 −2], with x(0)=[1 1] Solve the differential equation wherex=[x(t)y(t)] please write as neat as possible better if typed and explain clearly with step by step work
Solve the differential equation y"(x)+9xy(x)=0 by assuming the solution is a power series. Be sure to...
Solve the differential equation y"(x)+9xy(x)=0 by assuming the solution is a power series. Be sure to clearly indicate the recursion relationship
solve the given differential equation (x^2) y’’ -6y=0 please explain step by step
solve the given differential equation (x^2) y’’ -6y=0 please explain step by step
Please show all steps to the first order equation, using infinity series. a) solve: y' -...
Please show all steps to the first order equation, using infinity series. a) solve: y' - y = 0 b) solve: (x-3)y' + 2y = 0
Differential Equations. Please write clearly and show all work 1. Solve by Laplace Transforms: x'' +...
Differential Equations. Please write clearly and show all work 1. Solve by Laplace Transforms: x'' + x = 4*delta(t - 2*pi) The initial conditions are: x(0) = 0 = x'(0).
Solve the equation and please show your work 3(x+1)+2(x+4)=5x+6
Solve the equation and please show your work 3(x+1)+2(x+4)=5x+6