how to solve using "solve" command ?

how to solve the following equation for k1 and k2 using "solve" command ?
(k1+2k2)sinx+(2k1-k2)cosx=2sinx
syms x k1 k2
solve ( (k1+2*k2)*sinx + (2*k1-k2)*cosx=2*sinx), [k1, k2])
returns a sym object which I can not convert to numerical value.

Answers (0)

This question is closed.

Asked:

on 22 Jan 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!