Questions tagged [education]

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

0
votes
0answers
4 views

Find the shaded part area? [migrated]

Two squares of side 5 and 2 respectively. They are touching each other. Diagonals of the square are joined. find the area of the shaded part?
0
votes
0answers
61 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 ...
3
votes
1answer
430 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
30 views
0
votes
1answer
25 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
38 views

Adding a Cosine function to alter the shape of the initial cosine function

I would like to be able to add a raised cosine to a "standerd" raised cosine. With a timedelay which I could manipulate (so the shape of the standerd cosine function is altered, meaning the function ...
0
votes
0answers
51 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
372 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
334 views

How to do this Padovan spiral using Mathematica?

how to do this unusual pendovan spriral? can anyone help me ?
10
votes
2answers
852 views

How to verbalise code in Mathematica? [closed]

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
109 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
80 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
53 views

Piecewise function inside Integrate - Wrong result

I tried to evaluate the following integral: ...
0
votes
2answers
91 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
65 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
532 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
49 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
75 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
68 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
107 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
272 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
62 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
351 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
284 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
104 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
44 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
85 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
29 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
67 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
27 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
75 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
46 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
180 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
555 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
130 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
55 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
37 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
162 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
65 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
244 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
286 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
50 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 ...
1
vote
0answers
53 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
50 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 ...
1
vote
0answers
102 views

Will my procedure be correct?

I am facing a problem when trying to solve the exercise of page 210 of the book GRAPHICS with MATHEMATICA, FRACTALS, JULIA SETS, PATTERNS and NATURAL FORMS of the authors CHONAT GETZ and JANET ...
2
votes
2answers
134 views

How can I compute $\sqrt 5$ to 200 places in base 40 arithmetic

What code should I write to compute $\sqrt{5_{40}}$ to 200 places in base 40 digits.
0
votes
0answers
64 views

Detection the coordinates of all points of a curve on an image file [duplicate]

I have a plot of a curve (the black curve without dashes) on an image file.jpg: http://s000.tinyupload.com/index.php?file_id=48857135704766357735 I'd like to detect the coordinates of all point of ...
5
votes
1answer
329 views

How can I define a variable so it will be treated as a real number?

I want to define a variable like d as a Real variable and then using that in the other equation like that: $\qquad d$ is Real $\qquad f = 5 + (1 + i) d$ But ...