TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 84)

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

Generate random lines that don't be too crowded between the intersections

It's easy to generate random lines, such as thisn = 8;lines = InfiniteLine /@ RandomReal[1, {n, 2, 2}];points = RegionIntersection @@@ Subsets[lines, {2}];Graphics[{lines, Red, points}, PlotRangePadding -> Scaled[.2]]If there...

Asked on 06/05/2021

2 answer

RSolve problem not working

I tried to use Mathematica to find $a_{n}$. But unfortunately, it returned a equation that I can't understand. Here is the code below.eqn = RSolve[ a[n...

Asked on 06/05/2021

1 answer

Dynamic plots using cpu rather than gpu

I'm trying to graph a few dynamic and animated graphs but am running into some issues.Whenever they are moving, the graphs loose almost all clarity:...

Asked on 06/05/2021 by Flumpo

1 answer

RegionFunction with a parametric curve

I would like to produce contour and density plots for a known function of x and y for x>=0 and y>=0. The function has a singularity curve in the x-y...

Asked on 06/05/2021 by user26718

3 answer

How to make FindRoot work with PolyLog functions

I have the following code:q = 1.6*10^-19;hbar := 6.63/(2*[Pi])*10^-34;m0 = 9.1*10^-31;kb = 1.38*10^-23;Cap := 4.5*10^-3;W := 50*10^-6;mu := 4.3*10^-4;n := 20;vth = ((3*kb*300)/m0)^0.5;vt := -3.5;Rex := 15 ;vg =...

Asked on 06/05/2021

1 answer

Calculate surface normals at the boundary of a Graphics3D object

How do I go about calculating and plotting the surface normals at the boundary of a Graphics3D object? For example, consider this custom-defined ParametricPlot3D with boundaries (see Get Graphics3D...

Asked on 06/04/2021 by ap21

2 answer

Get position while matching pattern

I want following imaginary feature : PositionOf Example1)In[1] Cases[{3,5,1,7,2,8,9,7,5,6}, x_ /; x > 4 :> PositionOf[x]]Out[1] {2,4,6,7,8,9,10}Above code extracts elements bigger than 4 (x_ /; x >...

Asked on 06/04/2021

1 answer

Include parameter values with data for safe Export and Import

Usually, when saving data as dat. file I include information about the parameters used to generate the data in the file name. Could I include that information with the generated...

Asked on 06/04/2021

1 answer

How can I rearrange my list?

I have this list, {{a}, {i1, i2, i3}, {1, 2, 3}}which I want to rearrange to this: {{1, i1, a}, {2, i2, a}, {3, i3, a}}It...

Asked on 06/04/2021

4 answer

Randomly Choose from list but meet conditions

I have a list of integers from 0-99, but some of the integers have been randomly removed. I want to pick a random integer that is still in the list,...

Asked on 06/04/2021 by Kenneth Eaves

5 answer

Ask a Question

Get help from others!

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