/    Sign up×
Community /Pin to ProfileBookmark

HELP needed please…

Dear Experts,

This is regards to [COLOR=”Red”]“geometric properties of a triangle”[/COLOR]. I’m using this code:

/* This script and many more are available free online at
The JavaScript Source!! [url]http://javascript.internet.com[/url]
Created by: Sandeep Gangadharan | [url]http://sivamdesign.com/scripts/[/url] *
/
function getProp() {
var A = document.prop.A.value;
var B = document.prop.B.value;
var C = document.prop.C.value;
var S = (parseInt(A) + parseInt(? + parseInt(C)) / 2;
var Z = parseInt((A*A)+(B*?+(C*C))/parseInt(2*A*?;

document.prop.area.value = Math.round(Math.sqrt(S*(S+A)*(S+?*(S+C)) * 5) / 1;
document.prop.lic.value = Math.round(Math.PI * (document.prop.area.value/S) * (document.prop.area.value/S) * 5) / 1;
document.prop.sic.value = Math.round(Math.PI *
((A*B*C)/(4*(document.prop.area.value))) * ((A*B*C)/(4*(document.prop.area.value))) * 5) / 1;
document.prop.ang.value = Math.round(Math.atan(Math.sqrt((1/(Z * Z))+1)) * (180/Math.PI) * 10000) / 10000;
}

But the answer is I’m getting is wrong… My lecturer gave me this:

1 st No. 3177
2 nd No. 8367
3 rd No. 7005
Angle between A and B: 76149286

???Kindly assist me… Very urgent…???

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@yamaharussOct 20.2010 — Please do not double post. Your urgency does not permit you to break the rules. Also, title your posts according to the kind of help needed. "HELP needed" is not a proper subject, everyone obviously is here for help.
×

Success!

Help @doggydoggsg spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...