first off, i've never been to web development. I'm developing my personal website where, for some purpose , i need to display some math figures. And somebody suggested me to use mathjax for this purpose. i tried it on my own. it works. but i see some font-size related issues. Here is what i did. I add the library using this : <script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"> </script> then i put the maths text in body section. like this <body> \(x={72^2-{\sqrt{53^2}}\over 25}\) </body> when i see it in the browser , it shows the maths figures but in very small font. …

Member Avatar
Member Avatar
+0 forum 1

This one's a strange question. But first, a little bit of context, a math problem that a teacher asked: > In a given range, how many 4 digit numbers are there, where the 'thousands' digit is equal to the sum of the other 3 digits? I wrote a quick (to write, not to run) brute-force algorithm that simply iterates through the all the values in a given range. From here, I have two problems. Here's the first algorithm I wrote: (ignore syntax errors please, I'm writing this outside of an IDE) public class Test { public static void Main() { …

Member Avatar
Member Avatar
+0 forum 3

Friends again problem with date function In my form there is a text field -txtDod- of Date type formated like "dd-MMM-yyyy" My input is also formated like "dd-MMM-yyyy" Now see my code Private Sub TxtDod_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case vbKeyReturn If Not IsDate(TxtDod) Then LblMsg = "Enter Date Of Deposit" TxtDod.SetFocus ElseIf (Format$(TxtDod.Text, "dd-MMM-yyyy")) > (Format$(Date, "dd-MMM-yyyy")) Then LblMsg = "Date Of Deposit Must Be <= Today" TxtDod.SetFocus Else TxtPrd.SetFocus End If End Select End Sub My problem is I want this-If the input date of TxtDod is greater than Current Date(Today's Date) the focus should not be …

Member Avatar
Member Avatar
+0 forum 3

Apart from a few small programs written for fun several years ago, it is about 15 years since I wrote any software. However, I have had some visual images in my head for many years, so I am going to write software to bring them into reality, so I can share them with others. I hope they will be useful to mathematics students and entertaining to many people, perhaps as screen savers. It is a bit daunting … basic programming skills are the same, but everything is faster and more complicated.

Member Avatar
Member Avatar
+0 forum 2

float det(float A[][10],int m) { float B[10][10],d=0; int i,a,b,x,y; if(m==2) return (A[0][0]*A[1][1])-(A[1][0]*A[0][1]); else { x=0;y=0; for(i=0;i<m;i++) { for(a=0;a<m;a++) { if(a==i) continue; else { for(b=1;b<m;b++) { B[x][x]=A[a][b]; x++; } } } if(i%2) d-=det(B,x); else d+=det(B,x); } } return d; } I tried to run the program, but it exits with error code 255. Using Dev CPP with MinGW. Pls Help!

Member Avatar
Member Avatar
+0 forum 1

i am making a module in vb.net which will convert number of grams to number of tola masha and ratti respectively. 1 tola = 12 masha 1 masha= 8 ratti while 1 tola = 12.5 grams i can make number of tolas by number of grams \ 12.5 but can go any further.

Member Avatar
Member Avatar
+0 forum 3

Hi folks, I am aware this is a problem that many people have, but I am yet to find an answer... I have a 10x10 grid generated using a html `<table>`, each cell has an id reffering to its location (ie. #15 - row 1, colmn 5). All I need is a snippet that will take the cell id, and add one -> #15 becomes #16, rather than #151... I can use normal Javascipt or jQuery, whichever is easiest :) Thanks in advance!

Member Avatar
Member Avatar
+0 forum 4

hello people I just started to learn C++ 3 days ago, I am just 13 yrs old I have made this basic maths utility tool or you can call it a calculator but it tells everything, multiplication, division, addition, subtraction at once. // if you could help me with it it would be amazing. // please help me by typing the code as I started to learn it 3 days ago // there might be some stuff like if, which is of no use I just added it by mistake //This code was written in Code::Blocks #include <iostream> using namespace …

Member Avatar
Member Avatar
+0 forum 10

ok what i am trying to do is i have two textboxs which have figues in them and need the 3rd textbox to display the figure the code i am using doesnt seem to be doing anything could anyone spot it and tell me why it is not working for me my code is [CODE] con.Open() cmd.Connection = con cmd.CommandText = " Val(TQTY.Text) * Val(TUP.Text)" cmd.ExecuteNonQuery() cmd.Dispose()[/CODE]

Member Avatar
Member Avatar
+0 forum 2

MY problem is related to entry of research data. The researchformula is entered into a textbox alongwith other usual form entries like title,subject,startdate etc. The formula consists of alzebra, trignometric, otherfunctions etc. Example [CODE] [B]x = 12; y = 24 + tit[x] + mixer[x]; z = x + sin(x) + tan(x+y) - max[x,y]; #final result is 24.778273666352;[/B][/CODE] The program is not concerned with the syntax or result of these formulas. The form must however display some details of the formula in the following format in textbox on buttonclick a) variableused name and characterlocation of variables like x(1,19) y(8,) since x …

Member Avatar
Member Avatar
+0 forum 9

Alright so basically i need to create a simple maths game in C. Involving addition subtraction and multiplication of random numbers. But i also need to add a timer to that. So lets say you are given 10 seconds to answer the question and every correct answer adds you 10 seconds. How would i implement this? Here is what i got so far. Any other comments/suggestions about the code are welcome among with criticism as i want my code to be as efficient as possible and in good style. Btw i'm required to use system("pause"); at the end, just to …

Member Avatar
Member Avatar
+0 forum 2

HINT: You have to think.

Member Avatar
Member Avatar
+0 forum 151

Hows it going guys, I just had a question, which I think is simple, but I cant seem to get my head around to the solution. I have a Signals Processing lab coming up on modulation and demodulation. Anyway to cut to the chase, one part of the system requires me to model a rectifier, which in layman's term, is a device that makes any part of a wave that is less than zero, equal zero. For signal x I can write x(x<0)=0 However This model of the rectifier also adds attenuation of +6db To my wave. I was just …

Member Avatar
+0 forum 0

The End.