Questions tagged [education]

Questions about the use of Mathematica/WL in education and/or about teaching Mathematica, or learning it.

Filter by
Sorted by
Tagged with
1
vote
1answer
59 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
1answer
65 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.
0
votes
0answers
26 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 ...
1
vote
0answers
37 views

How to make a StyleSheet with certain text in some cell types like Subsection, Subsubsection and alike?

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
0answers
42 views

Non-linear ODE from closed-loop system and Response (Part II)

I again need help with the Mathematica. We have the following affine system. I need to get expressions describing the changes of $x_{1} \left( t \right)$ or $x_{2} \left( t \right)$. The only thing ...
0
votes
1answer
40 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? ...
0
votes
0answers
64 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 ...
2
votes
1answer
513 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?
-2
votes
1answer
31 views
0
votes
1answer
35 views

Limit function and DirectedInfinity as output: Interpretation

I tried to compute the following limit: In[12]:= Limit[-A/2 x - 2 x, x -> +Infinity] Out[12]= DirectedInfinity[-2 - A/2] Does the output tell me that the ...
0
votes
0answers
63 views

How to do this numerical integration via Simpson’s rule?

this is the question. Develop a code to perform a numerical integration for the following functions using Simpson’s rule. You must implement the algorithm in the form of a Module[ ]. Partition the ...
3
votes
3answers
379 views

How can I obtain and work with a Platonic dodecahedron?

I want to obtain and work with a Platonic dodecahedron like this one: http://comsics.usm.my/tlyoon/teaching/ZCE111/1819SEM2/projects/Dodecahedron_platonic4.gif I dont have basic knowledge needed to ...
6
votes
3answers
366 views

How to do this Padovan spiral using Mathematica?

how to do this unusual pendovan spriral? can anyone help me ?
20
votes
2answers
1k views

How to verbalise code in Mathematica?

How do you read an expression like? x + y /. x -> 2 Looking up /. and -> in Mathematica docs it says ReplaceAll and Rule. But you would not pronounce the ...
3
votes
1answer
115 views

Individualised test paper generation (and marking)

I would like to use mathematica to create individualised tests that can be printed out for students to complete(handwritten). I would also like to be able to generate individualised printed answers. ...
1
vote
1answer
84 views

Cause of loop inefficiencies? [closed]

While I have seen a lot of documentation regarding the inefficiencies of loops in Mathematica, I am still curious as to why-- while I know it is intentionally developed this way to allow for improved ...
1
vote
0answers
57 views

Piecewise function inside Integrate - Wrong result

I tried to evaluate the following integral: ...
0
votes
2answers
93 views

Verifying equality $ (\vec a \times \vec b)^2 = \left| \vec a \times \vec b \right| ^2 $

I'm trying to verify the equality $ (\vec a \times \vec b)^2 = \left| \vec a \times \vec b \right| ^2 $ in Mathematica. How can I do it? Thank you for your time.
-2
votes
1answer
67 views

why my code doesn't work [closed]

