current position:Home>Polynomial to solve the matlab contains other definitions of an unknown quantity

Polynomial to solve the matlab contains other definitions of an unknown quantity

2022-09-23 07:22:57CSDN Q&A

Polynomial Solver matlab

syms r2 r9 o9 a b o2 r1 o1 %Define function name
l1=sqrt(r1^2+r9^2-2r1r9cos(o9-o1))
l2=sqrt(r1^2+r2^2-2
r1r2cos(o2+o1))
eqn1=(l1^2+r1^2-r9^2)/(2l1r1)==cos(a)
eqn2=(l2^2+r1^2-r2^2)/(2l2r1)==cos(b)
solr1r2=solve(eqn1,eqn2,'r1','o1')

img

Why can't I come out and cry

copyright notice
author[CSDN Q&A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/266/202209161508513604.html

Random recommended