Voltage Divider: Solve for Missing Variable

Voltage Divider: Solve for Missing Variable - Сообщения

#1 Опубликовано: 08.04.2022 03:17:40
Mark R Harris

Mark R Harris

4 сообщений из 90 понравились пользователям.

Группа: User

Hi,

I've been unable to solve this (pardon the pun):

Показать спойлер



20220408 Voltage Divider Solve.sm (36 КиБ) скачан 38 раз(а).


Any thoughts?

Thank you in advance.
Mark
#2 Опубликовано: 08.04.2022 09:25:46
overlord

overlord

551 сообщений из 1332 понравились пользователям.

Группа: Moderator

You have defined R2, maybe that's why you can't solve.
First you need to be sure calculation variable cleared.
And if you defined your function, it will also prevent the solution.

Some remembrance for smath solvers;
solve(), roots() and al_nleqsolve() won't work directly with units.
You have to trick them for units, adding into equations.
Maple solve and FindRoot() can work with units.
I also included mathblock method, which relies on FindRoot().

If your root is beyond -20,20 you have to specify it for roots() and solve().
Unless you didn't already change Root Ranges in options.
And you also have to guess a starting point for FindRoot().

Regards

20220408 Voltage Divider Solve_v2.sm (50 КиБ) скачан 33 раз(а).

2022-04-08_15-24.png
#3 Опубликовано: 08.04.2022 09:32:28
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I've been unable to solve this


Make it SI ...

Voltage.PNG

#4 Опубликовано: 08.04.2022 09:41:34
overlord

overlord

551 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

Make it SI ...


That is not an SI unit you clown.
It is simply equal to 1, not (kg*m^2)/(A^2*s^3).
#5 Опубликовано: 08.04.2022 10:08:47
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

That kΩ is not an SI unit



kilohm.PNG

#6 Опубликовано: 08.04.2022 10:09:50
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

74 сообщений из 164 понравились пользователям.

Группа: User

Wrote

Resistive Voltage Divider Solve for R2 (or any variable)



Greetings Mark,

For your first part, you can copy and paste this formula (solved for R2):
R2:{R1*V.out}/{V.in-V.out}


For your second part, please reference the following forum topic: https://en.smath.com/forum/yaf_postst21770findunread_solving-simultaneous-equations-with-Solve.aspx
There is a healthy discussion of various methods to solve for an unknown variable.

Hope that Helps!
-Kenny Lemens, P.E.
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
#7 Опубликовано: 08.04.2022 10:16:47
overlord

overlord

551 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

kilohm.PNG


Your kΩ is not SI unit dumbass, which has value of 1.
The one you have defined as 1, that you wrote kΩ:1.
SMath kΩ of course is a SI unit, not your goofer kΩ.

If you claim your kΩ is suitable to SI, just share us the multiplication of "your" kΩ with A^2.
A is Ampere if I could help your unitless brain. For your information, result is kW.

I will just wait your gibberish reply and answer it with a new insult.
#8 Опубликовано: 08.04.2022 15:19:29
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I've been unable to solve this


As well, maple will solve. Maple is unit-less.
Smath w/o maple is missing the best, particularly in
Process Control & Instrumentation.
Why not a new thread for your Thermodynamic/Chemical project.
Cherrs ... Jean.
#9 Опубликовано: 08.04.2022 15:48:02
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Wrote


...
As well, maple will solve. Maple is unit-less.
...



Of course not. Maple units help page: https://www.maplesoft.com/index.html?path=units

Either Wolfram Mathematica:

My old units package, for version 5.0: https://library.wolfram.com/infocenter/MathSource/5511/

New Quantity package: https://reference.wolfram.com/language/ref/Quantity.html

Best regards.
Alvaro.
#10 Опубликовано: 08.04.2022 16:25:15
Mark R Harris

Mark R Harris

4 сообщений из 90 понравились пользователям.

Группа: User

