Question: Solve equation given a list of coefficients

Hello everyone,

I am trying to solve an equation using the "solve(...)" function but the coefficients of the equation are changing.

I am using the coefficients as list but the "solve(...)" function gives error: "Error, (in assuming) when calling 'Engine:-Dispatch'. Received: 'badly formed input to solve: not fully algebraic'"

I am attaching the Maple document.

 

However, what I want to achieve, is the solution for each value in the list.

Here is an easy example of what I am saying:

a=3*x+k where k=[list of values], a=[another list of values].

I want to find "x" for each pair of values (a,k) in the list.

 

Thank you !
 

``

``

LCC Resonant Converter - Frequency Finder

 

 

restart``

with(Student[Calculus1])

V__out := 50.0

`ω__line` := 2.0*Pi*50

t := [seq(0 .. 10*10^(-3), .1*10^(-3))]

theta := `ω__line`*t

v__line := 85*sqrt(2.0)*`~`[sin](theta)

m := 1

Q__s := 3.2*`~`[`^`](`~`[sin](theta), 2)

``

f__n := `assuming`([solve((1/120)*V__out = 1/sqrt((-m*x^2+m+1)^2+(Q__s*(x-1/x))^2), x, useassumptions)], [x::positive])

Error, (in assuming) when calling 'Engine:-Dispatch'. Received: 'badly formed input to solve: not fully algebraic'

 

``


 

Download LCC_gain_freqFinder.mwLCC_gain_freqFinder.mw

Please Wait...