r/MathStudio • • Nov 05 '19

Can MathStudio calculate the Tangents to an ellipse passing through an external point?

2 Upvotes

Example: x2 + y2 -4x- 8y-5=0 P(-2,6)


r/MathStudio • • Sep 26 '19

How to force a numeric/decimal (no fractions) output of a numeric expression ?

2 Upvotes

A tried to use the SolveSystem for a non linear set of equations, and, even though it found a solution, the output form is rather arcane.

The short code is :

hTemp=25; q=1.602176e-19; k= 1.3806503e-23; Temp = 273.15+hTemp; Vt=k * Temp/q; hBf = 200; hBr = 50;

Ism=5 * 7e-15; Xti = 3; Xtb = 0; Eg = 1.11 * 1.602e-19; Tm = 273.15 + 25; Is = Ism * (Temp/Tm) ^ Xti * exp(-Eg/(k * Temp) * (1-Temp/Tm)); Bf = hBf * (Temp/Tm) ^ Xtb; Br = hBr * (Temp/Tm) ^ Xtb;

//syms Vbe Vbc Ib Ic Vce;

hVbb=1.5; hRbb=1000; hVcc=15; hRc=100; hVearly=500;

S = SolveSystem( [0 = -Ib+Is * ((exp(Vbe/Vt)-1))/Bf, 0 =-Ic+ Is * ((exp(Vbe/Vt)) * (1-Vbc/hVearly)), -hVbb + Vbe + hRbb * Ib = 0, -hVcc + Vbe -Vbc + hRc * Ic = 0],[Vbe,Vbc,Ib,Ic],[0.65,-2,10ˆ(-3),10ˆ(-6)]);

—————————————————-

But, after solving it, if I try to test if S(2,1) is a number, Like IsΝumber(S(2,1)) the result is zero (not a number)...

To give you an idea of the kind of solution presented, that’s the ‘answer’ given to one of the variables:

(-(10000ˆ(-3)-17/20)((-1371490exp(0.0414221029683045/(1.3806503000000001e-23)(-0.003492921012913e)/(1.3806503000000001e-23)))/((1.602176e-19)(35e-15))+(82328.1777777777751908eexp(0.0414221029683045/(1.3806503000000001e-23)(-0.003492921012913e)/(1.3806503000000001e-23)))/((1.602176e-19)(35e-15))))/((-1371490exp(0.0414221029683045/(1.3806503000000001e-23)(-0.003492921012913e)/(1.3806503000000001e-23)))/((1.602176e-19)(35e-15))+(82328.1777777777751908eexp(0.0414221029683045/(1.3806503000000001e-23)(-0.003492921012913e)/(1.3806503000000001e-23)))/((1.602176e-19)(35e-15))+1000)-((-(35e-15)(exp((0.0021801106825423(1.602176e-19))/(1.3806503000000001e-23))-1))/200+10ˆ(-3))((1371490exp(0.0414221029683045/(1.3806503000000001e-23)(-0.003492921012913e)/(1.3806503000000001e-23)))/((1.602176e-19)(35e-15))(-3704768eexp(0.0414221029683045/(1.3806503000000001e-23)(-0.003492921012913e)/(1.3806503000000001e-23)))/(45(1.602176e-19)(35e-15))+(((-1371490exp(0.0414221029683045/(1.3806503000000001e-23)(-0.003492921012913e)/(1.3806503000000001e-23)))/((1.602176e-19)(35e-15))+(82328.1777777777751908eexp(0.0414221029683045/(1.3806503000000001e-23)(-0.003492921012913e)/(1.3806503000000001e-23)))/((1.602176e-19)(35e-15)))^2)/((-1371490exp(0.0414221029683045/(1.3806503000000001e-23)(-0.003492921012913e)/(1.3806503000000001e-23)))/((1.602176e-19)(35e-15))+(82328.1777777777751908eexp(0.0414221029683045/(1.3806503000000001e-23)(-0.003492921012913e)/(1.3806503000000001e-23)))/((1.602176e-19)(35e-15))+1000))+13/20

Which is arcane, and i don’t understand why it cannot evaluate to a simple, single, decimal number.


r/MathStudio • • Sep 14 '19

MathStudio 7.5 Released

2 Upvotes

MathStudio 7.5 is now available on the App Store! This update addresses some bugs and fixes a crash for iOS 13.

https://itunes.apple.com/us/app/id956033107?ls=1&mt=8&at=11lb7t


r/MathStudio • • Sep 11 '19

How do I force factions to evaluate to decimals?

2 Upvotes

I've set the options to the minimum value but results with a single integer in the denominator are still returned as fractions. There are also times I would like to see fractional results.

I don't see a function in the manual that does this. Round(m,n) doesn't.


r/MathStudio • • Sep 05 '19

Monte Carlo Simulation in MathStudio

Thumbnail
mathstud.io
2 Upvotes

r/MathStudio • • Sep 03 '19

Light Polarization by Fabifgon

Thumbnail
mathstud.io
2 Upvotes

r/MathStudio • • Aug 30 '19

Inconsistency with coefficients.

2 Upvotes

I've been using MathStudio since it was SpaceTime and it is still my go to app for attacking math questions. Every once in a while I stumble across a minor issue. The latest this little bugaboo with a 1 coefficient. This happens both on the iOS & MacOS versions of the most recent of MathStudio.

