Two dice are tossed. The number of dots observed on the dice are added together to form the random variable \(X\) and also difference to form \(Y\). Determine the possible outcomes of the random vector \((X, Y)\) and plot them in the plane. How many possible outcomes are there?
Solved
Homework Statement
Can someone explain how the expression for V(x) is plotted?
Homework Equations
The Attempt at a Solution
I understand the plots for the dotted lines but not how they got the actual plot for V(x)
Hi,
I red in reaction kinetics that if you plot the concentration of A againts "some constant times the concentration of A", the constant will be the slope of a straight line (check out the photo i attached). This threw me a bit off, so let me just make sure i understand this:
So i assume...
(sorry in advance for not knowing how to use laTex and also not knowing calculus, I thought maybe before I teach myself calculus to figure out this one problem maybe you all could fill in what I'm not figuring out... Thanks in advance...)
I recently found out that I needed to know calculus in...
Hello, everybody.
I'm trying to replicate plots from
Yang et al. 2002. Spatial resonances and superposition patterns in a reaction-diffusion model with interacting Turing modes. Phys. Rev. 88(20)
using Mathematica, to explore specifically under what parameter values the pattern of...
Hi All:
I am an electrical engineering undergrad. I would like to learn a math plotting software which would be helpful in visualizing topics in advanced calculus (my immediate need). It would also be helpful if the math plotting software was of some use in electrical engineering, but this is...
Plotting results from "for" loop
Hello,
I have a problem which it seems I couldn't solve. I have "for" loop which gives results of some calculations as, say, vectors with two coordinates. What I want is to plot the result as a point in the xy plane. This loop goes on and on with the...
Homework Statement
Plotting stopping voltage vs. frequency, we expect to find:
a) the slope is related to Planck's constant and the intercept is related to the work function of the metal
b) the slope is related to the work function of the metal and the intercept is related to Planck's...
why do we square the value of T ( time period) while plotting the graph of effect on time period of a pendulum with change in its effective length ?
also while deriving the formula of
T=2∏√(l/g)
why do we take T^2 = 1/g.
Whats the need for squaring the time period ?
Plotting a graph of acceleration agains displacement (x)
A mass of 0.3kg suspended from a spring of stiffness 200Nm-1. If the mass is displaced by 10mm from its equilibrium position and released calculate:
A) frequency of vibration
B) max velocity
C) max acceleration
D) mass...
I'm having some problem in determining the phase of an exponential Fourier series. I know how to determine the coefficient which in turn gives me the series after I multiply by e^-(jωt)
I can determine the amplitude by dividing the coefficient by 2 |Dn| = Cn/2
Now my question is how to...
I have a 3 rad/s sine wave that I am sampling every 2 seconds.
The slow sampling has created an alias of -0.14 rad/s.
I have plotted this over the top of the original continuous time signal, please see attachment.
My problem is that I only want to plot the first period of the discrete signal...
Homework Statement
Let f(z) = z3-8 and g(z) = f(z-1). This information applies to questions 1-5.
1. Express g(z) in the form g(z) = z3+az2 +bz + c
2. Hence, solve g(z) = 0. Plot solutions on an Argand diagram.
Homework Equations
Factorisation
i2=-1
The Attempt at a Solution
I have done...
Plot the point whose polar coordinates are given. Then find two other pairs of polar coordinates of this point, one with r > 0 and one with r < 0
so I did \frac{\pi}{3} + 2\pi = \frac{7\pi}{3} \therefore r > 0
and did \frac{\pi}{3} + \pi = - \frac{4}{3} \pi \therefore r < 0
so i have (2,7pi/3)...
Homework Statement
I have a set of values from a laboratory work (standard Additions practical), which I am required to plot. I am finding difficulties in plotting the values in excel because the horizontal axis must have some negative integers.
Homework Equations
The Attempt at a...
This might be an unusual thread but is that i really can't figure out how to plot single points in 3D space using MatLab.
I need to plot the points (1,0,0) , (0,1,0) and (0,0,1)
Hi Friends,
The code below is for 2D ploting in Matlab, I want to change it in 3D, please if anyone know how to do this.let me know
thanks in advancefigure(1);
popcosts=[pop.Cost];
repcosts=[rep.Cost];
plot(popcosts(1,:),popcosts(2,:),'b.');
hold on;
plot(repcosts(1,:),repcosts(2,:),'r*');
hold...
Hi,
Could You help me with problem mentioned in the topic? I copied translational data (3 column vectors) from modal analysis in Patran (from f06 file). Now I have problem in reproducing the results in Matlab. I am trying to draw normal modes in Matlab, but I haven't got much luck so far...
Hi guys
I've been having some trouble plotting the p(x) and d(xy) atomic orbitals on Matlab.
I have been given that p(x) = x*e^-(x^2 + y^2 + z^2)^0.5
and d(xy) = x*y*e^-(x^2 + y^2 x^2)^0.5
Now I want to plot these orbitals on MATLAB using mesh or the surf command and then plot the...
Homework Statement
Given that, in free space the probability density for a wave function (free particle) is \mid \Psi(x,t)\mid^2=P(x,t)=\frac{\sigma_0}{\mid \alpha \mid^2\sqrt{\pi}}exp(-(\frac{\sigma_0}{\mid \alpha \mid})^4\frac{(x-x_0-p_0t/m)^2}{\sigma_0^2})
What is need to be done is to...
Matlab rook here,
Suppose I'd want to plot the Gaussian for 10 different values for n:function gauss(c,n) = plot_gaussian.m
x=-1*c:0.1:c;
gauss(x,j)=sqrt(j./pi)*exp(-1*j.*x.^2);
for j=1:n
plot(x,y)
end
And then I'll type gauss(3,10) to plot 10 curves in the interval [-3,3]
Also, if I'd...
Hi,
I want to write a very simple code to plot the beam emittance knowing x,y,z and vx,vy,vz of each particle.
I have generated with a tracking code a very simple beam (cone distribution with 1° divergence) and I want to compare the emittance of this beam with the one calculated by a...
Apologies if this is readily available, but I can't seem to find an example of it.
How do I go about plotting multiple functions on the same graph? It keeps splitting my functions up into separate graphs. Nothing complicated, just something like two planes intersecting.
Homework Statement
i need to fix a point and rotate another one
Homework Equations
The Attempt at a Solution
i did this
i've created this:
x=rand(1,3)
y=rand(1,3)
scatter(x,y)
how do i select and make one point fix and make the other point rotate around it?
HI,
i have a set of data that i want to plot with matlab, using an equation.
i have all x data points and want to generate y values for each x data point.
function y =marko(x)
y= (4.11/1.98)*{(1/4*((1-x/L).^2))-(1/4)-(x/L)};
x=(218+data points)
from the command window i have...
In a few of my books on Complex variables they show how you can look at a complex function as essentially a mapping from what plane to another.
Does anyone know if there would be a way to have mathematica plot how a complex function would transform one plane into the other?
Thanks for any...
Hi,
Homework Statement
I wrote the following function for the interpolation polynomial of log(x):
function pol = Lagrange1(x)
dim1 = [1, 2, 4];
dim2 = [0, 0.693, 1.386];
pol1 = dim2(1)*(x-dim1(1))*(x-dim1(3))/[(dim1(1)-dim1(2))*(dim1(1)-dim1(3))];
pol2 =...
Hello,
I am not where this question goes, its not part of a homework either!
I am trying to figure out how to plot the heaviside (unit step) with such an expression
H(x^2-1)
so I do this:H(x^2-1) = 1 for x^2-1>0 -> x>+- 1
and H(x^2-1) = 0 for x^2-1<-0 -> x<-+1
But this tells me only that it...
Is anyone familiar with plotting an infinite domain PDE where the solution is an integral.
Take the solution
\[
T(x,t) = \frac{100}{\pi}\int_0^{\infty}\int_{-\infty}^{\infty} \frac{\sinh(u(10-y)}{\sinh(10u)} \cos(u(\xi-x))d\xi du
\]
How could I plot this in Matlab, Mathematica, or Python?
As a...
Hi!
I was wondering how you plot the sunspots on a diagram/template with degrees on it. In other words, I want to plot a sunspot and calculate the position of it in degrees. I have no idea how to do it but I think it includes the assumption that the rotation axis of the Sun is perpendicular...
This is driving me crazy. The derivation of the current distribution in a long cylindrical wire is extremely straightforward, giving
J(r) = J(a) \frac{J_0(k r)}{J_0(k a)}
where J is the current density, a is the radius of the wire, and k is the complex wave vector, which in a metal (with...
I have to plot a bunch of cosine waves and then add them up but my problem is that each indiviudal wave looks really weird when I plot and not like a cos wave. The program runs and plots the final result but I'm not sure how accurate it is because when I plot each individual cos wave I know it...
In order to plot the error vs the change in 1/dx, I need to integrate the the solution with different a dx and take the max error. However, I don't know how I can set this up in python or matlab.
In python, my code for just one dx is:
import numpy as np
L = 80.0
N = 512
dt = 0.0002
tmax = 10...
Hi all my first post as I need to seek help!
I have just learned some simple Fourier series stuff and would like to be able to plot my answers in matlab.
Assuming this is correct I was wondering if someone would be able to walk me through plotting this equation in Matlab...
How can I plot the runge kutta 4 stability region? I know on the i axis the max is \(\pm 2\sqrt{2}\). The plot makes a heart type shape. I don't know how to plot it though but would like to.
Homework Statement
State what you would plot to get a straight line if experimental (x,y) data are to be
correlated by the following relations, and what the slopes and intercepts would be in
terms of the relation parameters. If you could equally well use two different kinds of plots...
Given the first order ODE y' = 2 * y^3 * x, plot the isoclines corresponding to slopes m = +1 and m = -1.
My answer:
The isoclines are given by m= 2 * y^3 * x or y=(m/(2*x))^1/3
The slope elements on the isocline y=+- (m/(2*x))^1/3 all have gradient m
For m = 1, the isocline is y =...
Homework Statement
This is a question refer to a transistor in a common emitter configuration.
And this is the table with data of Vce and Ic at certain range of Ib stored in microsoft excel, and the graph is plotted within the file attached(in another tab)...
Homework Statement
I have a list of data in .csv format that looks like the following:
10 5 TRUE
10.1 5.1 TRUE
10.2 5.2 FALSE
10.3 5.3 FALSE
10.4 5.4 FALSE
10.5 5.5 TRUE
10.6 5.6 TRUE
...
There are thousands of entries...
So, I have to assess the relationship between the Constant of a Spring and the Time Period of Oscillations.
I have researched the equation that links the two and I know that to have a straight line graph I need to plot:
T2 against 1/K
However, I do not know why; how I get to that conclusion...
If this is better served in a section like Nuclear Engineering please let me know.
Homework Statement
Simulate the projection of a radiation source onto the plane of a collimated detector. Check if said projection is circular.
The attempt at a solution
What I want to do is...
I am trying to complete the following question:
By pumping the air pressure in a tank is reduced by 15%/second. The percentage of air pressure remaining is fiven by the formula.
p=100(0.85)^t
Plot p against t for 0 < t < 30s.
Deternine the rate of change at 5s & 10s. I have plotted...
Homework Statement
I am trying to solve and plot the function, x'(t) = 1 + t*sin(t*x) where x(0) = 0 and t_final = 1, in order to compare this exact solution to the approximations of Euler's and Improved Euler's Method. Can anyone help me with the code in order to solve this problem, and then...
Hi everyone,
I am trying to solve and plot the function, x'(t) = 1 + t*sin(t*x) where x(0) = 0 and t_final = 1, in order to compare this exact solution to the approximations of Euler's and Improved Euler's Method. Can anyone help me with the code in order to solve this problem, and then plot...