TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 69)

Find answers to your questions about Mathematica or help others by answering their Mathematica questions.

Convenient value assignments in OOP

It is possible to implement OOP in Mathematica using something likeobj=c[<|a->1,b->2|>]and it's convenient to extract value from the object by setting:c[a_][b_]:=a[b]obj[a]1but how to write a convenient value assignment...

Asked on 06/26/2021 by Wjx

1 answer

What is the best optimization method for the following function?

I have calculated the energy of the electrons as a function of their angles. and I want to find the angles for which my function (energy) is minimized. I have...

Asked on 06/26/2021

0 answer

Run .m file in terminal

I have the following .m file(* ::Package:: *)(* ::Input:: *)(*out=1+1;*)(*Print["Test"];*)(*Export["/path/test.txt",out];*)and I am trying to run it in the terminal withmath -run -nomprompt < name.m but it doesn't work....

Asked on 06/26/2021

1 answer

Integration shows RootSum and really long expressions

I am doing this integration and when I use $C_alpha(T)$ as just constant numbers(Subscript[C, [Alpha]][T_]= Piecewise[{{1.2, T < 100}, {8, T > 1000}, {5, 100 <= T <= 1000}}]),...

Asked on 06/26/2021

1 answer

Unknown plotting issue

I'm trying to model a surface based on the parameters listed here, it's a 2p orbital isosurface using the equations S10, S11, and S12 My model is...

Asked on 06/26/2021 by Erik Hammett

2 answer

Defining function in terms of previously defined symbol

With a very high frequency I find myself working with giant and hard to alter expressions in a situation where it would be convenient to do something likefunction =...

Asked on 06/26/2021 by GaloisFan

2 answer

How to texturize a Disk/Circle/Rectangle?

The documentation for Texture states that "other filled objects" can be texturized:Texture[obj] is a graphics directive that specifies that obj should be used as a...

Asked on 06/25/2021

7 answer

ImportMesh complains the element mesh has insufficient quality of 0

I'm using ImportMesh in FEMAddOns package. When I imported the following mesh created in Abaqus the following...

Asked on 06/25/2021 by sgzslg

2 answer

Evaluating a scalar product of a vector and a differential operator vector

I created a scalar product of a vector $in mathbb{R}^2$ and of a vector consisting of a differential operatorsop[t_] = (D[#, {t, 2}] - 3 D[#, t] +...

Asked on 06/25/2021 by Uwe.Schneider

1 answer

How to change the expression of the result of function `LinearSolve`

I want to solve the following linear equations: $$left{begin{aligned}x_{1}+3 x_{2}+x_{3} &=02 x_{1}+6 x_{2}+3 x_{3}-2 x_{4} &=0-2 x_{1}-6 x_{2}-4 x_{4} &=0end{aligned}right.$$ The form of the solution...

Asked on 06/25/2021

2 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP