Distribute power into quantity

Messages in english

Modérateur : xcasadmin

XcasEngGuy
Messages : 164
Inscription : mer. janv. 13, 2010 3:20 pm

Distribute power into quantity

Message par XcasEngGuy » lun. mai 26, 2025 7:44 pm

Is there a command that will convert:

(V1/V2)^k

to

V1^k/V2^k

?

parisse
Messages : 5892
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: Distribute power into quantity

Message par parisse » mar. mai 27, 2025 12:22 pm

No single command, but this works:
exp2pow(texpand(lnexpand(pow2exp((V1/V2)^k))))

XcasEngGuy
Messages : 164
Inscription : mer. janv. 13, 2010 3:20 pm

Re: Distribute power into quantity

Message par XcasEngGuy » mer. mai 28, 2025 7:00 pm

Thank you. That would have taken me a long time to figure out!

Matt

compsystems
Messages : 605
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: Distribute power into quantity

Message par compsystems » jeu. juil. 03, 2025 1:32 am

Hello, this cmds script is very useful in step by step algebraic development of expressions, but difficult to remember, please add a new command or an additional parameter in an existing function

compsystems
Messages : 605
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: Distribute power into quantity

Message par compsystems » mar. juil. 08, 2025 5:57 pm

Idea
Add a new Scripts item to the menu bar, organizing them by category, so you can quickly paste a combination of important commands.

Scripts
EXPAND/
ExpandPow: exp2pow(texpand(lnexpand(pow2exp( | ))));

parisse
Messages : 5892
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: Distribute power into quantity

Message par parisse » jeu. juil. 10, 2025 10:58 am

I like this idea, it can also be expanded to small useful programs that users can look at as examples. I will think about that, thank you!

Répondre