I am trying to solve a function using Solve in mathmatica.(adsbygoogle = window.adsbygoogle || []).push({});

I am solving for multiple constants.

Can i use a solve on a function i have made in Mathmatica... I mean

a function like this

L2[n_, q_] :=

Total[(Range[0, IntegerPart[n/((4.1/100)/q)]]*q + 0.0038)*\[Pi]*(4.1/

100)/q] + (((IntegerPart[n/((4.1/100)/q)] + 1)*q) +

0.0038)*\[Pi]*(n - IntegerPart[n/((4.1/100)/q)]*(4.1/100)/q)

And use the solve function like this

Solve[30 == 0.0175*10^-6*L2[n, q]/((q/2)^2*\[Pi]) &&

L2[n, q] == 29.918420573509337`, {L, n}]

Or how should i use it?

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Solve function not working why?

**Physics Forums | Science Articles, Homework Help, Discussion**