Math / Science

The Math / Science topic primarily includes discussions of mathematics, physics, statistics and economic analysis, but also biology, chemistry and other sciences.

Share tech news, updates, or what's on your mind.

Sign up to Post

Dear experts,

I am planning to learn stochastic calculus from Shreve book.

I will be starting studying this topic in a couple of months.

Can any of the experts guide me to a (any) website(s) (free or paid), where these underlying mathematical functions are explained.

I believe I have the financial product knowledge with my CFA background.

Kindly guide.

Thank you
0
Dear experts,
I am planning to pursue a Masters in Financial from one of the UK universities.
Given that the H1B (Work-visa) becoming tough to get I am not too inclined to apply to US universities.
My educational background
1.      High school-commerce (no mathematics)
2.      Bachelors - commerce (no mathematics)
3.      Chartered Account - (no mathematics)
4.      Costs and Works Accountig (no mathematics)
5.      CFA (https://www.cfainstitute.org)-Some basic risk related maths
Experience: Telecom industry/Amex cards/Retail and commercial banks
Recent Profile: Prudential reporting to the regulators/capital and liquidity stress testing
Previous industry: Risk management consulting in Big 4 firm (EY, PWC, KPMG, Deloitte)
My daily routine: Study all the hours (24,7,365). I have tutors who come to my place and teach me the subjects. I have another 1.5 yrs I can give my complete attention to studies (does not include university time). Please do not see it as my arrogance. This is the level of effort and dedication I can /willing to put.
My goal now: Pursue Financial Engineering
Current status: Completed practicing High school mathematics except for Coordinate geometry and Vector algebra
Question1: are these topics required for financial engineering?
Topics: Please see file ‘High school Consolidated list of topics.doc’
Also completing c-language/starting …
0
Dear experts,

I am planning to Masters of Science in Financial Engineering (FE).

I do not have math background at all. So I have resigned from my job and now doing mathematics.

I am unable to determine whether the expertise in the following list of topics is a prerequisite for FE (See below list). I generally consult https://quantnet.com/ for details. But i am not getting any clue for the below topics.

I am clear about the rest of the topics (At high level which are required) as a pre-requisite for FE.

When i say expertise, I mean an indepth subject knowledge. By mean knowledge i mean knowing/learning to the extent it is needed to complete another topic.

Kindly guide me.

COORDINATE GEOMETRY
01. Circle :
1.1 Equation of circle -standard form-centreand radius of a circle with a given linesegment as diameter & equation of circlethrough three non collinear points -parametric equations of a circle.
1.2 Position of a point in the plane of a circle -power of a point-definition of tangent-lengthof tangent
1.3 Position of a straight line in the plane of acircle-conditions for a line to be tangent -chord joining two points on a circle -equation of the tangent at a point on thecircle- point of contact-equation of normal.
1.4 Chord of contact - pole and polar-conjugatepoints and conjugate lines - equation ofchord with given middle point.
1.5 Relative position of two circles- circlestouching each other externally, internallycommon tangents -centers of …
0
I am wondering about exactly how to convert radians to a reference angle in terms of pi. I was given the following problems:
theta=4, theta=7, theta=11, and theta=-10.
I was told to find the quadrant, which was easy, and then the reference angle in terms of pi. I understand that the first one is 4-pi because pi represents 180 degrees so you must subtract 4 radians from 180 degrees to get the reference angle of it, 4-pi. However, the second one is in quadrant one, meaning you would not have to do any translations. but how would you figure out what it is in terms of pi? Also, the angle for theta=11 is more than 360 degrees. Knowing that it is quadrant 4 (11 times 180/pi), how do I figure out how to find out it in terms of pi? Also, what when theta is negative? Do you change the way you look at the graph or simply add a negative sign to the answer?
- Additionally, after I find out what it is in terms of pi, how  do I get the same reference angle in the first quadrant in terms of pi?
0
I like to understand my daily electronics consumption.  I understand an average desktop computer has a power usage of between 80 and 250 watts hour of "active" use, depending on graphics cards and additional peripherals.    A laptop is 50 to 100 W/hour.  In stand-by mode the power consumption of both a desktop and a laptop falls to about a third.   The cost to the University to operate a typical computer and monitor workstation (130 watts @ 11c kW/h) for 24 hours per day, 7 days per week, 365 days per year, is $129.73. It appears from electric bill I am 10 kW/h.  My energy use to date start from 2/22 is 207.31 kWh.   I use my laptop and dual monitors pretty frequently for 7 hours a day / 5 days a week.  Can someone explain the math here?


My energy consumption overview
0
Dear experts,

I have learnt about GeoGebra app while learning about One note from one of the Youtube videos.

I have tried it and i see that produces good charts. But it does not the values used in the x variable to calculate the Y value.

In the attached screen dump I have shown the table calculated by me. the function graph has been copy[-pasted from Geogebra.

CAn you someone please guide me to a app/url which plot the function and shows the table.

Thank you
WhatsApp-Image-2018-04-13-at-07.07..jpeg
0
I need help writing a root finding problem using Newton's Method for the following equation:
y = sin(x) − 0.15x + 1.5
I want to use a tolerance of 1.0e-4 and double precision to find all roots (5 total) of the equation.

I would like some assistance on how to go about writing the derivative function to better understand the main program too. Any help is appreciated.

Thanks!
0
Explain Big O notation, Binary Search and Logarithms, C#

I am curious to learn more about Big O, Binary Search and huge data sets.

What sorting and searching methods maximize performance for millions of records?

Is Binary Search still used here?

Thanks

https://codingticks.wordpress.com/2013/07/21/a-beginners-guide-to-big-o-notation/
0
In describing a black hole and its immense tidal gravity, how do you describe the forces acting on a body as it approaches the singularity?

Here is the phrase I am trying to understand:
"This creates a tension gradient across the object parallel to any radii colinear with both the object's center and the singularity."
0
I have an array (raw_acceleration) of 1600 elements acquired every 10 seconds at 160Hz from a sensor.
i use this array to calculate the fft and the Power Spectral Density and it works very well:


Fs=160;
raw_acceleration = u;
N = length(raw_acceleration);
xdft = fft(raw_acceleration);
xdft = xdft(1:floor(N/2+1));
psdx = (1/(Fs*N)) * abs(xdft).^2;
psdx(2:end-1) = 2*psdx(2:end-1);
freq = 0:Fs/length(raw_acceleration):Fs/2;

plot(freq,10*log10(psdx))
grid on
xlabel('Frequency (Hz)')
ylabel('Power/Frequency (dB/Hz)')

Open in new window


I obtain this plot:
psd-sand.png
As you can see, I obtain four peaks centered around four different frequencies.

I would like to have a Matlab code which is able to automatically find these four maximum peaks and their frequency.
At the moment, I always need to plot the graph and manually detect the maximum peak and its frequency.

Is there any way to do this by code?
I hope you an help me.

This is a sample of raw_acceleration array:

raw_acceleration= 
    0.0021
    0.0021
    0.0021
    0.0021
    0.0021
    0.0021
    0.0021
    0.0003
    0.0003
    0.0003
    0.0003
    0.0003
    0.0003
    0.0003
    0.0003
    0.0021
    0.0021
    0.0021
    0.0021
    0.0021
    0.0021
    0.0021
    0.0021
    0.0038
    0.0038
    0.0038
    0.0038
    0.0038
    0.0038
    0.0038
    0.0038
   -0.0002
   -0.0002
   -0.0002
   -0.0002
   -0.0002
   -0.0002
   -0.0002
   -0.0002
    0.0048
    0.0048
    0.0048
    

Open in new window

0
Dear experts,

I am learning the graphing of trigonometric function on my notes (not using any calculator).

I have come across the following format of the sin function

y= A.Sin(bx-c)+D

I am trying to see if there could be a trigonometry function like y= A.Sin(-bx-c)+D

That is the number of cycles being negative (-b instead of +b).

Kindly help me with a source which gives such complex problems and also provides solution. Since my practice till now has been on sin trigonometry function, I would like to see a few examples on sin function.

Kindly help.

Thank you
0
Dear experts,

I am studying trigonometry functions.

In trigonometry functions, we have y=sin-theta and y=a.sin (3.theta + 30 degrees) + 60 degrees

I understand that when y=sinx we use the unit circle with radius of 1unit to explain radian/amplitude.

I am trying to under the following concepts of amplitude, phase shift and vertical shift. I understand the concept of period for trigonometric functions.

Now is there a sequence of videos or notes which will help me understand these concepts. Not just the calculations but also the implications of unit circle and on the trigonometry functions. My struggle is not just to crunch numbers but also to understand the concepts how the numbers are impacting the trigonometric functions.

Kindly guide.
0
Dear experts,

I am learning trigonometry and derivatives.
In this regard I am looking for a software which can draw the graph for the quadratic/third degree equations.

I am home user so looking for an affordable software graphing solution.

Kindly guide.

Thank you
0
if I mix water with refrigerant (R134a), does the color of the water change?
0
Hi Experts,

I have the following code that is to produce a PDF with a Pie Chart.

<?php
ob_start();
$PAGE_SECURE = FALSE;
$PATH_TO_ROOT = '../';
session_start();

$report_name = 'STATISTICS FOR ';

$os_id = $_SESSION['os_id'];
if ($os_id != 0){
    $spec = $_SESSION['specialist'];
    $report_name .= $spec[0]['first_name'] . ' ' . $spec[0]['last_name'];
} else {
    $report_name .= 'Agency-Wide';
}

$user = $_SESSION['user']['first_name'] . ' ' . $_SESSION['user']['last_name'];
$report_footer = 'printed by: ' . $user;

require_once $PATH_TO_ROOT . 'utilities/general_includes.php'; //<-- General
require_once $PATH_TO_ROOT . 'reporting/configure_pdf.php';

$pdf = new ReportPDF('P', 'mm', array(215.9, 279.4));
$pdf->SetupPDF();

$pdf->AddPage();             


//Client Stats
    
    $client_stats = $_SESSION['client_stats'];
    
    $stats_x = 150;
    $stats_lable = 30;
    $stats_value = 20;
    
    $pdf->SetY(80);
    $pdf->SetX($stats_x);    
    $pdf->draw_pdf_cell($stats_lable, 'Active Clients');
    
    $pdf->SetX($stats_x + $stats_lable);
    $pdf->draw_pdf_cell($stats_value, $client_stats['active'], 'R');
    
    $pdf->Ln();
    
    $pdf->SetX($stats_x);    
    $pdf->draw_pdf_cell($stats_lable, 'Closed Clients');
    
    $pdf->SetX($stats_x + $stats_lable);
    $pdf->draw_pdf_cell($stats_value, $client_stats['closed'], 'R', FALSE, 'B');
    
    $pdf->Ln();
    $pdf->SetFont($default_font_family, 'B');
    
    
    $pdf->SetX($stats_x);    
    

Open in new window

0
I know the length of all 4 sides of a trapezium
I know that one of the angles is 90 degrees.
None of the sides are parallel to the others.

How can I determine the remaining 3 angels?
0
Hey all I am in need of some help with determines what box I need to place a given image into depending on that images ratio (image width / image height) to the box areas Aspect Ratio (box width / box height).

The code below is what I currently have that I am using to determine this (which does not work):

public static Dictionary<string, List<double>> sizeOfPhotoBoxes = new Dictionary<string, List<double>>()
{/*
                                               [Width]
                                              |     [Height]
                                              |     |      [Aspact Ratio]
                                             ↓    ↓    ↓
        KEY:         VALUE(s):   [1]  [2]  [3]*/
     { "box1", new List<double> {357, 272, 1.31} },
     { "box2", new List<double> {357, 272, 1.31 } },
     { "box3", new List<double> {365, 460, 0.79 } },
     { "box4", new List<double> {365, 265, 1.38 } },
     { "box5", new List<double> {715, 455, 1.57 } },
     { "box6", new List<double> {360, 465, 0.77 } },
     { "box7", new List<double> {360, 465, 0.77 } },
     { "box8", new List<double> {360, 465, 0.77 } },
     { "box9", new List<double> {540, 290, 1.86 } },
    { "box10", new List<double> {540, 290, 1.86 } }
};

double RA = (double)item.images[0].width / item.images[0].height;

foreach (var AR in sizeOfPhotoBoxes)
{
   if (AR.Value[2] >= RA && AR.Value[2] <= RA)
   {
      System.Diagnostics.Debug.WriteLine("found");
   }
}

I'm …
0
If I attempt melt ybco powder in order to make a circuit at what temperature will it begin to chemically break-down? is this feasible?
0
Hey all I have the following image box' sizes on my WPF form:
 Box |Width |Height
 ----|------|------
 1   |357   |272
 ----|------|------
 2   |357   |272
 ----|------|------
 3   |365   |460
 ----|------|------
 4   |365   |265
 ----|------|------
 5   |715   |455
 ----|------|------
 6   |360   |465
 ----|------|------
 7   |360   |465
 ----|------|------
 8   |360   |465
 ----|------|------
 9   |540   |290
 ----|------|------
 10  |540   |290

Open in new window

So visually it would look something like this:
 --------------------------
 |       |        |       |
 |   1   |    2   |       |
 |----------------|   3   |
 |                |       |
 |                |-------|
 |       5        |       |
 |                |   4   |
 |------------------------|
 |        |       |       |
 |   6    |   7   |   8   |
 |        |       |       |
 |------------------------|
 |            |           |
 |     9      |     10    |
 --------------------------

Open in new window

So what my goal is is to get the current image I am wanting to place into a box and get its width and height and from that determine the best box to place it in so that it will show the image:

- Without black borders on either the left/right or top/bottom (or both).
- Not chop off the important areas of the image (mostly the middle section moving out).

I have decided to use Magick.NET in order to ease the pain of doing something like this from scratch. So when I determine what box I will be placing the image into then I can use the Magick.NET to crop it using:

Resize with something like this:
imgStream.Crop(width, height, Gravity.Center);

Open in new window

or
MagickGeometry size = new MagickGeometry(width, height);
size.IgnoreAspectRatio = maintainAspectRatio;
// Adjust geometry offset to center of image (same as `-gravity Center`)
size.Y = imgStream.Height / 2 - height / 2;
size.X = imgStream.Width / 2 - width / 2;
imgStream.Crop(size);

Open in new window

So to sum up the above - I am in need of finding the best box to place the image into before I go and use Magick.NET on it.
0
Dear experts,

In the attached screen I have shown the text from ‘application of derivatives’ discussing the calculation of approximate values of delta-n.

Can someone please explain the steps n text between 2 and 3.

I am having a challenge to understand how delta-x=delta-y has been arrived by the substitution.

Thank you
0
What are the differences between mortgage interest rate and APR?
0
I would like to distribute the difference between the weekly labor target G2 and the weekly hours of operation I2 in even 0.25 chunks. The difference between G2 and I2 is in J2. If you multiply J2 by four you can see that I have 82 0.25 hour chunks of time available to distribute. How can I distribute those 82 chunks based on the needs represented by the ticket counts (workload) represented in column F. It's okay for some rows to be blank as long as I don't exceed the 82 chunks of time available and distribute the 0.25 hours to the intervals where the needs are highest.

I have tried distributing the labor based on a ratio defined by F/G but that often results in uneven labor or labor that is blowing the budget available.
Example_LaborDistribution.xlsx
0
what are good science experiments for my grade
0
I'd like to write a Lambda function that fetches a (1) CloudWatch Metric (that is already being monitored at every 5 minutes), (2) divides that value by 300 seconds and (3) pushes to CloudWatch as a Custom Metric.

The CloudWatch metrics already being monitored are "Volume Read Ops" and "Volume Write Ops" on a could different active EBS volumes.

I have no every on using Java or Python for this.

Thanks for your help or pointing me in the right direction.
0
I have a set of seven parameters which are numerical values (i.e. current readings, pitch, roll and yaw angles, acceleration, etc..) and I use them to classify a vehicle behavior.
For example, if:

current=5A
pitch=12 degrees
yaw=41 degrees
Y_acc = 10 m/s^2
...

then the vehicle behaviour is classified as A otherwise if

current=7A
pitch=15 degrees
yaw=42 degrees
Y_acc = 11 m/s^2
...

then the vehicle is classified as B, and so on..

What is the best way to implement this kind of classification in Matlab?
Should I use a simple neural network? Or a classification method like SVM?
Is there any tutorial or example?

I have a set of data where each set of parameters is related to a specific behavior, so I can use this to train my model.

Thank you!
0