Homework questions are welcome, as long as they are asked honestly, explain the problem, and show sufficient effort. Please do not use this as the only tag for a question. Please do not add this tag to questions by other people unless they explicitly say that their question is part of their ...

learn more… | top users | synonyms

1
vote
2answers
111 views

GPA calculation from a set of randomly generated marks obtained

So, this is a homework question posed by my teacher: "A student has 10 courses. Find the ceiling value of the obtained marks and corresponding grade according to the following data Print the result ...
-4
votes
0answers
29 views

Picard iteration method by yn(t) [on hold]

I am really bad with Mathematica, but I have an assignment due in my Real Analysis class that requires it. Here is the question: Denote successive approximations via the Picard iteration method ...
0
votes
3answers
71 views

Defining a function which displays odd numbers? [closed]

Define a function that takes as input an integer n and returns as output the product of the first n odd numbers., i.e., 1 · 3 · 5 · · · 2n − 1. Evaluate your function at 1, 2, 3 and make sure you get ...
2
votes
1answer
51 views

Finding maximum value with LinearProgramming command

So here is a HW problem I was assigned: *Thriftem Bank is in the process of devising a loan policy that involves a maximum of $12 million. The following table provides the pertinent data about ...
-2
votes
1answer
48 views

Graph Power Series

On the same axis, graph the function f(x) = e^x and its first 6 Taylor polynomials. Please tell me how to complete this. I have tried the plot function but it's not working.
2
votes
2answers
91 views

Using RegionPlot3D to make a cone under restrictions

I have to plot a cone that satisfies this statement: Use the RegionPlot3D command to draw a picture of a cone with its point at the origin. The other end of the cone is a circle with radius 5 ...
0
votes
2answers
56 views

Write the equation as a polynomial in x and extract the coefficient of x^2 [closed]

I need help solving this problem. Thank you. (a*x^2 + b*x*Sin[y] + c*Sin[y])^2 + (a*Sin[y]^2 + b*x)^3 Write the above as a polynomial in x and extract the ...
7
votes
3answers
257 views

Generating a polynomial that's accurate to within an error of no more than 1/10^5

I'm currently stuck on a question for class that asks... "Find a polynomial p[x] that you can use to calculate 6 ArcTan[x] to ...
0
votes
3answers
80 views

Parametric Equation with restrictions on the independent variable [closed]

I'm sorry if this question was answered but I am completely new to Mathematica, really learning as I go (background in Java). The questions I looked at that were suggested didn't make much sense with ...
0
votes
3answers
261 views

Solving One Equation with Two Variables

I am trying to solve an equation with two variables. It is the last step in the process of using the method of undetermined coefficients to solve a nonhomogeneous differential equation. The equation ...
0
votes
2answers
107 views

I have the roots; how can I find an equation that they will satisfy?

I have two solutions; I want is to find an equation that these solutions satisfy using mathematica. The solutions are $x= \frac{{(26-k)}^2}{26}$ and $y= \frac{{k}^2}{26}$. I know by hand computing ...
2
votes
1answer
78 views

Formatting ANOVA table and/or ParameterTable without using Grid?

Does anyone know if there is an option or function that can automatically format the output of ANOVATable and ParameterTable, ...
2
votes
1answer
93 views

Handling ± in a set of equations

First let me post the question that I am doing: You see for wave equation y2, there is a ± sign. I know how to do + or ...
2
votes
1answer
128 views

Plotting and ContourPlot

Make a Plot and a ContourPlot that gives the same diagram and use ContourPlot on a ...
-1
votes
2answers
70 views

Question about plotting

I have to plot this graph http://i.imgur.com/hf54aiT.jpg I tried Graphics[{Circle[{0, 0}, 3, {-2Pi, 2Pi}]},PointSize[.025]] I don't know how to proceed from here. ...
0
votes
2answers
211 views

Plot “number of triples at each v in V(G)” [closed]

For a uni assignment, I need to plot the "number of triples at each v in V(G)". I tried to find relevant information in the Mathematica documentation through Google, but I'm lost. How do I get the set ...
7
votes
6answers
1k views

How to make a resizable chess board?

For some reason I need to create a chess board. I can create a chess board by following command: ...
0
votes
2answers
136 views

Least Square Fitting

stuck on a mathematica assignment and could really use some help. A) Fit a function with the shape log(Y) = a0 + a1log(U) to the datapoints (log(Ui), log(Yi) with an least square fitting. Show this ...
0
votes
2answers
173 views

Fraction of fibers that have failed

I have the following to set into mathematica. Assume a stress(sigma) applied on a specimen which has a number of fibers within it. All fibers that have a strength less than the applied stress should ...
0
votes
2answers
103 views

Testing the Erdos square free conjecture

Can someone please answer these two parts of my homework assignment? Adding an explanation would be appreciated! a. Test the Erdos square free conjecture for $n <= 30000$. You should use ...
3
votes
1answer
83 views

UnitStep in Mathematica when t varies differently

How can I use the UnitStep command when I have a piecewise function $f(t)$, where $f(t)= 0$, when $|t|>4$, and $f(t)=1$, when $|t|<4$? I tried with ...
1
vote
1answer
96 views

Need help defining my own rounding function

First of all: I'm a beginner with Mathematica. I'd like to define a function called Rounding which does the following: if for $x = n+a, n \in \mathbb{N}, a\in ...
0
votes
1answer
92 views

AstronomicalData not including units?

I like using mathematica to do my physics homework, and AstronomicalData is useful for that, but it doesn't seem to work properly with units. [the question is, at ...
1
vote
2answers
383 views

Using the epsilon tensor in Mathematica

I'm having a great deal of trouble getting started on a weekly homework assignment in Mathematica. The assignment requires we use the epsilon tensor which is apparently built into Mathematica as ...
1
vote
4answers
275 views

Finding a number which has the same remainder when dividing certain other numbers

I am having some trouble with formulating my problem in Mathematica for this question: Is there a number greater than 1 which leaves the same remainder when it divides into 1716, 2154, and 4271? ...
1
vote
2answers
169 views

FindFit giving weird values on a logistic equation

I was trying to fit a set of data onto a logistic equation, however it ended up telling me that the initial value when $t=0$ is greater than the maximum limit, thus I am led to believe that it isn't ...
-2
votes
2answers
92 views

Plot isn't outputting a plot [closed]

I am trying to plot the magnitude complex function (f) with respect to w. For some reason, Plot is just displaying a set of axes, with no points. Any Idea what's going on here? ...
1
vote
1answer
189 views

2D Markov Process

I have a homework project. I need to analyse a gambler's ruin where there are 6 possible outcomes of every wager with corresponding probabilities and payoffs and the gambler may vary the wager (say ...
1
vote
1answer
101 views

Question about number theory

Let S[p] denote the sum of digits of p. A prime p is said to be stubborn if none of ...
5
votes
1answer
121 views

PearsonChiSquareTest: set degrees of freedom

How to set degrees of freedom for PearsonChiSquareTest? I have this: ...
2
votes
0answers
195 views

Plotting equipotentials gone wrong [duplicate]

I'm plotting the equipotential of the potential function: $$\phi(x,y,z):=\frac{1+x^{2}+y^{2}+z^{2}}{[\left(1+x^{2}+y^{2}+z^{2}\right)^{2}-4z^{2}]^{1/2}}$$ Mathematica code: ...
3
votes
1answer
3k views

I want to draw a graph using a weighted Adjacency matrix

I have a weighted adjacency matrix as follows: ...
3
votes
1answer
209 views

Using single replacement rule to convert algebraic expression

I have been trying this problems for hours and cannot find any helpful clues. How can I convert $Sinh[3\theta]+Sinh[\theta]$ to a rational function of x given $2Sinh[\theta] = x-x^{-1}$ by using only ...
0
votes
1answer
409 views

Calculating orbital period for the logistical map [closed]

I have the following MatLab code ...
1
vote
1answer
239 views

Frequency of elements in a list (merging tally data) [duplicate]

I've got a list in the format of list={{a,1},{a,1},{b,1},{c,1},{b,1}} And I want it to "compress" into a list of pairs ...
16
votes
4answers
7k views

Finding unit tangent, normal, and binormal vectors for a given r(t)

For my Calc III class, I need to find $T(t), N(t)$, and $B(t)$ for $t=1, 2$, and $-1$, given $r(t)=\{t,t^2,t^3\}$. I've got Mathematica, but I've never used it before and I'm not sure how to coerce ...
2
votes
2answers
285 views

local variable naming & symbolic argument

I'm stuck here with my variable assignment in this scenario ...
2
votes
1answer
796 views

Using triangulation

I have been presented with 3 known points and the power densities at those points. I need to use those points to find the location of the actual antenna which is generating the signals. Power ...
2
votes
1answer
233 views

Getting the 557th element of a table

Make a table with elements $\sin(\sqrt{8 n}/4) + r\, $for $n$ from $1$ to $1000$, where $r$ is a random real number between $-0.1$ and $0.1$ that is different for each value of $n$. Also make a ...
0
votes
3answers
377 views

Creating simple procedure for The Least-Square $m^\text{th}$ Degree Polynomials

I am CS major, taking Computational Numerical Analysis course. Instructor gave us freedom of choice, we were allowed to use anything or any computer language we picked, I picked Mathematica.This is my ...
6
votes
1answer
313 views

Check homework integration in Mathematica

Given in my homework I have to compute (by hand) $$\iint\limits_{x^2+y^2\leq 1}(x^2+y^2)\,\mathrm dx\,\,\mathrm dy.$$ My solution so far: Let $f(x,y)=x^2+y^2$ and $K=\{(x,y)\in\mathbb{R}^2:x^2+y^2\leq ...
0
votes
1answer
394 views

How to solve a problem in relative motion?

I have a project due tomorrow that I have been struggling with for a month. I am utterly stumped, any help would be appreciated. The problem is: There is a ferris wheel, 30m in radius, set 80m ...