Thank you all so much. The help is very greatly appreciated.
Mark
#11 Опубликовано: 08.04.2022 16:42:43
Mark R Harris

Mark R Harris

4 сообщений из 90 понравились пользователям.

Группа: User

Wrote

Wrote

Resistive Voltage Divider Solve for R2 (or any variable)



Greetings Mark,

For your first part, you can copy and paste this formula (solved for R2):
R2:{R1*V.out}/{V.in-V.out}


...

Hope that Helps!
-Kenny Lemens, P.E.



Thank you so much Kenny. The direct 'no solving required' approach is perfect.

Again, thank you.
Mark
#12 Опубликовано: 08.04.2022 20:37:47
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Of course not


Of course NOT !

Inst_Valve Sizing CV series.sm (6 КиБ) скачан 28 раз(а).
#13 Опубликовано: 08.04.2022 22:17:53
overlord

overlord

551 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

Of course NOT !


Of course it is, even your example can solve with SI units.
If you were not a duffer and enter units as they should be, you would witness the miracle.
Look Jean. No magic numbers, no conversion factors, only numbers and units.
Units can easily be shown in their kilo, mega, centi, mili form by using SI.
Declaring them as 1 or creating same name units is just pure stupidity.
I get it, you learn to calculate when units are not a thing for softwares back then.
But time is changed. Softwares have unit supports now, it is the correct path to use units.
You simply resist to learn new things, in every situation, and encourage your ignorance to new users.
Which means you don't have primer feature of a scientist or engineer.

2022-04-09_04-06.png
#14 Опубликовано: 09.04.2022 06:44:26
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

To be completely honest, I helped Maple understand units. The plugin uses the old 6th version of the program, and support for units appeared in the 7th version.
Russia ☭ forever, Viacheslav N. Mezentsev
#15 Опубликовано: 09.04.2022 10:38:56
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

About that long discussion Si and Solve,
you can get lot more solving on the canvas.
Willing difficult Titration, more convivial Pitot.
Cheers ... Jean.
By same token: thanks Viacheslav for maple/Units

Titration.sm (26 КиБ) скачан 20 раз(а).
#16 Опубликовано: 10.04.2022 00:16:13
overlord

overlord

551 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

To be completely honest, I helped Maple understand units. The plugin uses the old 6th version of the program, and support for units appeared in the 7th version.


Thanks for the unit support. So original maple has unit support since 2001.
And smath maple plugin has also unit support, that is what concerns us, which proves Jean is wrong again.
#17 Опубликовано: 10.04.2022 04:11:22
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

Thanks for the unit support.


Wrote

Updated (maple()). Fixed issue with trigonometric functions, added support for units.



A post about this can be found here.

And how it works:

Click to enlarge

In Maple units are passed as undefined variables wrapped in single quotes. Therefore, in fact, the SMath does all the work with units. This happens implicitly. But Maple can also work with them, as with symbolic variables.
Russia ☭ forever, Viacheslav N. Mezentsev
#18 Опубликовано: 10.04.2022 09:44:02
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Thanks for the unit support. So original maple has unit support since 2001.
And smath maple plugin has also unit support, that is what concerns us, which proves Jean is wrong again


Viacheslav can confirm the date maple/Units.
#19 Опубликовано: 10.04.2022 09:49:18
overlord

overlord

551 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

Viacheslav can confirm the date maple/Units.


Do your own research.
https://www.maplesoft.com/products/maple/history/pastversions_maple7.aspx

And according to this link uni provided, maple plugin has unit support for 9 years.
https://en.smath.com/forum/yaf_postst1025p8_Maple-Tools.aspx

Just admit you don't know what you are talking about.
#20 Опубликовано: 10.04.2022 09:59:19
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

So original maple has unit support since 2001.


Smath first version 2006_11_13
Mathcad 8 Pro, 11 is a Maple subcontract.
May be old collab Alvaro can confirm maple 2001 supported units ?
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений