blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11fe5fdd8d8726a4b7a286062bcac0002e2e2cba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH14/EX14.4.1/14_4_1.sce | eb8d7990f5f9f91706944961460f74252b973cb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | 14_4_1.sce | clc
//initialisation of variables
N= 1450 //rev/min
Q= 500 //gal/min
H= 60 //ft
D= 10.25 //in
//CALCULATIONS
Ns= N*sqrt(Q)/H^0.75
h= (N*sqrt(Q/2)/Ns)^(4/3)
d= D*sqrt(h/H)
//RESULTS
printf (' head= %.f ft',h)
printf (' \n size of the pump= %.2f in',d)
|
bd87cb2b0bdb8c4475e1161a4bc44b7188ecccee | 4b7eae708edea1f2fc5fd5f08bdd0ee8f1598adf | /code/pev/loader.sce | 4ed81615610e9e6c527951843296067250a1ad29 | [] | no_license | kiraboris/pyttools | d7bea20bd371b811f6fe86ab94dac3317b9e3679 | 7a07dd9da5dd792f62a9c4cf33fdf2ae6be626fe | refs/heads/master | 2021-05-31T01:17:35.354923 | 2016-02-03T10:12:09 | 2016-02-03T10:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 840 | sce | loader.sce | // This script must be ran to load all availible methods of the P-based evaluation subtoolbox (pev) as usual Scilab functions. WARNING: this is a subtoolbox and its methods require the generel posibility theory (pt) toolbox to be loaded. Usually you DO NOT have to run this script manually. Run loader.sce from your inst... |
0d596a292fe2fbfde26fa3849f4848e534c4b73c | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH19/EX19.13/example13.sce | 686d2eb2a37d8151321aaa70585d21b5eb06ddb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | example13.sce | // find closed-loop bandwidth,peak voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 19-13, page 724
clear; clc; close;
// Given data
// LM741C
funity=10^6;// in hertz
Sr=0.5*10^6;// slew rate in Volts/second
Avcl=10;// closed-l... |
d30840c161cfa49576231d96b09db32221f2023e | cf2d41f121fb6c83162dbfbf7b447124b94860ed | /loadflow.sci | d2035051f4612b96642bc57660b6a5102e91db38 | [] | no_license | abhinavdronamraju/loadflow_scilab | 76749d98cb646674a80f43e82986977e4fe5c427 | 4f196da3596bd0a794d6d833c1bdd81d918f85f7 | refs/heads/master | 2021-07-16T11:14:39.462352 | 2017-10-24T11:55:18 | 2017-10-24T11:55:18 | 107,106,712 | 1 | 3 | null | 2017-10-24T06:25:52 | 2017-10-16T09:29:30 | Scilab | UTF-8 | Scilab | false | false | 12,872 | sci | loadflow.sci | // Program for Bus Power Injections, Line & Power flows (p.u)...
function loadflow(nb,V,del,BMva, alg, report)
global busdat;
global linedat;
Y = ybus(); // Calling Ybus program..
lined = linedat; // Get linedats..
busd = busdat; // Get busdatas..
Vm = pol2rect(V,del); /... |
c5fd3285a28f2c6e5a94bad0bea3b21397819e2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH7/EX7.9/Ex7_9.sce | 236180aad59fcacc141971e597555df20ab7c077 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | Ex7_9.sce | //Example number 7.9, Page number 149
clc;clear;
close;
//Variable declaration
C=4*10**-6; //capacitance(F)
epsilonr=200; //relative dielectric constant
V=2000; //voltage(V)
//Calculation
C0=C/epsilonr; //energy in condenser(F)
E=C0*V/2; //energy in dielectric(J)
//Result
printf("energy in cond... |
51fdbbc5d0a31498afe8abbf48c613ba9339c7b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH14/EX14.24/example14_24.sce | 8dc548f67568970b35031ff385728380773355f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sce | example14_24.sce | clc
// Given that
lambda = 1e-10 // wavelength of light in meter
theta = 90 // angle in degree
h = 6.62e-34 // Planck constant in J-sec
c = 3e8 // speed of light in m/sec
e = 1.6e-19 // charge on an electron in C
m = 9.1e-31 // mass of an electron in kg
// Sample Problem 24 on page no. 14.29
printf("\n # PROBLEM 24 #... |
04331fc73945c592efca86ef46b888083e11f793 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH1/EX1.3/Ex1_3.sce | c771450833e294f141c1e2790def99a356962157 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | Ex1_3.sce | clc;clear;
//Example 1.3
//constants used
g=32.174;//gravitational constant in ft/s^2
//given values
m=1;
//calculation
w=(m*g)/g;//weight is mass times the local value of gravitational acceleration
disp(m,'the weight on earth is (in lbf)')
|
3e75e69fd40fe951b39b007cff8857dea4111b7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH9/EX9.7/c9_7.sce | 12b4230c9679058b1e8f9e7ca4f494077d12637d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,251 | sce | c9_7.sce | //(9.7) A regenerator is incorporated in the cycle of Example 9.4. (a) Determine the thermal efficiency for a regenerator effectiveness of 80%. (b) Plot the thermal efficiency versus regenerator effectiveness ranging from 0 to 80%.
//solution
//part(a)
etareg = .8 ... |
ad1b9ec217a7d81dfd902ceaee9bc4e483b4ef3c | 4fc36cf9ad4abed8f783d4d04478e13f13cd58fa | /miniproject/1prob/normalnoisevec.sci | a4cebb0f8c606a84c2d766de524e156b34d94d05 | [] | no_license | sksavant/ee340 | 812857c69af65aef748ae86737c1bdfb4a3d0940 | 827918ae23644debcee0f8b890d4b46e35f93e79 | refs/heads/master | 2020-05-19T17:09:44.225110 | 2012-09-06T18:15:14 | 2012-09-06T18:15:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sci | normalnoisevec.sci | // Group_13: Bhargava B 100070054
// Surya K 100070055
// S K Savant 100070056
function[randvec]=gaussiannoise(variance,N)
nvec=linspace(0,N,N+1)
//disp(length(nvec))
rand('normal') //Want a normal variable
randvec=rand(nvec) //Want N values of random variable
ran... |
ad3fd2f56374c07a7bcc1e6f5b2c4dfd30965816 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/scicos/do_SaveAs.sci | b50e054eb26757c7b685c4da5afc4a4c4817dc37 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 862 | sci | do_SaveAs.sci | function [scs_m,edited]=do_SaveAs()
//
if pal_mode then scs_m=do_purge(scs_m),end
fname=xgetfile('*.cos')
if fname==emptystr() then return,end
[path,name,ext]=splitfilepath(fname)
select ext
case 'cos' then
ok=%t
else
message('Only *.cos binary files allowed');
return
end
// open the selected file
errcatch(240... |
3ca486e9a1f56e0d52e8471b77c7b41b3a1d5ed6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH6/EX6.4/6_4.sce | ec20494bac38055c4e3cafccd903c4dc0f398da5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | 6_4.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 6.4
//calculation of coefficient of static friction and kinetic friction between the block and the plank
//given data
theta1=18//angle of plank(in degree) with horizontal when block starts slipping
theta2=15//angle of... |
de4dc11a5fa403274c752a8b69384fdd2d66d4fd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/robust/lcf.sci | daae66ee230c12502d77eb68731ad006f1e1ed15 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sci | lcf.sci | function [N,M]=lcf(Sl)
//Compute Normalized coprime factorization of a linear dynamic system
//%Syntax and parameters description
// [N,M]=lcf(Sl)
//
// SL : linear dynamic system given in state space or transfer function.
// see syslin
// N,M : is realization of Sl: Sl = M^-1 N
//!
//FD.
flag=0;Sl1=Sl(1);... |
4321c507a39e16c64005153a6c50b8ba4f9f17b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.18/Chapter2_Example18.sce | 23c894bc4f60a88c144cbdd61e4a9f480530e766 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 844 | sce | Chapter2_Example18.sce | //Chapter-2, Example 2.18, Page 2.34
//=============================================================================
clc
clear
//INPUT DATA
Q=(40*1000);//Transformer rating in VA
V1=1600;//Primary voltage in V
V2=160;//Secondary voltage in V
f=50;//Frequency in Hz
R=10;//Turn ratio
//CALCULATIONS
K=0.1;/... |
d8ea59cc901fd282c08d269b12d4b3b10cb40a0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH5/EX5.7/5_7.sce | aef8c0565c01d4989ef536139aa604bfe11fea79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | 5_7.sce | //chapter 5
//example 5.7
//page 168
clear all;
clc ;
//given
Rb=(18*6)/(18+6);
Ze=(27.6+4.5*1000*(1-0.987));
Zi=(86.1*5000)/(86.1+5000);
printf("\nInput Impedance(Ze)=%.1f ohm",Zi);
Av=(0.987*10000)/(Ze);
printf("\nvoltage gain=%d",ceil(Av));
|
2d2edd7e2ea85ee8cd12de57ced4f4b9e2973b39 | 94c9fb094976265935872b32b6e6a4fd9454ef31 | /tp2/frequency_learning.sce | 41c2e03fca52ebdda30f91c07223568d9e538c38 | [] | no_license | dtbinh/tp-scilab | 6d2373af479d9cb1d1494f3ccc5abcae0697b8ac | 4c41c77eb4a4021022fa91614cfe4f7a4417f4e5 | refs/heads/master | 2021-01-10T12:23:53.166922 | 2013-12-19T17:23:18 | 2013-12-19T17:23:18 | 49,208,752 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | frequency_learning.sce | function codebook = frequency_learning(X, q)
a = 0.2;
b = 10;
u = ones(q, 1);
distace_multi_u = ones(q, 1);
r = size(X, "r");
Y = ones(q, 2);
for i = 1:q
Y(i) = X(i);
end
D = ones(q, 1);
while a > 0.01
for i = 1:r
for j = 1:q
D(j) = sqr... |
88c6d6d335dd372ceaec2dc3c13b93be0d435374 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH3/EX3.2/Ex3_2.sce | 056b73d6c169ce6cf2cfba3dc38bac3611287b2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 976 | sce | Ex3_2.sce | //Example number 3.2, Page number 3.32
clc;clear;close
// Variable declaration
a1=450 // Area of plastered wall
a2=360 // Area of wooden floor and wooden doors
a3=24 // Area of Glass
a4=600 // Area of seats
a5=500 // Area of audience when they are in seats
c1=0.03 // Coefficient of absorption of pl... |
5839123e1bcb7b650641a91ac0a188b8acb39f2a | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/C45-C/results/C45-C.car-10-1tra/result3.tst | f9ae7e007e4ca5da843938699ed23bed65205e14 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,248 | tst | result3.tst | @relation car
@attribute Buying{vhigh,high,med,low}
@attribute Maint{vhigh,high,med,low}
@attribute Doors{2,3,4,5more}
@attribute Persons{2,4,more}
@attribute Lug_boot{small,med,big}
@attribute Safety{low,med,high}
@attribute Acceptability{unacc,acc,vgood,good}
@inputs Buying,Maint,Doors,Persons,Lug_boot,Safety
@outpu... |
cf5feebbff12920bed65792dbd00ed44924e94b1 | 505dbe6f806a6e0354b4f1f2326dc36f01fbe3e0 | /S3/Proba-Stats/corrfct.sce | dba7b1c8b91815350a5aef51eb5b41e934f5233f | [] | no_license | MalikZouhiri/DropIUT | 5d1dea760cc1114114a2caf0bab1701e9adc815b | 1ae2cdd14f10182dbe6d0b2546e452851076591f | refs/heads/master | 2020-06-05T06:20:05.109658 | 2015-01-23T06:04:33 | 2015-01-23T06:04:33 | 29,574,014 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | corrfct.sce | clear;clc();clf();
function loi1= loiexp(l,x)
loi1 = l*exp(-l*x);
endfunction
function loi2=loiexpc(x1,x2)
loi2=integrate('loiexp(l,x)','x',x1,x2);
endfunction
// P(X<1,3)=>loi expc(0,1.3)
// P(X€[0,75;1,41] ==> loi expc(0,75,1,41))
l=1.5;
dx=0.1;
x=0:dx:6;
somme = integrate('loiexp(l,x)','x',min(x),max(x))
... |
3fa913331b49c7da85981417e39a9d91f262fe23 | 56743f362de98f910919780918c86679ec136d3e | /exercicios-propostas-fichas/tree_plot.sce | b737427f785f9de99d69538bc21c9d7ab0918481 | [] | no_license | andre-paulo98/fichas-ei-a1s2-MD | aaf75e6b45cbac7ebbf92949deb783ce6f1201b7 | 99c50eb08cf409ce8e5aa8301728dbe9148e16c5 | refs/heads/master | 2022-02-24T23:13:49.293944 | 2019-10-06T17:50:26 | 2019-10-06T17:50:26 | 171,472,323 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,211 | sce | tree_plot.sce | function tree_plot(arvore)
//arvore usando a representação sequencial
// o valor 0 indica que a subárvore é vazia.
L1=length(arvore);
//verificar se a árvore é completa
if floor(log2(L1+1))~=ceil(log2(L1+1))
arvore((2^ceil(log2(L1)))-1)=0;
L1=length(arvore);
end
////////////////////////////77
L2=floor(... |
f89adb3db07811044a7dc8d4a6d7fd1ea8e3b6e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH10/EX10.16/10_16.sce | cc88e3309f12db715c2a7aba6b87903acf5d46d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,342 | sce | 10_16.sce | clear//Variables
up = 0.048 //hole mobility (in meter-square per volt-second)
un = 0.135 //electron mobility (in meter-square per volt-second)
q = 1.602 * 10**-19 //charge on electron (in Coulomb)
Nsi1 = 5 * 10**28 //concentration of intrinsic si... |
ddb49256333b6908b4c44eb49ec88042de5ea927 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH9/EX9.4/ch9_4.sci | a7d1361d6508e8078321d398b62d5e46b92191c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 989 | sci | ch9_4.sci | //to calculate stator current,pf, net mech o/p, torque, motor performance
clc;
j=sqrt(-1);
Vt=400;
P=6;
f=50;
Inl=7.5;
Pnl=700;
disp('block rotor test results');
Vbr=150;
Ibr=35;
Pinbr=4000;
R1=.55;disp(R1,'R1(ohm)');
k=1/.5;
s=0.04;
Zbr=Vbr/(sqrt(3)*Ibr);
Rbr=Pinbr/(3*Ibr^2);
Xbr=sqrt(Zbr^2-Rbr^2);
... |
61fd79fed1bdc45f2496899088af7d2cb84a895c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH14/EX14.2/Ex14_2.sce | aa25a15400085ed1911aade9cfc0c33ce0628b81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | Ex14_2.sce | // scilab Code Exa 14.2 Downstream guide vanes
beta3=10; // rotor blade air angle at exit in degree
dh=0.3; // hub diameter in m
dt=0.6; // tip diameter in m
N=960; // rotor Speed in RPM
phi=0.245; // flow coefficient
d=0.5*(dt+dh);
u=%pi*d*N/60;
cx=phi*u;
cy3=u-(cx*tand(beta3));
alpha3=atand(cy3/cx);
disp... |
58642ec264f63267fec53e7bfd1d7fc44dc705c8 | b260f3d67de5bd0fbb64f116da0d48c79d85382a | /commstr2poly/commstr2poly_ascend.sci | 342b684de6c0d4d539aca4c0df2ebe9d1ae8078c | [] | no_license | nikitapinto/Scilab-Communications | 92c1002a14452dab39edda3675bc0c4a4da25919 | 4ebf7bbd70374b812eeb8dd3333ed997bca70b09 | refs/heads/master | 2021-01-10T06:27:41.892245 | 2016-04-02T16:37:42 | 2016-04-02T16:37:42 | 51,426,801 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,118 | sci | commstr2poly_ascend.sci | funcprot(0);
// Code for commstr2poly(ascend) to generate a vector of coefficients from an input string.
// The coefficients vector is displayed in ascending order
function coeffvect = commstr2poly_ascend(text)
strs = strsplit(text);
minus_idx = find(strs == '-');
// Find indexes of minus signs
for i = 1:length(min... |
3bf7260862be8c74b80d9a22e7dbbc5135b2afbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.20/Ch05Ex20.sce | b5c4c8c7eb12b43d1c24ac415fb07732a3a52add | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | Ch05Ex20.sce | // Scilab code Ex5.20: Pg:229 (2008)
clc;clear;
Lambda_1= 5896; // Wavelength of D1 Sodium light, Angstorm
Lambda_2= 5890; // Wavelength of D2 Sodium light, Angstorm
Lambda = (Lambda_1 + Lambda_2)/2; // Mean wavelength of sodium light, Angstorm
d_Lambda = Lambda_1 - Lambda_2; // Difference in wavelengt... |
0caae3f42f73b8182024180839f0836ba88787f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH5/EX5.8/5_8_Nanostructured_Material.sce | 71fc149adb6c964eb222a00665e6506df861c000 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,066 | sce | 5_8_Nanostructured_Material.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 5.8 Page 300 \n'); //Example 5.8
// Thermal Conductivity of Nanostructured material
//Operating Conditions
k = 1.11 ; //[W/m.K] Thermal Conductivity
rho = 3100; //[kg/m^3] Density
c... |
b09a579f7618d39dc28014ad5a6ca8776e9158ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH3/EX3.10/Ex3_10.sce | 2b0565feb9382ac1ad1f22f4ddf321a07634b7a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Ex3_10.sce | //Example 3_10
clc();
clear;
//To find out how high does it goes and its speed and how long will it be in air
vf=0 //units in meters/sec
v0=15 //units in meters/sec
a=-9.8 //units in meters/sec^2
y=(vf^2-v0^2)/(2*a) //units in meters
printf("Distance it travels is y=%.1f meters\n",y)
vf=-sqrt(2*a*-y) //... |
cfe78fc07f78122b8da5f9c852d31d65295ef838 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH10/EX10.7/P10_7.sce | b1ce00a4118ebf85307498a7a725fc357ea50faf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | P10_7.sce | //EXAMPLE 10.6
//Order estimation using Dolph-Cebyshev window
clear;
clc;
wp=0.3*%pi;//rad/sec
ws=0.5*%pi;//rad/sec
as=40;//dB
wc=(wp+ws)/2;//cutoff frequency
Bw=ws-wp;
disp(Bw,'Normalized transition bandwidth is = ')
//Order of the filter
N = ((2.056*as) - 16.4)/(2.285*Bw);
disp(ceil(N),'Order of the filter,N = ') |
9c72267b3fa2a83a49e0c454ee754d053ee5fb0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH5/EX5.3/Ex5_3.sce | 49b0f9c7235a7f602e0d363d26e06efb7e9cf535 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 779 | sce | Ex5_3.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 5 : DIRECT CURRENT MOTORS
// Example : 5.3
clc;clear; // clears the console and command history
// Given data
R_a = 0.7; // armature circuit resistance in Ω
V_t = 5; // applied voltag... |
9fa56f8f05e38b509b49cc10abde9ef42fb93ac0 | 194d4cafa290b2fdf3aa87e18ddadcfff70a70d8 | /eNRTL TER.sce | 8f2c055b5b28a803b2bd1abc338d1d7a44d64873 | [] | no_license | KomalT/tryout60 | cc43d4a5d96b5525e691a907c7ad8c7e61004a3c | ef4cc3e641a77c2cea565035cf033536d91e29ea | refs/heads/master | 2016-08-12T19:05:56.548794 | 2016-05-02T06:15:37 | 2016-05-02T06:15:37 | 55,436,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,838 | sce | eNRTL TER.sce | clc;clear;
//calc of mole fraction from weight fraction
w=[.900 .850 .800 .750 .700 0.600 0.500 0.400 0.300 0.200 .015 .010]//weight fraction
m1=86.845//molecular wt of LiBr
m2=84.1157//molecular wt of HCOOK
m3=18//molecular wt of H2O
//calc 2w/3 w/3 (1-w)
N1=2*w/(3*m1);
N2=w/(3*m2);
N3=(1-w)/m3;
Ntotal=N1+N2... |
030e4136d529ea9af2e763390689f2493b6e448b | efe59cd4cca137aba9af447e8040b1eac3738006 | /solutions/2020-2/assignment-III/solucao-exercicio-avaliativo-III-2020-2.sce | 009fff83da3ced635b0834d93fcb121b5666bbe2 | [] | no_license | thejefecomp/scilab-codes | fd13f6aa666135c0fb08989e25b0ca1354c58b51 | 6eefce6eed8af0b54f2d6172f6e2b05513327184 | refs/heads/master | 2023-07-31T13:23:50.467306 | 2021-09-23T09:00:49 | 2021-09-23T12:04:06 | 287,115,880 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,619 | sce | solucao-exercicio-avaliativo-III-2020-2.sce | /*
author: prof. Jeferson Souza (thejefecomp)
email: jeferson.souza@udesc.br
@2021 - All rights reserved.
Este programa fornece uma possível solução para o enunciado do Exercício Avaliativo III da disciplina de Programação para Engenharia II, a utilizar como base a solução do Exercício Avaliativo II. Além das funcio... |
08f0447d70f2a96d225ee1d1504e7af11312d54a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH5/EX5.15/ex5_15.sce | 827061577e5b7b59e5a40186bc4d49beddf11a5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | ex5_15.sce | //Example 5.15, page no-208
clear
clc
f1=2.4 //first signal frequency
f2=3.2 //2nd signal frequency
f3=3.4 //3rd signal frequency
//minimum sampling rate for each of the signals would be twice the highest frequency component
sr=3*(f3*2)
st=10^6/(sr*10^3)
printf("Sampling rate of th... |
49f0f743f22cd67374efa56a3b919a4b02fe917b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH9/EX9.1/Ex9_1.sce | 10a34ce23f3cb5940fd9e3c63da1d9ba5ac66ef7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 781 | sce | Ex9_1.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 9 : Sinusoids and Phasors
// Example 9 - 1
clear; clc; close;
//
// Given data
Vm = 12.0000;
theta = 10.0000;
w... |
0a60fa51f0783128c9bda878ebdbf6e5fff6454f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH20/EX20.2/20_02.sce | 2c75e6fa9389403ab9c27875cf80770552f9c856 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | 20_02.sce | //Chapter 20, Problem 2
clc;
R=30; //resistance of coil
f=50; //supply frequency
L=127.3e-3; //inductance of coil
Ip=5.08; //line current
Xl=2*%pi*f*L; //inductive reactance
Zp=sqrt(R^2+Xl^2); ... |
50b8494caca9ec9a0ad608b0889eb217ca427200 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH7/EX7.2/Chapter7_Example2.sce | 2bb671d49584928ef5d51c2909f58a94c58109b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,551 | sce | Chapter7_Example2.sce | //Chapter-7, Illustration 2, Page 346
//Title: Air Conditioning
//=============================================================================
clc
clear
//INPUT DATA
S=60;//No. of staff
DBTo=30;//Out door Dry bulb temperature in oC
RHo=0.7;//Re-Heat factor at out-door
a=0.4;//amount of air circulated in (m^... |
23288ade5953005622c21fde6c08e81951310988 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH3/EX3.8/ex3_8.sce | 7618605fb180f88eafe7da85ad6f30d5ae3aeb2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | ex3_8.sce | //Caption:In single phase transformer Calculate (a)The maximum flux density in the core and (b)induced emf in the secondary
//Exam:3.8
clc;
clear;
close;
N_1=80;//Primary turns
N_2=240;//secondary turns
f=50;//Supply frequency(in Hz)
E_1=240;//Supply voltage(in Volts)
F_max=E_1/(4.44*f*N_1);//Maximum value of ... |
a9fb123e200663ad0ebba4f9df3a40fce743305b | 3bfc865f2b3d85f6e4f194cd88c4b8be442915ac | /read_log.sce | 460367bc73cff6339e16db5b68e5adcc080ea768 | [] | no_license | mole80/chauffage_log_wpf | 28c15b70be8a1ef4b4408a6cec104cd5ce1b4163 | 271a0be9cceed45623168147e835660f8d15b1d7 | refs/heads/master | 2020-04-03T19:18:27.712329 | 2018-10-31T08:23:24 | 2018-10-31T08:23:24 | 155,518,844 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,210 | sce | read_log.sce | clear
clc
xdel(winsid())
//txt = mgetl("C:\prive\chauffage\log_wpf\chauffage\bin\Debug\log_30_10.csv")
txt = mgetl("C:\prive\chauffage\log_wpf\chauffage\bin\Debug\log_31_10.csv")
//csv = csvRead("C:\prive\chauffage\log_wpf\chauffage\bin\Debug\log_30_10.csv")
disp(size(txt))
function [tick] = GetTime(timeAsString)
... |
e598858249d3bc5d1a3c60f9b3dff540f6ad509b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH12/EX12.1/Ex12_1.sce | ec6d0ebf85a66863c0e8631ba4b9b72f4bcf394c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | sce | Ex12_1.sce | clc
// given data
delG=-39.59 // kJ/mol
delH=-56.83 // change in enthalpy in kJ/mol
mdotmethanol=32.0 // in g/s
mdotoxygen=48.0 // in g/s
Wmax=166.3 // -delG in kJ
flowmethanol=mdotmethanol*100*3600/(Wmax*1000) // in kg/h
flowoxygen=mdotoxygen*100*3600/(Wmax*1000) // in kg/h
printf( "The required flow rate... |
82c81c7092a7c41fabbf28d6405bebd36cdcc379 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH3/EX3.5/3_5.sce | 153cf37c73199bd95f960b82ef8616db76ba4d75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | 3_5.sce | pathname=get_absolute_file_path('3_5.sce')
filename=pathname+filesep()+'3_5_data.sci'
exec(filename)
//Stroke Volume vs (in cc)
Vs=(%pi*d*d*L)/4
//Compression Ratio r
r=1+(Vs/Vc)
//Ratio Of SPecific Heats
y=Cp/Cv
//Air Standard Efficiency
n=1-(1/r^(y-1))
printf("\n\nResults\n\n")
printf("\nStroke Volume: ... |
a72a8e1ced783027264868daeb4f71a7f8f2ce4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH15/EX15.7/eg15_7.sce | e609ad3c1eb3a852632be3cf85e4d657e369baaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | eg15_7.sce | clear;
clc;
p1=100;
pl=5;
b11=pl/(p1*p1);
a=2*p1*b11;..// a=del(pl)/del(p1)
l1=1/(1-a);
a1=0;..// a1=del(pl)/del(p1)
l2=1/(1-a1);
printf("The penalty factor of plant 1 is: %.3f\n",l1);
printf("The penalty factor of plant 2 is: %.3f\n",l2);
|
702416f303190f4cbdd402a54b33a57c27ccdc37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH3/EX3.4/Example34.sce | daf99599bb842190996358774e08576ae0d09019 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | Example34.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 3, Example 4")
disp("Given Data")
H = 505//Head in m
P = 12900//Power in kW
N = 425//Speed in rpm
etao = 0.84//Efficiency
g = 9.81/... |
19093a32025666f67e1e463b28fdb5a6e5e836cf | c61d570c37971fa455028a89d2163f455f91c291 | /script_fisico/inversa.sci | 1ccb089670716797c0fca37e7430f59d6d352a4c | [] | no_license | OgliariNatan/-ScientificComputing | a0af891f900f3f146a9751fd169f96052bd4ba83 | 070ea9d70430ef0c9e7944f491426b73af7c12b0 | refs/heads/master | 2020-04-04T23:13:12.585946 | 2017-07-03T21:46:18 | 2017-07-03T21:46:18 | 81,988,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,770 | sci | inversa.sci | function x = inversa(A)
// Calculo da matriz inversa com uma fatoração LU [Capítulo 10 - pg245]
// Onde x é a matriz inversa
// -> A é a matriz de coeficientes do sistema
//Exemplo de Chamada
//exec ('path\fatoralu.sci',-1) {-1 não mostra o código de execução}
//A = [10 2 -1; -3 -5 2; 1 1 6];
//x = inversa(A)
//Auto... |
31c78eaa8fd03466388e5eb7b3c38dc53b6e44a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH4/EX4.25/exa_4_25.sce | 3684956ebf08025b98498af4a89e61bc5194f6aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | exa_4_25.sce | // Exa 4.25
clc;
clear;
close;
// Given data
Vout= 10;// in V
V_F= 2;// in V
Ip_max= 15;// in mA
Ip_max= Ip_max*10^-3;// in A
I_F= Ip_max;
Rs= (Vout-V_F)/I_F;// in Ω
disp(Rs,"The value of Rs in Ω is :")
|
484f0e0ab126be2cc07d876513950ef5032079b8 | 6c7a728e11a427c93b15669517131a79a0703108 | /api/pdb_root/install/scripts/test_pdb/open_pdbs.tst | 8af638e4be4ab235ef67bc96a333e0a631b2cbd3 | [] | no_license | ZVlad1980/adm_scripts | 0b9fe4ff166213dc649d555c81e8d65b858074e4 | 9978a098c8140f5722b51e799969b76e2d68b42e | refs/heads/master | 2020-03-31T08:45:49.405822 | 2019-04-30T05:04:03 | 2019-04-30T05:04:03 | 152,071,490 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 756 | tst | open_pdbs.tst | PL/SQL Developer Test script 3.0
20
-- Created on 30.06.2018 by V.ZHURAVOV
declare
-- Local variables here
i integer;
begin
-- Test statements here
pdb_pub.unfreeze_(p_pdb_name => 'DEV_CLONE');
pdb_pub.unfreeze_(p_pdb_name => 'DEV');
pdb_pub.unfreeze_(p_pdb_name => 'WEEKLY_NODE');
pdb_pub.open_ro_(p_... |
9e9c77f0bfcf15bb590547c80a40a1efa0091fb2 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_pop2.tst | ea098203afe9f6acb1996daefb4a1fbc5b796bc0 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 178 | tst | err_pop2.tst | ; tests that the argument to a pop is a number
( set-logic QF_UF)
( push 2)
( pop 0.0 )
( pop "asd")
( pop #b1 )
( pop #x0 )
( pop a )
( pop |A| )
( pop 1 2 3 )
( pop -1 )
(pop)
|
9d2f5db52c3df75faef6c55de0e00036c1925647 | a1161d9e9d26e0a7b20c31269be145f13d9d3e89 | /QA/tests/ethanol/ethanol_ti.tst | f9bb539975800fa84e5370e22ec3afb90088cbb1 | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | nwchemgit/nwchem | c06e7e1fe11b3afad17b167f29a97c4fa3ad0fda | c5a8125298a6ea7d6eb27b07c196ea8041aa7198 | refs/heads/master | 2023-09-05T17:18:34.513866 | 2023-09-02T02:56:47 | 2023-09-02T02:56:47 | 111,318,191 | 425 | 164 | NOASSERTION | 2023-09-11T16:34:14 | 2017-11-19T17:48:21 | Fortran | UTF-8 | Scilab | false | false | 630 | tst | ethanol_ti.tst | Iteration = 0
Energy = 0.000E+00
Iteration = 0
Energy = -8.957E+03
Iteration = 0
Energy = -8.961E+03
Iteration = 0
Energy = -8.955E+03
Iteration = 0
Energy = -8.957E+03
Itera... |
f1c6a39a18e6d228225fdacd9eb3df0d24c71da2 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /ww3t v2.sce | 258f633635ee12d1fcfe55d45290e1f3e0aeb1d4 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 370,954 | sce | ww3t v2.sce | Name=ww3t v2
PlayerCharacters=A_air_pistol_frozen
BotCharacters=target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=A_air_pistol_frozen
AddedBots=target.bot;target.bot;target.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=widewall02b.map
MapScale=2.0
BlockProjectilePredicto... |
de8fa436f4053edc9ec89b5d395537f60f7dc4ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH4/EX4.6/exa4_6.sce | 369cecb2c878dc9d421cd8df52975edd54027d75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | exa4_6.sce | clc;
//Example 4.6
//Page no 133
//Solution
m=0.8;
Aq=100;
Fc=500; //kHz
Vc=5*(10^-3); //mV
Fm=1000; //Hz
//(a)
disp("(a)Substituting into equation 4-34(pgno 132), ");
Am=Aq*(1+m);
disp(Am," Amax = ");
am=Aq*(1-m);
disp(am,"Amin = ");
//(b)
Vom=Am*Vc;
vom=am*Vc;
disp('V',Vom,"(b)Vout(max) = ");
disp('V',vom... |
483c6ac665309956c5fd63af14cd7056eb0a6381 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH2/EX2.5/Ex2_5.sce | 068905a9af07a9084fae71fe425d0979ff45b527 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,036 | sce | Ex2_5.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 2 : FORCES IN AN ELECTROMAGNETIC SYSTEMS
// EXAMPLE : 2.5
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
// Refer figure 2.3(a):- Page no. 36
B = 1.0; ... |
9a99cf8e3312daf567b396cb4f38a27cc5a83765 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH15/EX15.19/15_19.sce | b64dab24d0a2763108a40f0f23e688291ce0b01d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 803 | sce | 15_19.sce | //To find acceleration and inertia force
clc
//Given:
r=125, OC=r, l=500, PC=l, PG=275, kG=150 //mm
mC=60 //kg
N=600 //rpm
theta=45 //degrees
//Solution:
//Refer Fig. 15.24
//Calculating the angular speed of the crank
omega=2*%pi*N/60 //rad/s
//Acceleration of the piston:
//By measurement,
NO=90/1000 //m
... |
2063fc9a4854f78b47284aafae52115c45a84b2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH1/EX1.22/1_22.sce | e16d4ae3e20208ce264bd051f326298817e60f70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | 1_22.sce | //clc();
clear;
//To determine the wavelength of light
theta=15; //first diffraction maxima in degrees
a=2.5*10^(-6); //slit width in metres
lambda=(a*sind(theta)*10^10)/1.43;
printf("wavelength of light is %f Armstrong",lambda);
|
1e3a8709fb743246a3d74d0cd3e2c9b2c03ed2b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH5/EX5.4/5_4.sce | 3d1e9289ef3a82a2d910afab90ca29b9118572cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | 5_4.sce | //cubic spline
//example 5.4
//page 189
clc;clear;close;
x=[0 %pi/2 %pi]
y=[0 1 0]
h=x(2)-x(1)
M0=0;M2=0;
M1=((6*(y(1)-2*y(2)+y(3))/h^2)-M0-M2)/4;
X=%pi/6;
s1=(((x(2)-X)^3)*(M0/6)+((X-x(1))^3)*M1/6+(y(1)-(h^2)*M0/6)*(x(2)-X)+(y(2)-(h^2)*M1/6)*(X-x(1)))/h;
x=[0 %pi/4 %pi/2 3*%pi/4 %pi];
y=[0 1.414 1 1.414];
... |
780cd06088848c434c26035b078fd17b09f80898 | 0e52518c6fe37e683dc04d785f174ce30408f8e7 | /otimizacao/main.sce | a70d18d8eb962dfaaaf1e72e7bfbe063d5a0630f | [] | no_license | thiago-franco/metodos-numericos | c3a7a10d00376c9b238825e9ff049635cc153a92 | 95ed4e0b1e05b10c7d0ef9cbc23f9c98d2cf8a65 | refs/heads/master | 2021-07-06T00:19:31.512668 | 2017-09-30T01:25:29 | 2017-09-30T01:25:29 | 104,950,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,732 | sce | main.sce | // This GUI file is generated by guibuilder version 3.0
//////////
f=figure('figure_position',[-8,-8],'figure_size',[1382,744],'auto_resize','on','background',[-3],'figure_name','Janela gráfica número %d');
//////////
delmenu(f.figure_id,gettext('File'))
delmenu(f.figure_id,gettext('?'))
delmenu(f.figure_id,gette... |
df57156d3167fa6f065edda4122d5f5992ba396e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH1/EX1.3/Ex1_3.sce | f7e9944e781e48ab11f199141f665a2381e13b2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Ex1_3.sce | // Exa 1.3
format('v',7);
clc;
clear;
close;
// Given data
G=-10;
Ri= 100;// in kohm
R1= Ri;// in kohm
R1=R1*10^3;// in ohm
// Formula G=-R2/R1
R2= R1*abs(G);// ohm
R1= R1*10^-3;// in kohm
R2= R2*10^-6;// in Mohm
disp(R1,"Value of R1 in kohm is : ")
disp(R2,"and value of R2 in Mohm is : ")
|
8f41ec7e525a4377d1068d95b2de0ea862f3ee6b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits__J._Paul_2045.zip/Electronic_Devices_And_Circuits__J._Paul_2045/CH4/EX4.22/Ex4_22.sce | 46cba27ae232712d728daddd6bd23bbea9a2134d | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sce | Ex4_22.sce | errcatch(-1,"stop");mode(2);//example 22
beta1=100;
alpha1=beta1/(beta1+1);
disp("alpha = "+string((alpha1)));
exit();
|
99517282176266bbfc1971a4e30971d7e89316ff | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/Outras/heun.sce | 201ea0afa88ed10abc7170277bdb41ca0aaf7c36 | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 810 | sce | heun.sce | function y = f(t, u)
y = sin(u + t)
endfunction
function y = f2(t, u)
y = u*t
endfunction
function y = fm3(t, u)
y = 11 - t^2
endfunction
function y = fm4(t, u)
y = 8 - t^2
endfunction
function y = fm7(t, u)
y = cos(u + 10)
endfunction
function y = fm8(t, u)
y = cos(u + t)
endfunction
func... |
4ee91b7479406df39aea2e8fcd5dc1a75057d1bc | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/CalcTime.sce | 6de7828d8eb5f3182daba6fe04cb8217810a72f5 | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sce | CalcTime.sce | sFeed = "F(P7)";
fTotalTime = 0;
fTotalLength = 0;
for i = 2:size(listCompedCutPath, 1)
if sFeed ~= sLineEndCode(i) & sLineEndCode(i) ~= "" then
sFeed = sLineEndCode(i);
end
select sFeed
case "F(P7)"
fFeed = 20
case "F(P8)"
fFeed = 5
case "F(P9)"
fFeed = 100
e... |
ce14f30856a574785942750db1b03a00b4cfced4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH2/EX2.7.4/Ex2_7_4.sce | f0eae03953b151b83b90d4fc8245baeee0fb986f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | Ex2_7_4.sce | clear
clc
P0=100;//vapour pressure in torr
P2=760;//in torr
T2=353.15;//in K
T1=300.15;// in K
DelSm_v=87.03;//entropy in J/Kmol
R=8.314;//in J/Kmol
P1=P2/(10^((DelSm_v*(T2-T1))/(2.303*R*T1)))
printf('P1=%.1f torr',P1)
X=(P1-P0)/P1;//Mole fraction of solute
printf('\nX=%.4f',X)
T0=(1/T2)+((R*log(1-X))/(DelS... |
c87c3122e09d286a654c3433ccaa46ea10b59e7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH7/EX7.8/7_08.sce | 8de198785a429ff455712d11c258b463a191e407 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | 7_08.sce | //Chapter 7, Problem 8
clc;
A=10*10^-4; //cross-sectional area
l=0.2; //mean circumference in meter
phi=0.3*10^-3; //flux
B=phi/A; //flux density
H=1000;
mmf=H*l; //magnetomotive force
disp("From the magnetisa... |
decbf0724ab26498f0fca0bd0ec11210d9254bd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH27/EX27.6/SBG_6.sce | 63ca641279a7c08f49394bbd6330b3a018489290 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | SBG_6.sce | // sum 27-6
clc;
clear;
Dp=300;
rp=150;
//Let the angular velocity ratio be i
i=2/3;
rg=rp/i;
Dg=2*rg;
R=sqrt(rp^2+rg^2);
P=15000;
N=300;
Cs=1.5;
FOS=2;
sigb=100;
gamma1=atan(Dp/Dg);
gamma1=180/%pi*gamma1;
gamma2=(90-gamma1);
v=2*%pi*N*rp/(60*1000);
Cv=5.6/(5.6+sqrt(v));
Pt=P/v;
Peff=Pt*Cs/Cv;
Sb=... |
740850b4a1911eff3fcbe20a3c4021132ed5a2de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH12/EX12.8/CH12Exa8.sce | 0a0e20ff4db3057249cb3738e813da38700f4a35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 720 | sce | CH12Exa8.sce | // Scilab code Exa12.8 : : Page-575(2011)
clc; clear;
N_0 = 6.023e+026; // Avogadro's number, per mole
rho = 1.62e+03; // Density, kg per cubic metre
sigma_a = 3.2e-31; // Absorption cross section, square metre
sigma_s = 4.8e-28; // Scattered cross section, square metre
A = 12; ... |
1858ba3b26a2181bec742f64cdf5e805da15872d | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH5/EX5.7.b/solution5_7.sce | 12ef3406d34cf88f235c91bd1893cffb9505186d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 934 | sce | solution5_7.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution5_7.sce')
//Obtain path of data file
datapath = path + filesep() + 'data5_7.sci'
//Obtain path of function file
funcpath = path + filesep() + 'functions5_7.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
exec(funcpath,[-1])
... |
a67020da681640d4a7a3999e0a4326cd0a776ad2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.61/Example_1_61.sce | 61410a1b9833ba631b1ba508ba32c5dbb4db67e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | Example_1_61.sce | // Example 1.61 Two dice with faces numbered 1 to 6
clc;
clear;
disp(2,"For a score of less than 12 thrower will pay Rs = ",40,"For a score of 12 thrower is given Rs=");
disp(35/36,"Probab. of getting a score less than 12 =",1/36,"Probab. of getting a total of 12 eith two dice");
disp("thrower is expected to loose... |
5a5c207a5ae4d070e11639742444b95d44b6fbd6 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /prog_assembly/libs/scilab_code/characterization/Default_chip_para_TR_SP_RI_CP_FP.sce | 0dd0e8a0648d031b009423db80fa3a8af64ecbef | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 43,221 | sce | Default_chip_para_TR_SP_RI_CP_FP.sce | global file_name path fname extension chip_num board_num hex_1na;
fd_w= mopen ('~/rasp30/prog_assembly/libs/chip_parameters/chip_para/chip_para_TR_chip"+chip_num+brdtype+".asm','wt');
mputl("/**********************************/",fd_w);
mputl("/* TR (Tunnel & Reverse tunnel) */",fd_w);
mputl("/***********************... |
81ba0d8f8a4a0c52ae181b8e878e09a044d05f3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH8/EX8.6/8_6.sce | 0eb64a71265d14de60a18f87acc63f1a74a3c9f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | 8_6.sce | clc
//initialisation of variables
h=12//in
h1=18//in
v=19000//B.Th.U/lb
T=12600//lb/in^2
m=90//lb/in^2
w=120//gal
t1=140//F
t2=60//F
t3=570//F
Cv=0.24//ft/lb
q=810//ft/lb
n=16.9//lb
//CALCULATIONS
H=(n/t2*v)//B.Th.U
H1=[m*%pi*(144/4)*(h1/h)*(T/t2)]/(778*2)//B.TH.U/min
H2=1750//B.Th.U
H3=(H1-H2)//B.Th.... |
ca4381178334d29329f3f5443f10c601f69584be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.42/Ex13_42.sce | abac4a5a324367321e4892e1f40e47df3e6d5f0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | Ex13_42.sce | //EX13_42 Pg-23
clc
clear
x=['1010'];
y=['0011'];
//binary to decimal conversion//
x=bin2dec(x)
y=bin2dec(y)
z=x+y;
a=dec2bin(z)//decimal to binary conversion//
printf('the addition of given numbers is: ')
printf("%s",a)
|
8ee9e457f8a55fe59ab2ee54870263cb58e1b12a | e9b135074a04c0ae4273c18ac8466c003190b21a | /2 Ano/Metodos Numericos/Soluciones/raices.sce | 5df8f7a3f3d293a559061db26905ea167a515bc4 | [] | no_license | damianarielm/lcc | 804faae03e5f60e44de58d264721892e1fea0c3c | ffd3e65f54073215e1e3542aabd62b3ec1ec5960 | refs/heads/master | 2023-02-18T12:14:00.543045 | 2023-02-14T00:19:54 | 2023-02-14T00:19:54 | 161,278,175 | 60 | 9 | null | 2020-12-04T14:43:40 | 2018-12-11T04:41:42 | HTML | UTF-8 | Scilab | false | false | 817 | sce | raices.sce | function r = raices(polinomio)
a = coeff(p, 2)
b = coeff(p, 1)
c = coeff(p, 0)
delta = b^2 - 4*a*c
if b < 0 then
x1 = (2*c) / (-b + sqrt(delta))
x2 = (-b + sqrt(delta)) / (2*a)
else
x1 = (-b - sqrt(delta)) / (2*a)
x2 = (2*c) / (-b - sqrt(delta))
e... |
bd2e79c474043f26791dc2a7cbe075e6c14fe1d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH14/EX14.6/Chapter14_Example6.sce | a3b2b87ef7778539f72bb592c2eec6d49d64b6c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | Chapter14_Example6.sce | //Chapter-14, Example 14.6, Page 586
//=============================================================================
clc
clear
//INPUT DATA
T=25;//Temperature of air in degree C
v=5;//Velocity in m/s
D=0.03;//Diameter of tube in m
DAB=(0.82*10^-5)//DAB value in m^2/s
//CALCULATIONS
v1=(15.7*10^-6);//Kinem... |
87a0ed38d19dd3c3d8dd1eaa131ae278e8701d2e | c49cfb0568cc47def2bab58998cf7a2745deeb75 | /integrals.sce | b88805c93b3c933887633fc6dccfc85fe22fa5d0 | [] | no_license | mirgayazov/Computational-mathematics | 7be950e9c54231943912aa8cc0eba9484b8613ee | 97eb92557308d51709101ba1922ed2bb39a0e08f | refs/heads/master | 2023-05-31T18:16:04.774709 | 2021-07-08T09:18:58 | 2021-07-08T09:18:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,502 | sce | integrals.sce | clc
//function [f_xi]=f(x)
// f_xi = 1/(sqrt(1+x^2))
//endfunction
function [f_xi]=f(x)
f_xi = sqrt(x^2+9)
endfunction
function [I]=FLP(f, x, n, h)
I = 0
for j = 0:1:(n-1)
I = I + f(x(j+1))*h
// disp(f(x(j+1))*h)
end
endfunction
function [I]=FPP(f, x, n, h)
I = 0
for j = 1:1:(n)
... |
1cc68a0257410918c1cc17c06025a9e2b620e27b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH12/EX12.19/Example12_19.sce | 08d6517f9bda709fcdc5c6f5fde8e00fa9b51828 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,975 | sce | Example12_19.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 12: POWER,ENERGY,AND EFFICIENCY RELATIONS OF DC AND AC DYNAMOS
// Example 12-19
clear; clc; close; // Clear the work space and console.
// Given data
V = 220 ; // Rated voltage of SCIM in volt
f ... |
9775b4d2a85aae3405602dae6a97cae780c2d948 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.22/Ex2_22.sce | 0949e768ec49dcf0d5e62ff88a1ac4d768864780 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 874 | sce | Ex2_22.sce | clear
//
//Initilization of Variables
A_a=50*20 //mm //Area of aluminium strip
A_s=50*15 //mm //Area of steel strip
P=50*10**3 //N //Load
E_a=1*10**5 //N/mm**2 //Modulus of aluminium
E_s=2*10**5 //N/mm**2 //Modulus of steel
//Calculations
//Let P_a and P_s br the Load shared by aluminium and steel strip
//P_a+P_s=... |
9e68b4ad75b7a08abcda8f2692ea1c6a2bf627ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH3/EX3.6/ex3_6.sce | bbf61931c351f28790a94feb1b6d206de2d04da9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | ex3_6.sce | // Exa 3.6
format('v',6)
clc;
clear;
close;
// Given data
Vo= -6;// in V (for Vi<=-6.6 V)
Vo= 8;// in V (for Vi>=8.8 V)
// Vi= 10000*i+100000*i or i= Vi/110000 (i)
Vi= -6.6:0.1:8.8;
// Vo= 100000*i
Vo= 100000*Vi/110000;// (substituting i from eq(i))
plot(Vi,Vo);
xlabel("Vi in volts")
ylabe... |
aec0dd7e291bf15a8907c8767cfea71957c73713 | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/51.tst | 1399d63b41f162823d37c53738ff9b749e29b167 | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,116 | tst | 51.tst | 1000 1000
100
948 752 1
951 754 1
948 756 1
951 758 1
948 760 1
951 762 1
948 764 1
951 766 1
948 768 1
951 770 1
948 772 1
951 774 1
948 776 1
951 778 1
948 780 1
951 782 1
948 784 1
951 786 1
948 788 1
951 790 1
948 792 1
951 794 1
948 796 1
951 798 1
948 800 1
951 802 1
948 804 1
951 806... |
e7c092051fa2e09bf1f339083c0f0d824f01d1a4 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PD7.prev.tst | 16a805ea96f327f16f3bc07040681a953a61b46e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | tst | PD7.prev.tst | (a*x^2 + b*x*y^2 + c*y^4).degree() = -1
(a*x^2 + b*x*y^2 + c*y^4).degree(false) = -1
|
c95a3ff651f362ee15d865c98c611017cfdcc2c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH6/EX6.6/Example6_6.sce | 74dbed5918977fbabbe207bda975bf096149cb9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,961 | sce | Example6_6.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 6: AC DYNAMO VOLTAGE RELATIONS-ALTERNATORS
// Example 6-6
clear; clc; close; // Clear the work space and console.
// Given data
// 3-phase Y-connected alternator
E_L = 11000 ; // Line voltage gen... |
fc98f78db416ee0a0d24fbfcbc58794e152d533d | e25bb3040c96f9782aab0493e05ba22f5bf50ccf | /ex5/ex5_template.sce | 83e3a98ff6e7a8148e2cffb0d0d86591555dbc65 | [] | no_license | gpioblink/aizu-spls-exercise | c13258d46f50ed2db7797693a097b0fb75d24eaf | 6c0b9326ba8e4b52378cfe777e82a2bfcdecc9b9 | refs/heads/master | 2022-09-14T06:09:44.774157 | 2020-05-31T07:43:26 | 2020-05-31T07:43:26 | 263,856,972 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,882 | sce | ex5_template.sce | // EXERCISE 5
// Define some parameters
n = 0:1023;
f_signal = 20;
f_noise = 250;
T = 0.001;
sigLen = length(n); // Length of signal
// Implement input signal x(n) into "x"
x = zeros(1, sigLen);
piValue = %pi; // Value of pi
// Write your code here
x = 100*sin(2*piValue*f_signal*n*T)+10*sin(2*piValue*f_n... |
8d8a984b8d2e724954e06fad5b504a45dc71f1af | cadda4ec8d2b4c71fab6db1a87c0b4d711629ddf | /k_means.sce | 473b25254c8291270cfe1aaa743b174b10e1e3b2 | [] | no_license | AkshataDM/DataMiningClustering-IS630 | ad9abde9d1140af26fa7eebf72d642379f0c66e8 | 5d8517ddf961517299018651bb8dbb280d0d1142 | refs/heads/master | 2020-12-24T16:50:10.674783 | 2015-04-10T01:54:06 | 2015-04-10T01:54:06 | 33,702,453 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,074 | sce | k_means.sce | data = read("pendigits.tra",1500,17); //each row of this data matrix contains a vector
class_label = data(:,17);
p1 = data(16,:);
p2 = data(994,:); //choosing random prototype initially.
p = [p1;p2];
count=0;
flag = 0;
while flag==0
c1=1;
c2=1;
count = count+1;
for i = 1:1500
fo... |
3bde209ae8a93a2807f31fcbba6f30d032317d37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH8/EX8.10/Ex8_10.sce | 80221ac9ad44c79f1dcdd1341e0a4a143eb54949 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,189 | sce | Ex8_10.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 8 Example 10")
disp("at inlet to HP turbine,h2=3287.1 KJ/kg,s2=6.6327 KJ/kg K")
h2=3287.1;
s2=6.6327;
disp("By interpolation state 3 i.e. for isentropic expansi... |
9676e09262c7342d1788432ebc7678824f8ce783 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH7/EX7.10/7_10.sce | 3e13e010d6ae918bf8df3bb742bb4c7dbb29b525 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | 7_10.sce | P1 = 0.5e06;
V1 = 0.2; V2 = 0.05;
n = 1.3
P2 = P1*(V1/V2)^n;
function y = H(p)
y = ((P1*V1^n)/p)^(1/n);
endfunction
H = integrate('H','p',P1,P2); // H = H2-H1
U = H-(P2*V2-P1*V1);
W12 = -U;
disp("kJ",H/1000,"Change in enthalpy is")
disp("kJ",U/1000,"Change in internal energy is")
disp("kJ",0,"and",0,"The ... |
3e246798045213cdb58be466167e28183a8cdf80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH6/EX6.35/EX6_35.sce | 5f3e80d76db5bdf26809f83e06a6cef411d6a86a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 739 | sce | EX6_35.sce | // Example 6.35
// Calculation of a) responsivity b)incident optical power
// Page no 493
clc;
clear;
close;
//Given data
n=0.6; // Quantum efficiency
e=1.602*10^-19; // Charge of electron
lambda=0.9*10^-6; // Wavelength
h=6.626*10^-34; /... |
771c8c1f30efbc87332eb3d6a7137ef550ec16e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH13/EX13.2/13_2.sce | 4afad7ae1467a7a39f1ab2abff9e02047eea964d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 199 | sce | 13_2.sce |
clc
//initialisation of variables
w=62.4//lb/ft^3
g=32.2//ft/sec^2
b=300000//lb/in^2
//CALCULATIONS
p=w/g
v=sqrt(b*144*g/w)
//RESULTS
printf (' velocity of sound in water= %.f ft/sec',v)
|
01587ebf3419fec26a25eadca926a8a298201e5d | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/cplxreal.sci | a5529982039a7f58756e3ae55928202e26b60cf0 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,414 | sci | cplxreal.sci | function [zc, zr] = cplxreal (z, thresh)
//Function to divide vector z into complex and real elements, removing the one of each complex conjugate pair.
//Calling Sequence
//[zc, zr] = cplxreal (z, thresh)
//[zc, zr] = cplxreal (z)
//zc = cplxreal (z, thresh)
//zc = cplxreal (z)
//Parameters
//z: vector of complex numb... |
25559af48578e02099f49337b69525621dc453dc | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-HypothesisTesting/SP_FLKSTest1S-TD-01.tst | c20692e032e0b46e94761fc0731f9df2d8205374 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,518 | tst | SP_FLKSTest1S-TD-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
a1cb299ce02b1fd5a60d65123333bd6ac703f985 | e1527120156f72705816c6f6071227e65c579308 | /kernel/smewr.sci | 65b19b64a478036df947b8e7e3300dc294967586 | [] | no_license | bhuepping/scilab_collaborative_filtering | 583e0a7b01ca9d53fe0e5f9346947bccd03b9229 | 39966976b862196c836e7d04bca26ebe27e25632 | refs/heads/master | 2021-01-22T12:13:02.121309 | 2012-05-31T21:41:08 | 2012-05-31T21:41:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sci | smewr.sci | function value = smewr(ratings,users,items,lambda)
value = sme(ratings,users,items) + lambda*(sum(users.^2) + sum(items.^2));
endfunction
|
004cfee7ebaecce540974247bbc6ab9ec4dd9f76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH4/EX4.14/ex4_14.sce | 47098d98a37b3fc1f3d68bb147b693b3a48c6890 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | ex4_14.sce | clc;
re=6.4*10^6; //radius of earth in m
g=9.8; //gravitational constant in m/sec square
G=6.67*10^-11; //Universal gravitational constant in Nm square/kg square
m=(g*re*re)/G; //calculating mass of earth in kg
disp(m,"Mass of Earth in kg = "); //diaplaying mass of Earth inkg
|
9229bd87e14c262c713a66b6e87b71c1b0bae5e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH14/EX14.11/Ex14_11.sce | 93af1831c2b99d3a5abae109100f5c2d004ed736 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 767 | sce | Ex14_11.sce | clc
clear
//Initialization of variables
mfr=1
water=900 //gallons
t2=110 //F
t1=80 //F
cp1=1
//calculations
mfa=mfr*water*8.33*60
mfc=mfa/(60*0.075)
qa=mfa*(t2-t1)
dH=qa/(mfc*4.5)
dH2=mfr*cp1*(t2-t1)
H1=23.73
H2=5.08
f=3.309
lnmean=(H1-H2)/log(H1/H2)
dtt=(t2-t1)/lnmean
per=25
//results
printf("flow... |
4c93be83bbe09a015650842974ec780c0c776089 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH1/EX1.11/Ex1_11.sce | dde9540b5ebc5f2e261eea6658b20b0f0856e90b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | Ex1_11.sce | //page 18
//Example 1.11
clear;
close;
clc;
disp('I = m * m identity matrix');
disp('A = m * n matrix');
disp('I*A = A','Then,');
disp('A * I = A');
disp('0(k,m) = k * m zero matrix');
disp('0(k,m) = 0(k,m) * A','Then,');
disp('And, A*0(k,m) = 0(k,m)');
//end
|
e2b69c021d9b9a9dbcc619b8ed207c0c790c1373 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH10/EX10.8/Example10_8.sce | 6827e284ed4431fd95baac7b0bb94827bee58630 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Example10_8.sce | //chapter10,Example10_8,pg 274
e=1.6*10^-19
me=9.1*10^-31//mass of electron
q=3.2*10^-19
malp=6.68*10^-27//mass of alpha particle
B=0.05
V=20*10^3
//v=sqrt((2*q*V)/m)
//R=(1/B)*sqrt((2*m*V)/q)
Re=(1/B)*sqrt((2*me*V)/e)
Ralp=(1/B)*sqrt((2*malp*V)/q)
S=2*Ralp-2*Re//linear separation betwe... |
73c5747cb097000f68e24171d37b9d74a7df813a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH9/EX9.9w/9_9w.sce | 26d5b48fef4e1b194308527bfdfc51a28af77ece | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | 9_9w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 9.9w
//calculation of the distance moved by the bigger block
//given data
L=2.2//length(in m) of the base
n=10// mass of bigger block is 'n' number of times the mass of smaller block
//calculation
//centre of mass... |
435d599b33c5166a737a1e92a8a189eb37975506 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH15/EX15.5/eg_15_5.sce | 5edda0967263c12eff28ba5890bdc81d136dd589 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | eg_15_5.sce | clc;
clear;
//T=1+D+D^3 over GF(2)
//let X0 is the null sequence
//0=X0+DX0+D^3X0 since output of the null sequence is zero
//Adding X0 on both sides we get X0=DX0+D^3X0
nul=[0 0 1];
T=[0 1 0 1];
j=1;
for i=1:max(size(T));
if(T(i)==1)
s(1,j)=i-1;
j=j+1;
end
end
j=4;
for i=1:7
... |
b6f2676dafa58a22483f3114bff8e536b4c6a791 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH1/EX1.11/1_11.sce | 548c970b747b11ff76bbca1cfc32f41c2a7e8a79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sce | 1_11.sce | //Chapter-1,Example 1_11,Page 1-22
clc()
//Given Data:
i=asin(4/5) //angle of incidence
u=4/3 //Refractive index of a soap film
lam1=6.1*10^-7 //wavelength of light
lam2=6*10^-7 //wavelength of light
//Calculations:
//u=sin i/sin r //Snell's law .So,
r=asin(sin(... |
5e3874902a633f387af630788c60cc3c9d316fb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH5/EX5.2/5_2.sce | 6eab5b1ceae18f749211ad7b48364929f86b979b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | 5_2.sce | clc
//initialisation of variables
W= -100 //lb
angle= 45 //degrees
x1= 2 //ft
x2= 2 //ft
y1= 2 //ft
y2= 4 //ft
Fx= 200 //lb
//CALCULATIONS
Cx= Fx*y1/y2
Bx= Fx+Cx
By= (y2*Bx+x1*(-W))/(x1+x2)
Cy= By
Ax= Bx
Ay= W+By
//RESULTS
printf ('Ax= %.3f lb',Ax)
printf (' \n Ay=%.2f lb',Ay)
printf (' \n Bx=%.3f lb... |
74febac1e7e310c55dc42b7b7ddf9003e8c0450a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH1/EX1.1/Ex1_1.sce | eddafe6bcbddceb387f5c9bd405c04b8e76f78b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | Ex1_1.sce | clear
//Given
q=4.5*10**-19 //C
e=1.6*10**-19 //C
//Calculation
n=q/e
//Result
printf("\n n= %0.1f This value of charge is not possible",n)
|
b88e7f881592f8dfc7d629e74fc254396652d7a0 | 14b30ff5ef57588ecd4f45401bb9086e3888e8e1 | /comp_Pendulo.sce | 30f06eb70c5a325dff5fa510febea27cbeb71c68 | [] | no_license | Ivanobrc/L_P_I | d2fb06c0816bbb74d498733a272eca572d93c502 | dff17b6c142e8f2fa58d0e07334042d1db4c1330 | refs/heads/master | 2022-11-17T17:21:37.458719 | 2020-07-13T03:11:31 | 2020-07-13T03:11:31 | 279,197,157 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,496 | sce | comp_Pendulo.sce | // Comparacion de modelo linealizado por software y modelo linealizado analiticamente
// Cargar datos de modelo de software
load("edsonjLTI.sod","X","U","sys")
// Cargar datos de modelo analico
load("edsonjLTIanalitPendulo.sod","sysa")
// Obtener la matrices A,B,C,D
A=sys.A
B=sys.B
C=sys.C
D=sys.D
AA=sysa... |
b5eb835218fae032edb6bb21691fc140ce985775 | aac095b3736bd9d1ff203763f3420ff7e6e14ecd | /affichm.sci | 027af847dd3424659abd76e8ed619503ef86a641 | [
"MIT"
] | permissive | raehasandalwala/xcos_on_cloud | 388df5b76285ebbc216a1125615c77540c120c69 | d60cc9807701acf3b65daea84c304fdc5a29c487 | refs/heads/master | 2020-03-25T04:45:15.950408 | 2018-08-03T05:29:46 | 2018-08-03T05:29:46 | 143,411,471 | 0 | 0 | MIT | 2018-08-03T10:03:45 | 2018-08-03T10:03:44 | null | UTF-8 | Scilab | false | false | 931 | sci | affichm.sci | function affichm(varargin)
loop = argn(2); //Counting number of variables
filename='affichm-scilab-log-'+string(getpid())+''
fileid = strcat([pwd(), "/",filename,".txt"]); //Location of the text file
f_temp = mopen(fileid, 'wt');// Creating a text file
mclose(f_temp); // Cl... |
2d1c881cb052a298b4c3020ef7bf383bca23b5d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH1/EX1.1/Chapter_1_ex_1.sce | 26169038c90a7a05943942769d12000fbc54e98c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Chapter_1_ex_1.sce | // Chapter 1_Principles of Quantum Mechanics
//Caption_Photon Energy
//Ex_1//page 3
disp("X-Rays wavelength lambda=0.708*10^-8 cm");
lambda=0.708*(10^-10);//Wavelength
h=6.625*(10^-34);// Plank's constant
c=3*10^8 //speed of light
E=(h*c)/lambda;
printf('The photon energy corresponding to given wavelength is... |
7c2c3f6f796bf13b92a162ad022bb57e02a3bb7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH5/EX5.3/example5_3.sce | 6798b11c8ef1ab8670d3c4658c6ec67341a4955b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,405 | sce | example5_3.sce | // To find the unknown impedence
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 5-3 in Page 111
clear; clc; close;
// Given data
// The given polar forms in... |
0f2e2aecf278e8cbf4ad2ee70bc3ea359dd3d093 | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/segment/data7.tst | 480f3b2aab4336b1e4c4dcbfb48c51a9b2c1c9ce | [] | no_license | MesumRaza/MyWorkInPython | f5364b8514943e44c7200123653da9f4551251b1 | bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330 | refs/heads/master | 2021-08-19T21:46:41.412995 | 2017-11-27T13:37:52 | 2017-11-27T13:37:52 | 111,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 37,295 | tst | data7.tst | 0.537549 0.745833 0 0 0 0.0703422 0.000749072 0.0509317 0.00101348 0.421379 0.389789 0.500736 0.367108 0.481343 0.611765 0.163188 0.500736 0.308799 0.167973class5
0.181818 0.85 0 0 0 0.106464 0.00179961 0.0757764 0.00173664 0.119804 0.105348 0.103829 0.150429 0.695896 0.0835294 0.796964 0.142121 0.341766 0.891485class6... |
ee77ac915ec4f4ee7c7b26e6021d66f86565b2f5 | bacd6919260d728f4316702bbe1edf811810bede | /legacy/33/console/_viewOut_extrap.sce | 88f268dc68772f69a535e632447339fd6682dfcd | [] | no_license | vopl/sp | 332d8c2ff536fc5d8772ff2f3fbeca9b50c47641 | a4313f4d7af47cc3132d7546947d4d668c7e487e | refs/heads/master | 2020-04-16T02:09:36.036424 | 2016-10-05T18:08:30 | 2016-10-05T18:08:30 | 65,293,458 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | _viewOut_extrap.sce | stacksize('max');
w = 60*24*30;
h = -1;
t = read("P:\finance\spectrumSeparator\nhel.Composite\31\console\out_small_10\out_time", h, w);
t = t/60/60-336200;
e = read("P:\finance\spectrumSeparator\nhel.Composite\31\console\out_small_10\out_extrap", h, w);
o = read("P:\finance\spectrumSeparator\nhel.Composite\31\... |
7fb2dded1acc479f653da3ba46decf983137d39e | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0075.tst | 68ed2114bb475611ace89eb56b1e8e949e0ac8ff | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 251 | tst | 0075.tst | sPLitTer fnN {}
fIltEr G { }
fiLtEr d {PtP Cy }
dgZ brANCh Z -> z
GROuper K {AGGregAtE g ,JDb ,mAx(v.jSw) as H ,BiTOr(cU.gYrYk) as UB ,MSR.xqC }
UngrOupER CC { }
groUpFiLTER M {}
mErGeR twsl { mODUle Uu { bRAnches ChDH, KM, h } expOrT Z } |
10854dbc0bfbd533d01e80f1000b5f57401f03bf | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/elem/asinm.sci | e0cbbf52c37763e4b19dcd1510c94f85d2053771 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sci | asinm.sci | function t=asinm(x)
//Matrix wise Sine-inverse of x
// Copyright INRIA
if type(x)<>1 then error(53),end
[m,n]=size(x)
if m<>n then
error(20)
else
t=-%i*logm(%i*x+sqrtm(eye()-x*x))
end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.