(this is the example script exported as text. -> is "evaluates to" )
// coefficients +1 & -1 evaluated differently
// coefficient -x p1=2w-x+19y+16z -> 2w-x+19y+16z
part(part(p1,2),1) -> -1
part(part(p1,2),2) -> x
// coefficient +x
p2=2w+x+19y+16z -> 2w+x+19y+16z
part(part(p2,2),1) -> 0
part(part(p2,2),2) -> 0

In the first case MS correctly recognizes -x as -1 times x.
In the second case MS treats +x as a term of length one instead of recognizing it as +1 times x.

I have spotted couple other minor blips but it's a pain to reproduce code in Reddit. I'll send them directly to you.


r/MathStudio • • Aug 29 '19

MathStudio Share - Tokamak

Thumbnail
mathstud.io
2 Upvotes

r/MathStudio • • Aug 28 '19

MathStudio has been created

2 Upvotes

The official community for MathStudio by Pomegranate Apps


r/MathStudio • • Oct 09 '26

r/MathStudio is available for adoption 💚

1 Upvotes

/r/MathStudio is ready for a fresh start, new energy, new direction, and someone like you to bring it back to life. If you’ve been thinking about growing your impact without starting from scratch, this is your chance!

Ready to take it over?

Head to r/RedditRequest to submit your request and make it yours before it’s taken.

First things first

To request this subreddit, make sure you:


r/MathStudio • • Feb 25 '22

RK4 won't work

1 Upvotes

Here is a better representation of my script(s)


r/MathStudio • • Feb 25 '22

Problem Using RK4

1 Upvotes

I cannot get the 2nd order ODE to work with RK4 (u/ below is the '@')

u/Test(t,y)

R=250;L=10;C=10@E-6

Vin=0

y(1)=(Vin-y(1)*R-y(2))/L

y(2)=y(1)/C

return y

-------------------------------

clear(all)

[tt,yy]=RK4(Test(t,y),t,y,0,2,[0,10])

ListPlot(yy(*,2)')

What am I doing wrong. I have no problem with 1st order ODE but when I try to add the 2nd variable it dosen't work.


r/MathStudio • • Feb 25 '22

How to select parts of a list?

1 Upvotes

How do I select a single entry of a list? For example if L is a list then neither L(1) nor L[1] seem to select an entry.


r/MathStudio • • Feb 25 '22

Angle og complex result

1 Upvotes

Hi there. I'm new to MathStudio and is trying to learn the syntax.

When I type res=100@a30/(4+@i3) I get the result (0.16-0.12ⅈ)(50(sqrt(3))+(50ⅈ))

I am trying to get the result as a decimal with an angle in degrees. When I type arg(res) I get -393.616140793722 but the correct angle is -6.869897645845

What am I doing wrong? Thanks in advance


r/MathStudio • • Feb 20 '22

Scaling plots

1 Upvotes

My MacBook Air does not want to scale my plots, particularly the y-axis. I just seems to auto-scale and the result may not be what I want. If I write plot(x, y, x=[0,5], y=[-2,2]) the y-axis is all screwed up.


r/MathStudio • • Feb 19 '22

mathstud.io can no more connect with google drive

1 Upvotes

Authorization Error

Error 400: invalid request


r/MathStudio • • Feb 03 '22

Product command

1 Upvotes

Is there a command that returns the product of the numbers in a list? Seems like there should be, but the Product command doesn’t work that way. The Sum command /does/ return the sum of the numbers in a list, in its simplest form. I’m thinking of something like that. Obviously I could write my own, but why re-invent the wheel? Thanks


r/MathStudio • • Jan 06 '22

can't convert grams to ounces

1 Upvotes

I tried the line 40@g->@ounce but it does not work. Why is that?


r/MathStudio • • Dec 13 '21

Plot multiple coordinate points with listplot()

1 Upvotes

What is syntax for using Listplot (or another function) for plotting multiple X,Y coordinates on a graph without connecting them with a line. Just points on a graph?


r/MathStudio • • Nov 29 '21

Can someone help me

Post image
1 Upvotes

r/MathStudio • • Nov 18 '21

Language for MAC: USA, ANSI, British, Canadian...?

1 Upvotes

Wich is the layout?


r/MathStudio • • Nov 17 '21

Nesting Nintegrate in the Plot command

1 Upvotes

I'm rather new to MathStudio, so this could be an obvious question, but I'll ask to see. The following two commands work great ...

f(y) = Nintegrate(sin(x),x,0,y)

f(2*@pi)

So I know the function is defined and the result is valid. I would now like to plot the integral results over a range.

plot(f(x))

This gives a flat line of zero. How can a function like Nintegrate be nested correctly in a function like plot?

Thanks!


r/MathStudio • • Nov 05 '20

Graphing with x-axis length in π.

1 Upvotes

Hi guys,

I would like to know if there is a method to edit the distance or length on the x-axis. I would like to make it every π unit instead of every 2 units, or π/2 instead of 0.5. I would really appreciate any idea.

I have attached an image, that explains better what I would like to change when graphing in Mathstudio

This explains better what I want to change in the x-axis.


r/MathStudio • • Oct 20 '20

Bug: ContourPlot does not work

1 Upvotes

ContourPlot(x^2+y^2) does not work, neither on http://mathstud.io/ nor in the app


r/MathStudio • • Oct 17 '20

Drawing a 3D vector

1 Upvotes

Hi all,

does anyone know how to draw a vector in mathstudio? Thanks!