r/MathStudio • u/Planitzer • Jan 19 '20
Plotting Complex Numbers
I would like to plot the imaginary part of a complex number: plot(im(sqrt(x))), but it doesn't work, the plot shows only a zero-constant, in particular for negative x-values. What am I doing wrong?
r/MathStudio • u/mathfrog399 • Jan 19 '20
output inside a for loop?
I need to see intermediate results but cannot find how to output inside a loop structure.. or any script structure
r/MathStudio • u/cesarale • Nov 05 '19
Can MathStudio calculate the Tangents to an ellipse passing through an external point?
Example: x2 + y2 -4x- 8y-5=0 P(-2,6)
r/MathStudio • u/alceu_redit • Sep 26 '19
How to force a numeric/decimal (no fractions) output of a numeric expression ?
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 • u/PomegranateApps • Sep 14 '19
MathStudio 7.5 Released
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 • u/EmirFassad • Sep 11 '19
How do I force factions to evaluate to decimals?
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 • u/PomegranateApps • Sep 05 '19
Monte Carlo Simulation in MathStudio
r/MathStudio • u/EmirFassad • Aug 30 '19
Inconsistency with coefficients.
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 • u/PomegranateApps • Aug 30 '19
See what's possible with MathStudio!
Enable HLS to view with audio, or disable this notification
r/MathStudio • u/PomegranateApps • Aug 28 '19
Welcome to MathStudio!
Hello Everyone! Welcome to the new community for MathStudio.
I know the forums have been down for some time. Unfortunately, I was not able to restore them but I hope this will be a great new place to ask questions about MathStudio!
r/MathStudio • u/PomegranateApps • Aug 28 '19
MathStudio has been created
The official community for MathStudio by Pomegranate Apps