my code is eqn = A ((3 n + 1)/(n + 1)) ( 1 - (r/R)^((n + 1)/n) * B) == C *(n/r) * D[T[r], {r, 2}] DSolve[{eqn, T[R] == Tw, T'[0] == 0}, T[r], r] output is <...
3
votes
3answers
565 views

Iteration on a matrix

I want to update "matrix1" 100 times. "matrix3" will be new "matrix1" and it will iterate 100 times. Should I use a loop or function? First iteration is: ...
0
votes
1answer
74 views

How to save the output data of second order differential equation in Mathematica?

I am beginner in Mathematica. I am trying to save the output data as a text file but I could not save ! ...
2
votes
2answers
80 views

Problem with the Derivative Operator (')

I was working through some physics equations and came to a dead stop when I couldn't get the Derivative operator to work on equations with 2 variables. An example I ...
0
votes
1answer
71 views

Interpretation of PolarPlot

I tried to plot the function $r=-2t$ with $t$ in $[0,2\pi]$: PolarPlot[-2 t, {t, 0, 2 Pi}, AxesLabel -> {x, y}] When $t=\pi/4$, I have: $$r=-\pi/2=-1.57$$ ...
2
votes
1answer
138 views

Domain and codomain of a function

I am wondering if it is possible to get domain and codomain of a function in Mathematica (by using only built-in functions if possible). For example, I would like to give as input the function $tan(x)$...
4
votes
4answers
338 views

Alternative form of ArcSin[Sin[x]]

Is it possible to get the following result in Mathematica by using only built-in functions: $$\arcsin( \sin(x)) = x $$ if $x \in [-\pi /2 , \pi/2]$ $$\arcsin ( \sin(x)) = \pi - x $$ if $x \in [\pi /...
1
vote
1answer
66 views

Building a list of random multiplication examples [closed]

I want to make a list of multiplications of randomly selected numbers that proceeds until a product greater than 50 is generated. How can I obtain such a list where each element is a product and its ...
4
votes
6answers
367 views

Randomly distribute numbers to lists

I have 4 empty lists. I would like to randomly distribute numbers from 1 to 10 to these 4 empty lists. How can I add integers to lists randomly? For example: ...
3
votes
3answers
327 views

Sum of Random Integers

I am trying to get a list of numbers with at least 1000 sums as possible, using random numbers from 1 to 10. But I don't want to get blank list output. How can I only get a list of numbers greater ...
1
vote
4answers
110 views

Summation exercise — how can I translate the problem statement into the Wolfram Language? [closed]

I'm new to both Mathematica and this forum, so this will be my first post here. I just got into Mathematica today, and I've been doing some exercises. Up to now things have been going well, but I've ...
0
votes
2answers
50 views

An Alternative Solution to a List Manipulation Example

Is there any way to write a code that has a function include Block[ ] and Do[ ] loop instead of my code? Here is my code: ...
2
votes
2answers
92 views

Converting integers to list

I'm trying to get a list output, but I get integer results. Is there a way to convert integers to a list? Here is my code: ...
3
votes
1answer
34 views

Symbolic ticks with subscript - ListPlot

Is it possible to rename ticks with a name like this: "$0.125 \, V_{FS}$"? In the below code I wrote "$0.125 \, V$", I don't know how can I insert the subscript. ...
1
vote
1answer
162 views

Symbolic ticks on y axis and numeric ticks on x axis - Plot

When I insert the option Automatic or All, why are the ticks on x axis blank? ...
1
vote
1answer
37 views

Symbolic ticks on ListPlot

I tried to change the name of ticks of the y axis on a ListPlot with symbolic names with the following code (0.2 with ...
1
vote
1answer
94 views

Evaluating and rearranging an equation

I am trying to evaluate the right hand side of the following equation and then rearrange the whole thing in terms of x. Q=xT+3x*Integral(1-e^(b*t)dt The ...
0
votes
1answer
55 views

Problem with wolfram alpha equation?

Giving this as to test the equation results in "False": But simply changing the upper level on the divider, it results in true What gives?
0
votes
2answers
48 views

Solving for a variable [closed]

I have 2 equations that I want to equate to each other and solve for a certain variable in one of the equations. (1/a)-(b*e^-2a)/a= -(e^-2a*V0)/a I want to ...
5
votes
1answer
188 views

Perform BFS for the 8-puzzle

I've tried to implement Breadth First Search algorithm in MMA, to attempt to solve the 8-puzzle game. But in some cases, I ran out of memory, but on other cases it solves without problem. Here is the ...
29
votes
3answers
597 views

Analogies to Help New Users

In many of the classes that I teach, I require students to learn the basics of Mathematica which we use throughout the semester to do computations and to submit homeworks (in notebook form). Some ...
0
votes
4answers
144 views

How to use If and Goto in Table loop? [closed]

I have the following code, j=0; Table[{Label[1], j = j + 1, i, If[j == 2, Goto[1], Continue]}, {i, 1,10}] which does not work; I get ...
2
votes
0answers
59 views

Publishing the result of a research related to development of Mathematica [closed]

We are developing a library in c language by using WSTP for Mathematica. Do you know a journal for publishing our results?
3
votes
0answers
39 views

sharing problem-set notebooks without answers

I am looking for advice from instructors who provide students with problem sets in Mathematica. I have problem-set notebooks with prepared answers, which I edit fairly often. I'm seeking a best ...
2
votes
1answer
234 views

Convert decibels to amplitude - Built-in function

Is there a built-in function to convert decibels to amplitude in Mathematica? I tried with: UnitConvert[Quantity[40, "decibels"], "amplitude"] but it does not ...
0
votes
1answer
66 views

Limit of a complex function - Output=input

I'm trying to compute the following limit: Limit[ (E^(I t w)) /(2 (-I + 1)), t -> Infinity] but Mathematica does not compute it. The above limit does not ...
3
votes
2answers
258 views

Solve system of equations

I wrote the following code: Solve[{x == VIN/VOUT, VOUT == 5 VIN}, {x}] Mathematica does not solve it. How can I get the result x=1/5? Thank you so much for your ...
0
votes
1answer
423 views

Step-by-step solution of a system of symbolic equations - Call Wolfram Alpha in Mathematica

I'm trying to get a step-by-step solution of a system of symbolic equations: ...
-3
votes
1answer
51 views

What is the answer of this calculation? [closed]

? + ? = 8 + + ? - ? = 6 13 8 What is the actual answer of this question?
0
votes
1answer
58 views

Looking for introduction to equation solving [closed]

I am a beginner with Mathematica. I wanna learn how to make a program to solve a system of algebraic equations related to my master [?], so I am looking for a way to learn this in as little time as ...
2
votes
0answers
70 views

Strain-stress relationship in spherical coordinates with Poisson's ratio [closed]

I am wondering if there is a way to get the relationship between strain and stress in spherical coordinates with Poisson's ratio. I read the documentation here: https://reference.wolfram.com/...
0
votes
2answers
51 views

Two variable derivative function mathematica [closed]

I am trying to find the point where the partial derivatives are equal to zero. The function I am analyzing: f[x, y] := 3 xy - x^2 y^2; The area it is ...