Questions tagged [education]
Questions about the use of Mathematica/WL in education and/or about teaching Mathematica, or learning it.
162
questions
0
votes
1
answer
40
views
Export and save multiple images with a single command
I want to save multiple images, each with an appropriately assigned name, in my working directory. The images show inverse trigonometric function plots listed below:
...
1
vote
0
answers
324
views
An extension to the real number line [closed]
This is an alternative approach to Wolfram's definition of $0\times \infty = \tilde{\infty}$ where $\tilde{\infty}$ is a numerical quantity of infinite magnitude with simply undefined real and ...
1
vote
2
answers
92
views
Please I need help to define a function of two variables (t,x)!
Let's define the following function:
f[t_, x_] = t^2 + t*x*(1 - x)
such that $x \in (0,1)$ and `$t \in (0,0.02)$
The problem is when I want to define the following ...
4
votes
1
answer
128
views
How to add doodles and sketches in a mandala
i discovered mathematica yesterday; and i've been playing with RandomMandala since.
i also saw this question; and i really liked the second answer; but i like the ...
2
votes
3
answers
176
views
Change of variables of a random variable
I'm looking for a way to perform the change of variable of a random variable. In particular, I've a random variable $X$ with probability density function:
$$
f_X(x) =
\begin{cases}
a \, e^X \quad &...
2
votes
1
answer
68
views
Functions composition - Unreadable result [closed]
I tried to evaluate the following composite function:
...
0
votes
1
answer
41
views
Using the symbol of the system of equations [duplicate]
Part 1
I'd like to know how to use the symbol of system of equations (left curly braces). I tried the following code:
Part 2
How can I add a third equation?
0
votes
1
answer
96
views
Symbol of system of equations
I'm wondering if there is a way to use the symbol (the left curly bracket) of a system of equations. So far I found only the following "symbol":
I need to remove the two conditions.
EDIT2: ...
3
votes
3
answers
156
views
Finding all partitions (2 elements per subset) of a set composed of an even number of elements
I'd like to find all the partitions (each subset of a partition should contain 2 elements) of a set composed by an even number of elements. For example, given $A=\lbrace 1,2,3,4,5,6 \rbrace$, I'd like ...
0
votes
1
answer
50
views
Adding Assumptions in double integral written in "math input" mode
I've the following double integral and I'd like to write Assumptions->Re[c]>0, but if I try to do it, I get a syntax error. How can I add the above condition but without changing the ...
2
votes
2
answers
93
views
Verifying probabilities equality by imposing conditions
I'd like to verify the following equality in Mathematica:
$$
P(Z_1+Z_2=2,Z_1=1,Z_2=1)=P(Z_1=1,Z_2=1)
$$
by knowing that $Z_1,Z_2 \in \lbrace 1,2,3,4 \rbrace$ are two independent and uniform random ...
1
vote
1
answer
84
views
Minors of a symbolic matrix [duplicate]
I'm trying to get the minors of a symbolic matrix, but it doesn't work (I'd like to use the first command below to create the matrix, not other commands). Can you tell me why and how to fix it?
...
1
vote
0
answers
69
views
How to study Mathematica as a newbie?
I am a somehow experienced programmer in MATLAB and Python.
I was wondering if anyone can help me with instructions and useful resources to learn Mathematica as fast as I can.
What are the best ...
13
votes
2
answers
1k
views
Anti-cheating elements in a Mathematica notebook
Is there a way to check if two notebook files have the same source or they were shared by two users. I send pre-filled notebooks to my students to get into Wolfram Mathematica. However is very easy ...
-3
votes
1
answer
86
views
I have this array from Matlab. I couldn't create a matrix like it using mathematica. I need help please [closed]
N=1000;
v0=1;
v=v0.*ones(1,N+1);
% first well
for i=341:460
v(i)=0;
end
% second well
for i=540:659
v(i)=0;
end
0
votes
0
answers
86
views
Non linear first DE with lot of parts
I want to know how I can solve this equation in Mathematica I guess I missed something!!
DSolve[ {a (h[a])^2 h'[a] +(nh[a]/ a^2) + m(h[a])^3 - l (h[a])^2 - t == 0}, h, a]
h[a] is my function and n,m,l,...
1
vote
0
answers
67
views
Inverse image of a subset of the codomain of a function
I'm wondering if it's possible to evaluate the inverse image of a subset of the codomain of a function in Mathematica.
For example, if I consider $f(x) = x^2: \mathbb{R} \rightarrow \mathbb{R}$ (for ...
14
votes
4
answers
919
views
Best suited Wolfram tool for a high school student
My daughter is a high school student and she likes science. In a couple of years she will go to university. I had a look at the Wolfram products (I used myself Mathematica when I was young) but I was ...
0
votes
0
answers
44
views
Equation issue: Solve gives an empty output
I need c1,c2....c9 values. Why is Solve returning an empty list?
How i can fix it? Thanks for any advice.
...
1
vote
0
answers
100
views
Making Standalone executable out of any mathematica program
Is it possible to make an executable file out of any mathematica program so that It can be run on any windows computer not having the mathematica.
In case of FORTRAN (on windows), it is possible to do ...
1
vote
1
answer
54
views
Mathematica help with NIntegrate
I am fairly new to mathematica and I'm trying to generate an SIS s-wave IV plot using the formulae in the attached image. Could I get some help in fixing the issue?
1
vote
2
answers
124
views
HatchFilling in Mathemathica fills the entire are under curve
The Hatchfilling command is failing for me, i want to fill the area under the curve with vertical lines. If any suggestions plz do share. Thankyou.
0
votes
1
answer
174
views
Can anyone provide a Roadmap to learn Wolfram Mathematica
I know someone who finished masters in mathematics but literally knows nothing about how to use computers, now he wants to learn how to apply all of the math he knows using computers so I'm doing the ...
3
votes
1
answer
354
views
How to use Mathematica with hardly any financial resources
I'm a student from Afghanistan and I like to use Mathematica to experiment with as a hobby. But I cannot afford it. Does any one know of a free option?
4
votes
3
answers
176
views
Graph color conjuction mathematica
In the image, I split the graph of h[x] into 4 different graphs that show h[x] in different intervals with different colors. Is there anyway to show the entire function in one graph but have the ...
1
vote
1
answer
109
views
Concavity of trig function [closed]
The original function is:x^2-4x+7cos(x)
I attempted to find concavity on the interval [-4,4]using mathematica but i'm not quite ...
1
vote
1
answer
135
views
function intervals of increase and decrease on trig function
Im having a hard time finding the intervals where the function: f[x_] := x^2 - 4x + 7 Cos[x] is increasing and decreasing using mathematica. I tried using ...
0
votes
1
answer
97
views
Can't change color of graph in Mathematica Manipulate plot [closed]
I want to color code my functions with the Plotstyle command shown in the image but it doesn't allow it. Is there any possible way to change the colors? I need to know which graph corresponds to which ...
0
votes
0
answers
44
views
Find the eigenvalues for 3 equations after variable separation
I have to find the eigenvalues for three functions obtained with variable separation method.
The functions result from the following expression:
I tried with the following code:
...
1
vote
0
answers
33
views
Mathematica empty plot [closed]
Function:
F[t_] := 0.78540 - 0.63662 cos (2 t) - 0.07074 cos (6 t) - 0.02546 cos (10 t) - 0.01299 cos (14 t)
Plot command: ...
0
votes
1
answer
61
views
How to solve this wave EDP with Mathemamatica ? What is the best solver for this?
Help me please to understand how to solve many EDP with Mathematica.
...
4
votes
1
answer
126
views
How to convert a Piecewise function in a HeavisideTheta function?
I want to convert a Piecewise function in a HeavisideTheta function in order to correctly evaluate its derivatives at the point of abrupt change and then integrate the result along the axis. How can I ...
2
votes
1
answer
154
views
Why Mathematica is not producing output and taking too much time
I'm trying to solve the given system of ODES but the Mathematica is taking too much time and not producing any output. I was trying to check the error by evaluating one one command but there was no ...
5
votes
1
answer
349
views
RSA encryption/decryption with signed message
I was going through a book with some tasks that you can work with mathematica on, and I found this particular task interesting:
Proffesor Alice has sent an assignment to Bob, one of her students. To ...
0
votes
1
answer
130
views
How to use wolfram engine with mBlock
Has anyone tried to make wolfram engine work with mBlock user interface? I thought I saw a webpage once but can’t find it again.
4
votes
1
answer
147
views
Simple function for a car traveling through traffic light
There is a straight road of 10 miles with traffic lights every .5 a mile. The green light lasts 60sec, the red light lasts 55 sec.
A car traveling 30mph should get every green light (it basically ...
4
votes
0
answers
88
views
Automated grading with mathematica
I will use Mathematica in teaching university courses. Is there a way to set up quizzes and automated grading. If so, can you point me to the documentation?
3
votes
2
answers
70
views
Advice for making addition and multiplication tables for my kid
I'm working with my 6 year old on understanding and mastering addition. As a result, I want to be able to make some custom addition (and eventually multiplication) tables for her to fill out.
...
0
votes
0
answers
66
views
How to draw a figure of this complex equation using mathematica?
friends. I am learning an book and find this equation:
E is the electrical field.
The book shows the figure of this equation should be this:
The x axis is w0-w.
I want to draw this equation by ...
2
votes
0
answers
834
views
Step by step solution of a limit of a sequence - Calling Wolfram|Alpha in Mathematica
I'd like to visualiza the step-by-step solution of the following limit by calling Wolfram|Alpha in Mathematica, but I don't know how to specify that n is a positive integer variable:
...
2
votes
1
answer
220
views
How to interpolate a set of points with given local extrema?
I have a set of points on the 0xy plane: say
(-3,0), (-2,4), (-1,0), (1,2), (3,0), (5,1), (6,0), (8,-2), (10,0)
I would like to use software, like Mathematica, ...
1
vote
1
answer
108
views
How to express a 2nd order ODE as 1st order ODE's? [duplicate]
Is there a built-in function that expresses a 2nd order ODE as 1st order ODE's?
If not, how can one decouple a 2nd ODE to a first-order one using Mathematica?
I couldn't find it here: Why is NDSolve ...
1
vote
1
answer
190
views
Factoring after polynomial long division [closed]
I have gotten the code to do polynomial long division, but I want my students to also factor the solution if possible.
1
vote
0
answers
67
views
Editing the Horner's method demonstration
The following code is from the Mathematica demonstration of Horner's method, I am wondering if anyone can help me remove the 2nd row in the table of the demonstration
...
2
votes
0
answers
49
views
How to make a StyleSheet with certain text in some cell types like Subsection, Subsubsection and alike? [duplicate]
I am modifying several StyleSheets to adapt them to convenient use at school. Now I am working on the StyleSheet for Mathematics classes. I would like to make several types of default headings on the ...
0
votes
0
answers
30
views
How to make a StyleSheet with a custom-defined Cell type that will be open by default?
I am making a StyleSheet to conveniently use them for homeworks and class works in Mathematics classes. I base it on the JournalArticle StyleSheet. I would like to make it such that by Default opens ...
0
votes
1
answer
52
views
Solving a specific equation in Mathematica & Finding the range of a value in an inequality
Is there any way to solve (or even approximate the value of x) the following equation in Mathematica?
...
7
votes
0
answers
286
views
Use of Mathematica for Machine Learning Course [closed]
I am interested in others' experience using Mathematica for machine learning and bioinformatics course curricula. Let me first say that I have been programming with MMA for almost 10 years now (out ...
0
votes
0
answers
75
views
Solve a Differential equation analytically instead of numerically
I want to solve the differential equations (shown below in the list 'eqs') analytically instead of numerical. Using NDSolve the following code works perfectly fine but using DSolve it doensn't. I ...
5
votes
1
answer
1k
views
How to use Mathematica in AWS cloud?
I have a free account in AWS cloud for 1 year for $750$ hours. How to run Mathematica in AWS cloud? And is Mathematica chargeable in AWS cloud?