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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9675b7e33e016ddfaddc06d43c9bb62d7c58f59a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH15/EX15.5w/15_5w.sce | 47f42a90a5bbc459c7e7d4c3759e647b0f4ea669 | [] | 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 | 652 | sce | 15_5w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 15.5w
//calculation of the wavelength of the pulse when it reaches the top of the rope
//given data
lr=12//length(in m) of the rope
mr=6//mass(in kg) of the rope
mb=2//mass(in kg) of the block
lambda=.06//wavelength... |
07f41628a0f761df96dd8b48ef4c270bac047b06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH28/EX28.12/Ex28_12.sce | be9de643816ec1d14607452399753fcefa807467 | [] | 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 | 297 | sce | Ex28_12.sce | //chapter28
//example28.12
//page609
printf(" Y = A . B` . D + A . B` . D` \n")
printf(" Factor out A . B` by theorem 14 \n")
printf(" Y = A . B` ( D + D` ) \n")
printf(" But by theorem 3 D + D` = 1 \n")
printf(" Y = A . B` . 1 \n")
printf(" By theorem 2 \n")
printf(" Y = A . B` \n")
|
bb646c20bb8ea576bbfe38bf6ef97c18e0b02641 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH3/EX3.7d/eg3_7d.sce | 90937bb5e4e261a4017f53a9d4f042db6b2c1020 | [] | 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 | 220 | sce | eg3_7d.sce | detect_present = 0.99;
detect_notpresent = 0.01;
pop_disease = 0.005;
prob = detect_present*pop_disease/((detect_present*pop_disease) +(detect_notpresent*(1-pop_disease)) ) ;
disp(prob, "The required probability is") |
7cec2d3d71f6aa6b40385c87af692f0d69c7e7a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH6/EX6.1/c6_1.sce | 75a7edd2acdf22a31b26159bb84f24f9d4373130 | [] | 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 | 822 | sce | c6_1.sce | // (6.1) Water, initially a saturated liquid at 100C, is contained in a piston–cylinder assembly. The water undergoes a process to the corresponding saturated vapor state, during which the piston moves freely in the cylinder. If the change of state is brought about by heating the water as it undergoes an internally ... |
3ba7c81074b3f8ff8d7498b3c36fdf0a95abdc3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH11/EX11.38/exa11_38.sce | 7ab10215ae9190d73f8ae03f94f316b96b0f2bbd | [] | 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 | 281 | sce | exa11_38.sce | //caption:determine_transfer_function
//example 11_38
//page 513
s=%s
A=[-5 1;-6 0]
B=[1;2]
C=[2 1]
D=0;
[r c]=size(A);//size of matrix A
p=s*eye(r,c)-A;//s*I-A where I is identity matrix
r=inv(p)//inverse of sI-A
G=C*r*B+D//transfer matrix
disp(G,"transfer matrix=")
|
fd366090987eb5f6eeb24d68b95e65b07ddc229b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH19/EX19.2/Ex19_2.sce | b9b6e8d24c564f940b7c9f37e998765b4f9b1359 | [] | 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 | 606 | sce | Ex19_2.sce | clear
//given
//page no 379
//
//find the gallons of water it is neccasry to pump
x=160.
h=2600.
t=60.
//part (a)
//water temperaute rise in 15 deg
Cs=x*h
printf("\n part a")
Hcs=Cs/t
//absorbs per minutes is 15
Aw=Hcs/15.
//gals of water per min 8.33
G=Aw/8.33
printf("\n \n amount of water %.2f gpm",Aw)
printf("\n \n ... |
9dd8c7ce8afee35eee0a5b906f61c462ddf02d4d | 61e39cdb9efce4bc7bc35be444b193c1066f1bf2 | /lagarange.sce | 21c35e3d926a6db44cec09f92552a58617e799e4 | [] | no_license | nancyanand2807/SCILAB-CODES | 866c1c99754975f9f0deb271d3844c854db1645c | 69bf72606e8cd62aae3d1302c734f425d381a121 | refs/heads/master | 2020-06-02T00:39:27.236873 | 2019-06-09T11:26:55 | 2019-06-09T11:26:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | lagarange.sce |
function[P]=lagrange(X,Y) //X nodes,Y values;P is the numerical Lagrange
//polynomial interpolation
n=length(X); // n is the number of nodes. (n-1) is the degree
x=poly(0,"x");P=0;
for i=1:n, L=1;
for j=[1:i-1,i+1:n] L=L*(x-X(j))/(X(i)-X(j));end
P=P+L*Y(i);
end
endfunction
X=[30;34;38;42]; Y=[-30;-13;3;1... |
08da9da664d3bacf1cacff1510be035faa5e0549 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/mwf.tst | 58941d6ec0c387342ced45cdb124cadd29017110 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,031 | tst | mwf.tst | mu thumungam V;SG;1+INCL;non{FUT}
mu ngumuy V;IRR;PL;1;PST
mu ngumuy V;IRR;PC;1;PST
mu kumu V;IRR;PC;3
mu ngumu V;IRR;PL;1
mu thumuy V;IRR;SG;1+INCL;PST
mu numu V;IRR;PC;2
mu mu V;IRR;SG;3
mu ngumu V;IRR;PC;1
mu thuni V;SG;1+INCL;PST
mu nungam V;SG;2;non{FUT}
mu mungam V;SG;1;non{FUT}
mu muni V;SG;1;PST
mu numuy V;IRR;... |
66c3348a318f6ad2ec1dc06f30d6ddafadf9cfdf | 24ac9a7eb7caf1790c6a17d22d99943c2950c955 | /05/CU.tst | fe1e313fab433bc5c81027265ed497e8e0b9e980 | [
"Unlicense"
] | permissive | Giako/nand2tetris | d940f854be94ee8b1c6b01ff335becbde90186c7 | 193ad504cca558456c312c47d70713b8e2806be2 | refs/heads/main | 2021-06-08T03:36:01.304672 | 2020-08-01T18:24:23 | 2020-08-01T18:24:23 | 129,639,716 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 886 | tst | CU.tst | // TEST CU
load CU.hdl,
output-file CU.out,
compare-to CU.cmp,
output-list type%B1.1.1 address%B1.15.1 a%B1.1.1 comp%B1.6.1 dest%B1.3.1
writeM%B1.1.1 loadA%B1.1.1 loadD%B1.1.1 selAM%B1.1.1
selInA%B1.1.1 aluCtl%B1.6.1;
// C instructions
set type 1,
set address %B000000000000000;
... |
7f3a7062ff92c25f1f8ff6cbf4ed94d2f199ebe4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH4/EX4.1.a/ex_4_1a.sce | 7d3e01fb9a5022ffe3c949826ffb1e562a0fc9de | [] | 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 | 79 | sce | ex_4_1a.sce | clear;
clc;
syms n z a;
x=a^n;
X=symsum(-x*z^-n,n,-%inf,-1)
disp(X,"ans=") |
cf0c3a7bbfa74ad7b4305d444638a01ac25983c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH8/EX8.12/Ex8_12.sce | fee128301d082b19fca45083ea583db83f768145 | [] | 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 | 233 | sce | Ex8_12.sce | clear
//Given
r=0.02 //m
u=4*3.14*10**-7 //T/A m
I=12 //A
//Calculation
B=u*I/(4*r)
//Result
printf("\n The magnitude of magnetic field is %0.2f *10**-4 T",B*10**4)
|
9a0aabd8c5236f0f7922abd1d3aa0b8ddcae3505 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH3/EX3.7/3_7.sce | b2271a109a30f0e14f4c26c3307c4656dcf54f27 | [] | 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 | 754 | sce | 3_7.sce | pathname=get_absolute_file_path('3_7.sce')
filename=pathname+filesep()+'3_7_data.sci'
exec(filename)
//Pressure at end of compression stroke(in N/m^2)
p2=(r^y)*p1*10^5
//Temperature at the end of compression sroke(in K)
T2=(r^(y-1))*T1
//Temperature at start of expansion stroke(in N/m^2)
T3=(qs/Cv)+T2
//Peak p... |
fcb2a39852f1a536a23b7480edd661f50981bcfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /555/CH5/EX5.3/3.sce | adb2ae7850adbce9f99d493bf874d4b891c0be34 | [] | 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 | 742 | sce | 3.sce | // Implementation of example 5.3
// Basic and Applied Thermodynamics by P.K.Nag
clc
clear
//diameter of pipe 'd', heat loss from the pipe 'Q'
d = 0.2; //m
//parameters with subscript 1 refer to at boiler's end
//and those with subscript 2 refer to at turbine end
p1 = 4; //MPa
t1 = 400; //degree C
h1 = 321... |
97cbe37650626b12de5b4beb1d4bb8e31a93d750 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH8/EX8.m.4/ExaMisc8_4.sce | 1deb6466e02f719a2e7ca975d6c36714e3462dd0 | [] | 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 | 602 | sce | ExaMisc8_4.sce | //Exa Misc 8.4
clc;
clear;
close;
//given data
format('v',5);
L=40;//in mH
C1=100;//in pF
C2=500;//in pF
Vout=10;//in volt
fo=1/(2*%pi*sqrt(L*10^-3*C1*10^-12*C2*10^-12/(C1*10^-12+C2*10^-12)))
disp(fo*10^-3,"Frequency of oscillation (in KHz) :");
Vf=Vout*C1/C2;//in volt
disp(Vf,"Feedback voltage in volt :")... |
bb5b8bd376f9b270d48bd8a1b7f863820457bf45 | 573df9bfca39973c9bf2fa36f6e5af2643d7771e | /scilab/linguagem/exemplo_plot.sce | 4372f046cad61c9b5f7f747644a386600c0fd4a9 | [] | no_license | DCC-CN/152cn | ef92c691edabe211b1a552dbb963f9fd9ceec94a | 4fe0b02f961f37935a1335b5eac22d81400fa609 | refs/heads/master | 2016-08-13T01:34:17.966430 | 2015-04-07T07:31:58 | 2015-04-07T07:31:58 | 44,502,526 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,447 | sce | exemplo_plot.sce | // limpar a janela de comandos
clc;
// limpa as variáveis
clear;
// define uma função
func = "y = x^4 - 5*x^2 + 4";
deff("y = f(x)", func)
// gera a amostra de pontos da abscissa
x = [-3 : 0.001 : 3];
// calcula as ordenadas
y = feval(x, f);
// desenha o gráfico
plot2d(x, y, leg = f... |
8c2dcb662a2ecf240d5a24318c8d73af672bc3dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH2/EX2.43/2_43.txt | 21e70e8d8e470fadfc13a85f016a62ebcd7ad9f0 | [] | 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 | 475 | txt | 2_43.txt | //Caption:Calculate the efficiency of the motor
//Exam:2.43
clc;
clear;
close;
W=10;//Spring reading (in Kg)
R=0.8;//brake arm length (in m)
T=W*R;//torque (in kg-m)
N=1200;//speed of the small shunt motor(in rpm)
O=(2*3.14)*(N*T)/60;//output (in Kg-m/sec)
O_p=O*9.81;//output (in watts)
V=250;//input voltage... |
58a5679350987e858222d3211c1d00278feac1b5 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH2/EX2.9/Ex2_9.sce | d2b0630c2ab2c4826a0b6ec2337e69bfbab95014 | [] | 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 | 110 | sce | Ex2_9.sce | errcatch(-1,"stop");mode(2);//Ex:2.9
;
;
printf("Resistance = 4.7 ohm with 10%% tolerance");
exit();
|
40eacc7854c4bd78102ad31274070ae21898e570 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.5/Ex2_5.sce | aeae45abedc4b3e286b77f6677de6fc12c9ad6ec | [] | 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 | 465 | sce | Ex2_5.sce | clc
//given that
v = 1.05e4 // Velocity of moving electron in m/s
v_error = 0.02 //Percentage error in measurement of velocity
m = 9e-31 // mass of electron in kg
h = 6.63e-34 // Plank constant
printf("Example 2.5")
h_bar = h / (2*%pi) // constant
p = m*v
del_p = v_error*p/100 // calculation of uncertainty i... |
1af7d6cda0e3f351819de5a5bcaf7eaa76fc2955 | 8fd5474ab7779b552e5f198a3ce4afc4d82cb47f | /bin/libArray/GridToList.sci | ff1ac95955792544f103d9a145cabad2cc8026e1 | [] | no_license | 2-BiAs/UCASI_ALIGNMENT_SCAN | 807353741517c084007cdf978b149f34f8a13dae | 85b8d79f50e23051cbf365385b49e05293827941 | refs/heads/master | 2020-06-21T10:26:29.419281 | 2017-05-19T02:01:27 | 2017-05-19T02:01:27 | 74,790,458 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sci | GridToList.sci | function mOutput = GridToList(mX, mY)
//Takes a Grid Generated by ndgrid, or such, and converts to a list
[iN, iM] = size(mX);
for i = 1:1:iM
for j = 1:1:iN
mOutput((i - 1) * iN + j, 1:2) = [mX(j, i) mY(j, i)];
end
end
endfunction
|
4a57ca38fa9cd475c6f73e74245fb5cc83e5904f | 3ca7d40067d619bd7859f89de1882e22ef3a9fda | /testcases/public/test005.txt | 01122fa1a3fae35c9f7875ad0e1c0faff6367f22 | [] | no_license | caojoshua/CS241-Advanced-Compiler-Construction-Project | 2b76c042ea6505c4a565ae5299efb5d983e0b4f3 | 1b25c9dd283b77555ccc3951924ac2882c1d92c2 | refs/heads/master | 2020-12-15T02:54:38.405198 | 2020-03-25T20:52:37 | 2020-03-25T20:52:56 | 234,971,962 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 108 | txt | test005.txt | // This is a test comment
main
var a;
{
let a <- ( ( ( 1 + 1 ) * 2 ) / 2 ) - 1;
call OutputNum(a)
}. |
8542796d7b7374796901893dd50ca78fb61dc4ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH29/EX29.6/296.sce | a5cfb93be875983b2111f08865e77f88476aa2ee | [] | 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 | 922 | sce | 296.sce | clc;
//Example 29.6
//page no 458
printf("Example 29.6 page no 458\n\n");
//a baghouse has been used to clean a particulate gas steam
l_i=5//inlet loading,grains/ft^3
l_o=0.03//outlet loading,grains/ft^3
l_o_max=0.4//maximum outlet loading,grains/ft^3
E_b=(l_i-l_o)/l_i//efficiency before bag failure
P_t=1-E_b/... |
bab4d207acceae53740ac91b2cae155b8614b674 | 2eac84edf941c64588fef76f10d02309aabcb2fb | /DemoApplication/Blinky_ST_STM32F072RB_Nucleo/X2CCode/initProject.sce | 9eceb12146b4574944cbcf9d0f9c1177429e5bb5 | [
"BSD-3-Clause"
] | permissive | AlexisTM/X2C | fdd93bd33b931ea448ba516f5e3f9af6a5149a6a | 31f39b598afe271a7fd46ef1ee9e06c410b1120c | refs/heads/master | 2021-08-07T04:26:24.391617 | 2017-11-07T14:34:33 | 2017-11-07T14:34:33 | 109,844,123 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,614 | sce | initProject.sce | // Script to initialize the project.
//
// Copyright (c) 2016, Linz Center of Mechatronics GmbH (LCM) http://www.lcm.at/
// All rights reserved.
//
// This file is licensed according to the BSD 3-clause license as follows:
//
// Redistribution and use in source and binary forms, with or without
// modification... |
462a2bc8985549ab9c6f36c7bdbe6726ae4f8054 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH9/EX9.8/Ex9_8.sce | bd65498baff158bb6bfa24c6d2ae5332d95dfbc6 | [] | 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 | 299 | sce | Ex9_8.sce |
W1=15D+3//reading of first wattmeter
W2=-1.5D+3//reading of second wattmeter
W=W1+W2//total power fed to the load
mprintf("Total power fed to the load=%f kW\n",W/10^3)
phi=atand(sqrt(3)*(W1-W2)/W)
mprintf("Power factor angle, phi=%f degrees\nPower factor of load=%f", phi, cos(phi*%pi/180))
|
f418f181f41931c3fa8697c90bc0c0f3760151b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH2/EX2.1/Ex2_1.sce | 4792c452d403406fe8eba095e340cdab8f5666bb | [] | 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 | 258 | sce | Ex2_1.sce | clear;
clc;
//page no.32
T = 68;//degreeF
p = 10;// psi
d = 15;// feet
rho = 1.59;//specific gravity
gam = rho*62.4;//lb/cuft
p1 = gam*d + p*144;//psf
printf('p1 = %d psf = %.1f psi ',p1,p1*0.00694);
//there is an error in the answer given in the textbook
|
71049e72289feec7a3206d56b8b0ba0c213b06da | 093c81dec9d9f129f6b39e0cd1271068a60950b5 | /algo.sce | 5053f6a4504e072acb0e4c2fb970a697e92dab0d | [] | no_license | Erffa/scilab | 8757d722358a8f8aa0c9ed9c2af65822cc2c7f6f | cabae3f7f0a4a967040043dca86d7238498af148 | refs/heads/master | 2020-06-01T20:36:03.768920 | 2019-07-12T09:30:20 | 2019-07-12T09:30:20 | 190,919,208 | 0 | 0 | null | 2019-07-12T09:33:07 | 2019-06-08T18:00:06 | Scilab | UTF-8 | Scilab | false | false | 6,117 | sce | algo.sce |
/////////////////////////////////////////////////////////////////
// LA ARCTAN A LA PICASSO
/////////////////////////////////////////////////////////////////
function [y]=killatan(x, v1,v2, k1,k2)
if k1==k2 then
y = v1+(v2-v1)*(x>k1);
else
a=(v2-v1)/(k2-k1);
b=v1-a*k1;
y = max(... |
1dc70fdce5afc65fc9dedef1df2cac07dd871abc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH6/EX6.26/Example6_26.sce | 38361cb2e42d840b38ae25bfdcb198ed7ae92457 | [] | 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 | Example6_26.sce | clc
//Given that
c = 3e8 // speed of light in m/s
t = 8e-6 // mean life of meson
l = 10 // distance of meson from earth surface
// sample problem 26 page No. 228
printf("\n \n\n # Problem 26 # \n")
printf("\n Standard formula used \n l = l_o* sqrt ( 1- (v/c)^2)")
v = l*1e3/ sqrt( t^2 +(l * 1e3 /c)^2) // calcu... |
0bcdefed698d35ffa07a6f696b1e1f4ce1cd8168 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH13/EX13.9/Ch13Ex9.sce | ada275f1db9d0035035639229937da86332a3328 | [] | 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 | 737 | sce | Ch13Ex9.sce | // Scilab code Ex13.9: Pg 487 (2005)
clc; clear;
Z = 86; // Atomic number of radon
A = 222; // Mass number of radon
k = 9e+09; // Coulomb constant, N-metre square per C-square
e = 1.6e-019; // Charge on an electron, C
r0 = 7.25e-015; // Bohr radius for alpha particle, m
E0 = k*e^2/(2*r0*1e+06*e); // R... |
260cc246b9609d0d4d51b72e475d4f954cab635d | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PiLab_imp.sci | def3c6811e6769d9a2345711e1b609ba253f12c4 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,791 | sci | PiLab_imp.sci | // **** Purpose ****
// This codes can modify the onsite potential of wannier Hr to mimic
// the effects of simple impurities.
// **** Variables ****
// ==== << PiLab Inputs >> ====
// [imp.HrRead]: 1x1, str, 'wan'/'spl'/'hdr'
// <= specify the Hr to read.
// [imp.PotState]: 1xn, int
// <= states that onsite fields a... |
7ab0040fd5c8a8537a05a0ee11b03b1791b0352b | e5709213cda76062a71a06e745233cb40ba0136c | /test/stocks.e2e-spec.tst | 182492701292145bf313dbeeb6f51b075e04079e | [] | no_license | Sejong-Capstone-yourButler/bixby-eats-backend | 4560035ea35a72a8043672960e43e1ada53d40ff | 1a6cdbf48b6cf2649870243e623b107ef8371796 | refs/heads/master | 2023-06-24T18:42:26.907563 | 2021-07-24T22:19:39 | 2021-07-24T22:19:39 | 349,725,499 | 0 | 1 | null | 2021-04-27T05:43:53 | 2021-03-20T12:58:38 | TypeScript | UTF-8 | Scilab | false | false | 7,639 | tst | stocks.e2e-spec.tst | // import { Test, TestingModule } from '@nestjs/testing';
// import { INestApplication } from '@nestjs/common';
// import * as request from 'supertest';
// import { AppModule } from '../src/app.module';
// import { getConnection, Repository } from 'typeorm';
// import { getRepositoryToken } from '@nestjs/typeorm';... |
4dcc84214b239c5aa7db06fb107a6b97457efd4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH16/EX16.3/Ex16_3.sce | c18a212f820ab7769e4d3c29819e1d433d93e68b | [] | 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 | 718 | sce | Ex16_3.sce | // Example 16_3
clc;funcprot(0);
// Given data
p_1=14.7;// psia
T_1=1000;// °F
V_1=1612;// ft/s
g_c=32.174;// lbm.ft/lbf.s^2
// Calculation
// Station 1
p_1=14.7;// psia
T_1=1000;// °F
h_1=1534.4;// Btu/lbm
s_1=2.1332;// Btu/lbm.R
// Station os
s_os=s_1;// Btu/lbm.R
h_os=h_1+(V_1^2/(2*g_c));// Btu/lbm
... |
2b59c9fc5c6bd050101a0dfbedf1a72ec4dbef17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.2.b/1_2_b.sce | 7e5d5fdffccbd4149a412803fc8e031de91008ba | [] | 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 | 265 | sce | 1_2_b.sce | //example 1_2<b>
//sketch the following signal x(3t+2)
clc;
clear all;
t=-1:0.0001:-1/3;
for i=1:length(t)
if t(i)<-2/3 then
x(i)=3+3*t(i);
else
x(i)=-1-3*t(i);
end
end
plot(t,x)
plot(t,x, 'red' );
xtitle('required figure','t','x(3*t+2)');
xgrid();
|
de0694972e1ee906b484813b5a8fdc076754dad8 | 5e244ee21a463b92f547cd5626e466ab167a3e1b | /Semester 5/OST/09. IIR Filter Design/ost9.sce | a412f285da9f3a5cf0486289d37996ce4c72e291 | [] | no_license | bumblebee26/Lab-Experiments | 5ab36e3a52fd3348d0d7634a08541e229e55680f | 8408eceabf65489d477c1e62a998c39b0bd0d828 | refs/heads/master | 2020-04-20T12:44:52.375127 | 2020-02-28T15:10:45 | 2020-02-28T15:10:45 | 168,850,941 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | ost9.sce | clc;
clear all;
s=%s
h=1/(s^2+7*s+10)
t=0.2
h_pf=pfss(h)
A=strtod(pol2str(numer(h_pf(1))))
B=strtod(pol2str(numer(h_pf(2))))
pA=roots(denom(h_pf(1)))
pB=roots(denom(h_pf(2)))
disp(h,'h = ')
disp(h_pf,'h_pf = ')
disp(A,'A = ')
disp(B,'B = ')
disp(pA,'pA = ')
disp(pB,'pB = ')
z=%z
h_z=A/(1-exp(pA*t)*z^(-1))+B/(1-exp(... |
9551cd44a5cfe923e5e0c8c334e1e3d1cc25f3d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH5/EX5.12/Ex5_12.sce | aab456dac5576003b7cb6aa2e8687bf8f4356b23 | [] | 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 | 401 | sce | Ex5_12.sce | //Initilization of variables
L=3.8 //m
w=10 //kg/m
P=1000 //N
t=0.8 //m
g=9.81 //m/s^2
//Calculations
Gf=L*w*g //N
A=(P*L+Gf*L*0.5)/t //N Taking moment about point B
B=(P*(L-t)+Gf*(0.5*L-t))/t //N Taking moment about point A
//Result
clc
printf('The reaction at point A and B are %f N and %f N respectively',... |
15332058c453ce54223b7bcfc0dcd3d565605255 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH4/EX4.7/4_7.sce | 2426076474f11dd28c9690d28f1b02340da1100d | [] | 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 | 583 | sce | 4_7.sce | clc;
clear;
function y=f(x)
y=tan(x)
endfunction
x1bar=(%pi/2)+0.1*(%pi/2);
x2bar=(%pi/2)+0.01*(%pi/2);
//computing condition number for x1bar
condnum1=x1bar*derivative(f,x1bar)/f(x1bar);
disp(condnum1,"is:",x1bar,"The condition number of function for x=")
if abs(condnum1)>1 then disp(x1bar,"Function is i... |
0f499b942b355957ed0e5c03eb026f4970ac0f2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH7/EX7.5/ex_7_5.sce | fe981e42328e511ae8b1351d5df4f01e7fba2fca | [] | 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 | 116 | sce | ex_7_5.sce | d=3000//mm
p=1.5//N-mm^2
sigmat=90//Mpa
n=0.75
t=(p*d)/(4*sigmat*n)//mm
disp(t,"Thickness of the vessel in mm") |
12329fec70db3cf29cf28878677f80871b1b309e | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH8/EX8.5/8_5.sce | 8d6a092bd6b4a34f5107c0c907a58c3d5a8726c1 | [] | 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 | 552 | sce | 8_5.sce | //root locus
s=%s
sys=syslin('c',(s+1)/(s*(s+4)*(s^2+2*s+2)))
clf
evans(sys)
n=4;
disp(n,"no of poles=")
m=1;
disp(m,"no of poles=")
//angle of asymptotes
printf("angle of asymptotes of RL")
for i=0:(n-m-1)
O=((2*i)+1)/(n-m)*180
disp(O,"q=")
end
printf("angle of asymptotes of CRL")
for i=0:(... |
a59b8c115a3c93868a258a18cd281fba24873993 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.2_3.tst | 00c82df8eff185a7119830086d472cc692d19ad1 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 40,591 | tst | bow.2_3.tst | 2 10:0.2222222222222222 17:0.6666666666666666 18:0.5 19:0.5 30:0.11538461538461539 39:0.5 43:0.09090909090909091 53:2.0 56:0.07692307692307693 59:0.6666666666666666 63:0.16666666666666666 68:0.14285714285714285 69:0.3333333333333333 88:1.0 100:0.16666666666666666 126:0.2 187:1.0 247:0.5 326:0.1111111111111111 327:1.0 3... |
4e49f1678f08c9a9a3ca0098d31ca833e6a216cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH3/EX3.7/3_7.sce | dc7bec7c342234a86bc8dcd02129027ad2657edf | [] | 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 | 712 | sce | 3_7.sce | //3.7
clc;
R=10;
V=200;
IL_rms_funda=9.28/2^0.5;
printf("RMS value of fundamental component of load current=%.2f A", IL_rms_funda)
IL_peak=(9.28^2+6.55^2+1.89^2+0.895^2+0.525^2);
printf("\nPeak value of load current=%.2f A", IL_peak)
Irms_harmonic=(11.56^2-9.28^2)^0.5/2^0.5;
printf("\nRMS harmonic current=%.3f... |
f58fef12b124ba4ac9ad03c190313944c994e8dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH10/EX10.1/ex10_1.sce | 1befa88daf4d3558015c24ed87f8d8757e95e4c7 | [] | 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,587 | sce | ex10_1.sce | clear;
//clc();
// Example 10.1
// Page: 260
printf("Example-10.1 Page no.-260\n\n");
//***Data***//
P = 100;//[psia] Bubble point pressure
x_ethane = 0.10;// Mole fraction of ethane in liquid phase
x_heptane = (1-x_ethane);
// a) From figure 10.7( page 260 ) given in the book
// We read the chart to... |
7dc807492bf2cc40fa06f24696d377023d4fc09b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH6/EX6.11/ex6_11.sce | 187504be3352b749bbb3125abdb64f2adaebe8cf | [] | 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 | 557 | sce | ex6_11.sce | clc;
p1=5; // Initial pressure of argon gas in bar
T1=30; // Initial temperature of argon gas in degree celcius
v1=1; // Initial volume of argon gas in m^3 by assumption
v2=2*v1; // Final volume of argon gas in m^3
R=8.3144/40; // Characteristic gas constant of argon gas in kJ/kg K
p2=p1*(v1/v2); // Final pressur... |
c2a3a0b93cda19157b9faf13bfe6afcf1c5430be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH8/EX8.2/S_8_2.sce | 8983fac49eb3a2cd91b0d67993bf108b7685c87d | [] | 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 | 891 | sce | S_8_2.sce | clc;
F=800;//N Firce in verical direction
us=0.35;// Coeffiecient of static friction
uk=0.25;//Co=efficient of kinetic friction
theta=25;//degree, angle of inclination
theta=theta*%pi/180;//rad, Conversion into radian
// Force P start block moving up
// At static equillibrium Tan(Theta_s)=us
theta_s=atan(us);//... |
6891d8eea4fff3c84ea7ece181edc83671a704a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH4/EX4.5/SolEx4_5.sce | 86adc950162be1097dbe686224e4a3dbdf332aaa | [] | 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 | 366 | sce | SolEx4_5.sce | //Find (a) VGG; ðbÞ RS, and (c) RD.
//Solved Example Ex4.5 page no 118
clear
clc
Vgg=10 //V
Vgsq=8 //V
Idq=1*10^-3 //mA
Rs=((Vgg-Vgsq)/Idq)/1000 //kΩ
printf("\n Rs = %0.2f K ohm",Rs)
Vdd=16 //V
Vdsq=12 //V
Idq=1
Rd=((Vdd-Vdsq-(Idq*Rs))/Id... |
357ee223621ee7d484aee55337db32dbf23e0758 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH15/EX15.6/6.sce | 7362b8662e7f66fbd7fc38a72bc2ca7a3a78f264 | [] | 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 | 953 | sce | 6.sce | clc; funcprot(0);
//Example 15.6 Thrust Horsepower of a constant speed propeller at Sea level
// Initialisation of variables
V = 125*1.467; // Velocity in ft/sec
n = 1800/60; // Rotaion per second
D = 9.5; // Diameter in ft
P = 600*550;
rho = 0.002378;
// Calculations
//For Beta = 23... |
3926f1edc460046d40926393c6b2536474ac3a98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.10/ch2_ex_10.sce | 3d34c9759e4cf648bfea599e4b0552435b409246 | [] | 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 | 838 | sce | ch2_ex_10.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 10
disp("CHAPTER 2");
disp("EXAMPLE 10");
//VARIABLE INITIALIZATION
v=230; //in Volts
z1=3+(%i*4); //impedance in rectangular form in Ohms
z2=6+(%i*8); //impedance in rectangular... |
5e14ffb5449763b06c34836e0c76093dd3132bbf | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Gráficos Tridimensionais.sce | e53e5d003a74f9bd9f30037286df14276d016f01 | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | sce | Gráficos Tridimensionais.sce | clc
clear
close
t=[0:0.1:2*%pi]';
z=(sin(t).*exp(t))*cos(t');
plot3d(t,t,z)
|
0cdf30601a2df8262bab643dd724bd084dfe4c60 | 297b29fb450286d0f7fa619e58c9f4a86949544a | /HelicalDeinterleaver.sci | 026e5831b8ddf30662c1f224c2b0cea5027df12a | [] | no_license | harshal93shah/scilabcom | 46dc948c1e0d0b37b0a69dfa203347298cc01e40 | 09c5506089a4283968d963ed3812de9823c5a008 | refs/heads/master | 2020-04-06T07:03:23.954966 | 2016-10-04T11:49:41 | 2016-10-04T11:49:41 | 54,882,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,744 | sci | HelicalDeinterleaver.sci | function [y,state,index,state2] = HelicalDeinterleaver(in,col,N,stp,inist,stindex,inist2)
y=[];
state = [];
index=[];
state2=[]
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
[LHS,RHS]=argn(0);
//HelicalDeinterleaver Restore ord... |
2c5dd451983cd7baccb0840ed7ac6a7f450ea9cb | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/ViewFilterResponseMag.sce | 10d76f40875f7c4d28a0d3bec879d3e20bc8b06b | [] | no_license | JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection | a01e2ce521561dfea555a588d6bb1e0f1deca18e | cb0d54c74275a990dcb984c4ec349e6ca4e72a1a | refs/heads/master | 2021-01-20T12:00:42.472605 | 2013-06-14T03:04:33 | 2013-06-14T03:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | ViewFilterResponseMag.sce | function [xm, fr] = ViewFilterResponseMag(hz, Fs, numSamples)
[xm, fr] = frmag(hz, numSamples);
fr = fr.*Fs;
plot(fr, xm)
xtitle('Frequency Response', 'Frequency', 'Magnitude')
endfunction |
d9da832e156588e44f942577ea95586c0adbb65c | 207c864c3f938783d617dca78232e70445ae21e6 | /Ch12_III.sce | 2925f0e4dd0bfd06817bc4092053c6a6b38cc5f5 | [] | no_license | raresica/CalculNumeric | a211a57fd4851e546c0b5eb866b3b228534a982c | 5564822ff9f5dab745208898ef9162322b28bff2 | refs/heads/master | 2021-02-11T05:03:13.720791 | 2020-04-15T10:42:58 | 2020-04-15T10:42:58 | 244,457,154 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 119 | sce | Ch12_III.sce | x=[-0.5 , 0, 0.5];
exec('D:\Scoala Sem 2\CN-VladMonescu\Levenberg-Marquardt.sci',-1)
[xopt,v]=lsqrsolve(x,fctlm,10)
|
3d046b8ec4ce820982ed3c572464ea56dab1ac68 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_Temp/Liber_Planetarium2.SCI | 0f3e3cd40ec05df4d4ea0cf7bb70816991063b20 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 3,445 | sci | Liber_Planetarium2.SCI |
codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
codeblock readtextfile(ScriptDir+"\_Movie\_PlanetariumTools.sci");
codeblock readtextfile(ScriptDir+"\_Movie\_ConstellHighlight.sci");
#####################################################################################... |
a05457f94b2bf221cf7fe80e0c3975d99e2a5410 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH7/EX1.cs/Casestudy7_1.sce | 315946616dbc438feae0079f2ab0ecc75ae1f207 | [] | 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 | 677 | sce | Casestudy7_1.sce | // Case Study: Chapter 7, Page No:210
// 1. Median of list of numbers
N=10;
disp("Enter the number of items");
n=scanf("%d");
//Reading items into array a
printf("Input %d values[One at a time]\n",n);
for i=1:n
a(i)=scanf("%f");
end
//Sorting begins
for i=1:n-1
for j=1:n-i
... |
1dfd1fa4a701088b8767e6f8ea45e89927fa0c7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH9/EX9.8/Ex9_8.sce | 2bded304fb816e3274ceb0c8c63d21bfc9aaea05 | [] | 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 | Ex9_8.sce |
clc
//initialisation of variables
P3=14.7 //lbf/in^2
T3=500// R
T1=2000//R
R=53.34 //F
P2=128*P3//lbf/in^2
T2=4 //f
P1=1882*1.44 //lbf/in^2
Q=50 //Btu/lbm
P=128//lbf/in^2
P4=P1/P //lbf/in^2
g=144//ft
T=778//F
//CALCULATIONS
nth=1-(T3/T1)//F
Wnet=nth*Q //Btu/lbm
V3=(R*T3)/(P3*g)//ft^3/lbm
v1=(R*T1)/(... |
c810c28db46f0d8e762b99037fc89852d645f2ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH2/EX2.5/exa_2_5.sce | cf8ba6013bb0888a0e3aec827ac80443ba4f61cf | [] | 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 | 203 | sce | exa_2_5.sce | // Example 2.5
clc;
clear;
close;
// Given data
V1= 2;// in m^3
T1= 30+273;// in K
T2= 230+273;// in K
// V1/T1 = V0/T0 = V2/T2
V2= V1*T2/T1;// in m^3
disp(V2,"The final volume in m^3 is : ")
|
715172c50ee557a2bb1665fa62ca14d8d020d4fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH13/EX13.6/ch13_6.sce | 3831a694155c108cb81c1d0cefcc27e9b7026b9b | [] | 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 | 112 | sce | ch13_6.sce | clear;
clc;
Q=100*10^3;
V_s=11*10^3;
f=50;
L=V_s^2/(2*%pi*f*Q); printf("effective inductance=%.4f H",L); |
703a1479d2de1cf4077dd8b82389bac8efa61c3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH4/EX4.25/ex4_25.sce | 0882048153a7deec1953905549e4a510878a184d | [] | 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 | 746 | sce | ex4_25.sce | //Example 4.25
close;
clc;
V=3; //in volts
Rm=50; //In ohms
Rh=10; //in ohms
Im=10*10^-3; //in amperes
Ih=0.5*Im; //Half scale definition
Vm=Ih*Rm; //Voltage across the movement
//Voltage across unknown resitence =Voltage across m... |
9f38ac08e754c5de1eb166821091ffc759424f88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH3/EX3.3/Chapter3_Example3.sce | f412f3cbcf1c57841620ebd0e4599fec92add922 | [] | 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 | 995 | sce | Chapter3_Example3.sce | //Chapter-3, Example 3.3, Page 51
//=============================================================================
clc
clear
Di=0.1;//Inner diameter of hollow sphere in m
Do=0.3;//Outer diameter of hollow sphere in m
k=50;//Thermal conductivity in W/m.K
T=[300,100];//Inner and outer surface temperature in degre... |
e8d880fd5376002a943d08f0f5a2e5208c66fe65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH2/EX2.18/Ex2_18.sce | 3890dc57d7c88f2247d5508baca1d09a67f039b9 | [] | 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 | 268 | sce | Ex2_18.sce | //Chapter 02:Basic Structures: Sets, Functions, Sequences, Sums and Matrices
clc;
clear;
X = [[1,0,4],
[2,1,1],
[3,1,0],
[0,2,2]]
Y = [[2,4],
[1,1],
[3,0]]
result = X * Y
mprintf("The multiplication of the two matrices XY is:")
disp(result)
|
e426e96c73191a6f4f8659814d5069671f04224b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH9/EX9.10/10.sce | c130c485bbcb911ec483abaa1d9f5691adb05803 | [] | 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 | 250 | sce | 10.sce | clc
clear
//input
w=0.004//weight of manganese
a=6*10^23
t=303*24*3600//half time
//calculation
N=w*a/0.054//number of moles
x=0.693*N/(303*24*3600)//count rate from decay law
//output
printf("the count rate is %3.3e counts per second",x)
|
49d7e4837dddd243e0bd523ca51cb68d81dfabcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH14/EX14.3d/eg14_3d.sce | 4ef967626621bba0e819b0ae32944374b7f979b7 | [] | 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 | 239 | sce | eg14_3d.sce | r = 30;
T = 600;
theta = 25;
val1 = cdfchi("PQ", 2*T/theta, 2*r);
val2 = 1- cdfchi("PQ", 2*T/theta, 2*(r+1));
pvalue = min(val1, val2);
disp(pvalue, "The pvalue is");
disp("H0 would be accepted when the significance level is 0.10"); |
b2ff664f36ab1527adbb98adf6ab55fd07b33247 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.21/Ex5_21.sce | 4ed0067806d94b8fbd58e1593a9285498dca00af | [] | 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 | Ex5_21.sce | //pagenumber 301 example 21
clear
hie=1*10^3;//ohm
hre=2*10^-4;
hoe=25*10^-6;//ampere per volt
hfe=50;
colres=1*10^3;//ohm
curgai=-hfe/(1+hoe*colres);
disp("current gain = "+string((curgai)));
ri=hie-hfe*hre/(hoe+1/colres);
disp("input resistance = "+string((ri))+"ohm");
volgai=curgai*colres/ri;
dis... |
2e471830d968d5fe5677437f017cbef04bf86dc4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH17/EX17.10/Ex17_10.sce | bc0464b588ba6fab4c0e0d5cac5b11c774b35e22 | [] | 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 | 162 | sce | Ex17_10.sce | // Example 17_10
clc;funcprot(0);
// Given data
T=27+273;
k_d=0.0350;
// Calculation
alpha=k_d/(T*exp((9.62*10^4*((T-330)/(330*T)))-33.2));
disp(alpha)
|
ca2b590098844ea8003900bfac0033f44e25b2ed | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /.sandbox/robotics/HuMAns_pa10/RobotSim/testErreur.sci | f68b41cef0ccf88b844b3fbaebb6512deb6986ee | [
"Apache-2.0"
] | permissive | siconos/siconos-tutorials | e7e6ffbaaea49add49eddd317c46760393e3ef9a | 0472c74e27090c76361d0b59283625ea88f80f4b | refs/heads/master | 2023-06-10T16:43:13.060120 | 2023-06-01T07:21:25 | 2023-06-01T07:21:25 | 152,255,663 | 7 | 2 | Apache-2.0 | 2021-04-08T12:00:39 | 2018-10-09T13:26:39 | Jupyter Notebook | UTF-8 | Scilab | false | false | 375 | sci | testErreur.sci | getf 'lib/modules.sci'
getf 'lib/pa10/modele.sci'
getf 'lib/pa10/pa10Jac.sci'
function [err] = xerr(x1,x2)
m1=f_Hmat(x1);
m2=f_Hmat(x2);
err= f_xerror(m1,m2);
endfunction
xerr([0 0 0 0 0 0],[0 0 0 0 0 0])
xerr([0 0 0 0 0 0],[0 0 0 0.1 0 0])
xerr([0 0 0 0 0 0],[0 0 0 0 0.1 0])
xerr([0 0 0 0 0 0.2],[0 0 0 0 0.0... |
4b75cdcddf2486af445838b026767d3af83be1d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH9/EX1.4.u2/Ex1_4_u2.sce | 40faa989fcd7b089af7e28c7c7d8464e5638cf03 | [] | 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 | 395 | sce | Ex1_4_u2.sce | //Example 1_4_u2
clc();
clear;
//To find out the no of states that can accomodate
h=6.63*10^-34 //units in m^2 kg s^-1
m=9.1*10^-31 //units in Kgs
l=0.5 //units in nm
l=l*10^-9 //units in meters
v=15 //units in eV
v=v*1.6*10^-19 //units in Volts
nmax=(4*l... |
a22b325bba870f489606e07c133826c817448be9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH14/EX14.1.b/14_1b.sce | c54c9cbec910f2fb502d0e59a33012e4d2b9789f | [] | 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 | 539 | sce | 14_1b.sce | clc
//Initialization of variables
D1=50
n1=1450
n2=1200
D2=80
Q1=3.2 //cfs
h1=25 //m
g=9.81 //kN/m^3
eta=0.82
//calculations
h2=h1*(D2/D1)^2 *(n2/n1)^2
Q2=Q1*(D2/D1)^3 *(n2/n1)
bp=g*Q2*h2/eta
h1=82 //ft
Q1=50700 //gpm
h2=143.8 //ft
Q2=171800 //gpm
Ns1=n1*sqrt(Q1) /h1^(3/4)
Ns2=n2*sqrt(Q2) /h2^(3/4) ... |
a2037f2df90ee781bcb8ba8230a4d99f74d0857c | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_Mat/floor.sce | a6cd8aa9eaa1d13d34cbcb396eb3da52fc0cdde9 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 102 | sce | floor.sce | // Calculating the floor.
y = [1.2, 1, 1.9; 4, 2.6, 5; 2.3, 8, 7];
floorres = armaMat("floor",y)
|
f39c8f4f716cf02ec654978881b043cfa3f11372 | ac717936dd571d8c25bf302308d8ad59dc34321f | /src/testControlSystem/writeValue.sce | 1db40ca70817e540ae2fab3655bb1d2f06aa20e6 | [] | no_license | MhDelt/diplom | df6e5b2a3941563719d05b9bbc1dac2b6c8b0b28 | d27a26fdc5f12481a1f6f63612f46d7b49bfe845 | refs/heads/master | 2021-01-18T21:57:15.082025 | 2016-06-07T10:10:11 | 2016-06-07T10:10:11 | 54,836,786 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sce | writeValue.sce | function [res]=writeValue(handle, t,u1)
SOCKET_write(handle, string(u1));
res=0;
endfunction
|
08937b5f533ec36b4a6aac67436c94f2718dcf40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH5/EX5.6/Ex5_6.sce | 4bbc6c4f41072504f30d236d9a006101a158e86e | [] | 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 | 532 | sce | Ex5_6.sce | // Example 5.6
clc;
clear;
close;
// Given data
format('v',5);
Rs= 5*10^3;//series resistance in Ω
Ls= 0.8;// seried inductance in H
Cs= 0.08*10^-12;//series capacitance in F
Cp= 1.0*10^-12;// parallel capacitance in F
fs= 1/(2*%pi*sqrt(Ls*Cs));// series resonant frequency in Hz
fs= fs*10^-3;// in kHz
fp= 1... |
547636486e699460b7c2701f67ebf80c39256480 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH6/EX6.21/6_21.sce | 94d5e13a8ee96979acc523a99b7d3b61b4885474 | [] | 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 | 367 | sce | 6_21.sce | clc
//initialisation of variables
v1= 6.2 //ft/sec
a= 43.52 //ft^2/sec^2
a1= 105.6 //ft^2/sec^2
r= 0.468
r1= 0.87
d= 5 //in
d1= 6 //in
//CALCULATIONS
v2= sqrt(a-r*v1^2)
v3= sqrt(a1-r1*v1^2)
Q1= %pi*(d1/12)^2*60*v2/4
Q2= %pi*(d/12)^2*60*v3/4
//RESULTS
printf ('Quantity discharged= %.2f cuses',Q1)
prin... |
cb4163abfcddb7e5eb909cfd8a90c2cf88681432 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH2/EX2.29/Ex2_29.sce | 26753029d870a0dea5e4c9e81f793c862b8a0fa1 | [] | 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 | 163 | sce | Ex2_29.sce | //Example 2-29, Page No - 89
clear
clc
bw= 200*10^3
tr= 0.35/(bw*10^-3)
printf('The fastest rise time of the circuit is %.2f microseconds',tr*10^3)
|
9a6ca46c9180327750db045fd45ebcdacf32cfd1 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH2/EX2.4/Ex2_4.sce | d7e124a296a611a1822f1f88fb68583f8c6aaddd | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 379 | sce | Ex2_4.sce | //Variable declaration
l = [205,245,285,325,365,405] // intervels
frequency = [3,11,23,9,4]
cal = []
sum1 = 0
//Calculation
k = 1
for i = 2:6
for j = 1:i-1
sum1 = sum1 + frequency(j)
end
cal(k) =sum1
k = k + 1
sum1 = 0
end
//Results
printf ( "Cumulative Frequency: ")
for i = 1:5
... |
ce3709ffb7adecb3e604e87348f55390ab80d7b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH4/EX4.6.1/EX4_6_1.sce | fbc241adf20b63fa776e6d2c0a9b89dcfeac7ebd | [] | 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 | 320 | sce | EX4_6_1.sce | //Example No. 4.6.1
clc;
clear;
close;
format('v',6);
l=1;//m
Prad=4;//W
f=1.5;//MHz
c=3*10^8;//m/s////Speed of light
lambda=c/(f*10^6);//m
//here l/lambda<1/50 tells us it is a Hertzian monopole antenna
h=1;//m
Rr=40*%pi^2*(h/lambda)^2;//mΩ
Io=sqrt(2*Prad/Rr);//A
disp(Io,"Current required in A : ");
|
a2d82401dcd09bccf06dc788e18c8638686aa21a | ab89c2161afc0845367b8e25f534e4f99bd36759 | /LAB1/partice1.sce | cef19a7092b93f91d5558af4e4577688ed1b3ba8 | [] | no_license | PhiTruongCE/Digital_Signal_Processing | 22446ebfa65765d1dfcd2c420e05c83dc861ec15 | bacaf762f31a333a641ac48f6b5cc18f120c65be | refs/heads/main | 2023-06-04T03:38:36.140107 | 2021-06-17T04:04:49 | 2021-06-17T04:04:49 | 377,699,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sce | partice1.sce | l=5;
n=-l:l;
x=[zeros(1,l),ones(1,1),zeros(1,l)];
plot2d3(n,x);
title('Unit impulse');
|
57a003c1e0cf202768e592022304fc8cff293009 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/scicos/MFCLCK_f.sci | c56bc13c1598e5bf8d0cd745f11e1f47ee401812 | [
"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 | 949 | sci | MFCLCK_f.sci | function [x,y,typ]=MFCLCK_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
graphics=arg1(2); [orig,sz]=graphics(1:2)
xstringb(orig(1),orig(2),['M. freq';'clock'],sz(1),sz(2),'fill')
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standar... |
21b97a1bae66a5617adb120bf180f7589068b026 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH20/EX20.3/3.sce | 1bfe76dc416000da7d7a31f86efcdd9e1caa3ebd | [] | 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 | 396 | sce | 3.sce | clc; funcprot(0); //Example 20.3
//Initializing the variables
c = 1250;
Dt = 0.02;
Dv = 0.5;
rho = 1000;
v =0.5;
//Calculations
cDt = c*Dt;
Dp = rho*c*Dv;
DOv_DOt = Dv/Dt;
vDOv_DOt = v*Dv/cDt;
DOp_DOt = Dp/Dt;
vDOp_DOx = v*Dp/cDt;
Error = [vDOv_DOt*100/DOv_DOt vDOp_DOx*100/DOp_DOt];
disp(Error, "The ... |
02a7e037b4ae9b667fb28633e53b412e66ce2433 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH6/EX6.5.2/6_5_2.sce | b41570802d5d6a41f59cee1e0452eaa0559015aa | [] | 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 | 538 | sce | 6_5_2.sce | clc
pathname=get_absolute_file_path('6_5_2.sce')
filename=pathname+filesep()+'652.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
outputx=S/(S+100)
printf("x=%f Kg KNO3/Kg",outputx)
disp("Water balance")
m1=basis*(1-input... |
ad819f94ddfa97daf4ba156d4cc89286e0ab6058 | 936c3ede67c9eae14ad7c8db38222e47df8016fd | /poly2lsf.sci | 70fb6c2e94781772a2871f0fb5b00cd21ff8d662 | [] | no_license | kriaditi/scilab_functions | e7070a5dd281999cb97dc8773437b69cb4b912d2 | dfdcb7f20a351c40a98bc1de475b1a837e74b994 | refs/heads/master | 2021-01-10T08:34:04.861897 | 2016-03-03T11:05:29 | 2016-03-03T11:05:29 | 52,967,894 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,783 | sci | poly2lsf.sci | // ADITI KUMARI
// FUNCTION :POLY2LSF
// input argument: a- prediction polynomial
// output argument: lsf- line spectral frequencies
//Input:a=[1 .5 .2 .4 .3]
//output:x =[0.9273 1.2838 2.0944 2.6532]
function lsf = poly2lsf(a)
// if the coefficient of the highest order is not 1, we normalize.
if a... |
e10044c6f28f5462df3afecf26b07d7b701bb9c5 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_setInfo.tst | 26b240f1aaeb3ca69c2fa3fcddbb59a935c8bc47 | [] | 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 | 216 | tst | err_setInfo.tst | ; allowed to set pre-defined info
(set-info :name "x")
(get-info :name)
(set-info :authors "x")
(get-info :authors)
(set-info :version "0")
(get-info :version)
(set-info :error-behavior x)
(get-info :error-behavior)
|
cfc286fc29acd55b90d6b91dd2f3e823208584ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH8/EX8.2/Ex8_2.sce | 7d903f3a18cb40bc8eada9155eb0cc7e157681a4 | [] | 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 | 684 | sce | Ex8_2.sce | // Example 8_2
clc;funcprot(0);
// Given data
P_1=10;// kPa
P_2=4;// MPa
T_3=400;// °C
h_2=192;// kJ/kg
h_3=3214;// kJ/kg
s_3=6.7698;// kJ/kg.K
// Calculation
s_f4=0.6491;// kJ/kg.K
s_fg4=7.5019;// kJ/kg.K
s_4=s_3;// kJ/kg.K
x_4=(s_4-s_f4)/s_fg4;// The quality of steam at state 4
q_B=h_3-h_2;// The heat... |
46f6871f4e54a561a89ec53bd5fcdb0da9bb5fbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH8/EX8.3/exa8_3.sce | f6315b07e3d205910bfffd404b8ee313125559ce | [] | 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 | 822 | sce | exa8_3.sce | // Example 8.3
// Transformer-coupled Oscillator
// From figure 8.9(a)
V_m=12;//Magnitude of voltage source
omega=50000;// radial frequency (rad/s)
R_s=1000;//
V_s=20;// DC source
Z_C=1/(%i*omega*0.1*10^-6);
R=500;
// from figure 8.9(b)
// referring the ac source to the secondary ,as shown in figure 8.9(b)
N... |
ad5f355f44926c036aef987516804b69604b0ce7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH16/EX16.1/Chapter16_example1.sce | 4bf4c5e545204d7e6174838377ecd750ae431941 | [] | 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 | 416 | sce | Chapter16_example1.sce | clc
clear
//Input data
T1=(75+273)//Initial temperature in K
T2=(60+273)//Final temperature in K
T0=(30+273)//Surrounding temperature in K
t1=(5*60)//Time taken by the liquid to cool from 75 degrees C to 60 degrees C
//Calculations
T3=(T2-T0)^2/(T1-T0)+T0//The temperature of the body after the next 5 minutes ... |
b9e8eebc518e7d080a5d64f4022d120cefc34d0a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/examples/addinter-examples/ex7f.sce | 582ce33d6ec5c1cacc9d6bda8b1d500a91bad142 | [
"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 | 309 | sce | ex7f.sce | // Copyright INRIA
files=G_make(['/tmp/ex7fi.o'],'ex7f.dll');
addinter(files,'intex7','pipo');
//pipo(2) ==> error since g_abs is not defined
deff('z=g_abs(x)','z=abs(x)+a') //Now g_abs is defined
a=33;
y=pipo(33)-34; //goes into Fortran interface ex7fi which calls g_abs
if y<>32 then pause,end
|
dd7737f271b5ecf4cf8eda269889ff2c489f308d | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH9/EX9.19/19.sce | 8497305c2d1ee0a93ad934b4c6880a4e88f1ec02 | [] | 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 | 19.sce | clc
cp_CO2=0.85; //kJ/kg K
cp_N2=1.04; //kJ/kg K
m_CO2=4; //kg
T1_CO2=313; //K
m_N2=8; //kg
T1_N2=433; //K
p2=0.7; //bar
p1_CO2=1.4; //bar
p1_N2=1;
R=8.314;
M_CO2=44;
M_N2=28;
R_CO2=R/M_CO2;
R_N2=R/M_N2;
disp("(i) Final temperature, T2")
T2=(m_CO2*cp_CO2*T1_CO2 + m_N2*cp_N2*T1_N2)/(m_CO2*cp_CO2 + m_N2... |
5adacbca47ad3628f753e8d794663c3bfca48116 | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/privop.tst | 246fe94331df4d86f7d54fcefe6f8d9403b91120 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 428 | tst | privop.tst | *
* This file was put into the public domain 2016-11-29
* by John P. Hartmann. You can use it for anything you like,
* as long as this notice remains.
*
*Testcase privopisk
sysclear
archmode z
loadcore "$(testpath)/privop.core"
*Program 1
runtest .1
*Done
*Testcase privopiske
*Program 2
runtest program .1
*Done
*Tes... |
60e18a6c8fa2bf65b2897b033fc9be36a4b64cff | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH15/EX15.2/ex_15_2.sce | 32ab0fac711686237549782489af347b06ebd551 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 587 | sce | ex_15_2.sce | //find rxn at Q and R,tensile stress in 12mm dia of rod at Q,shear stress....
clc
//solution
//given
t=15//mm
Fp=900//N
//let Rq and Rr be rxn at Q and R
///tkaing monnt abt R
Rq=900*950/150//N
Rr=Rq-900//N
printf("the rxn at Q and R are ,%f N\n,%f N\n",Rq,Rr)
d1=12//mm//dia of tie rod
A=(%pi/4)*d1^2//mm^2... |
eabb226989e16a75b836df3884780183f4c64ecb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH15/EX15.9/Ex15_9.sce | 7482cbe06494ace3066343ded7ae049e61a2bdc2 | [] | 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,300 | sce | Ex15_9.sce | clear;
clc;
disp('Example 15.9');
// aim : To determine
// (a) the pressure and temperature at cycle process change points
// (b) the work done
// (c) the thermal efficiency
// (d) the work ratio
// (e) the mean effective pressure
// (f) the carnot efficiency
// given values
rv = 16;// volume rati... |
a157a37954c3c4b7eee25a07bce17fde886fb707 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH3/EX3.8.1/Example3_8a.sce | c9f0577ece36ee3644404bab1a1f8c0230b66ebe | [] | 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 | 833 | sce | Example3_8a.sce | clc
//Given that
lambda = 4.3e-7 // wavelength of light in meter
phi_Ni = 5 // work function of nickel in eV
h = 6.624e-34 // plank's constant
c = 3e8 // speed of light
m_e = 9.1e-31 // mass of electron in kg
//Sample Problem 8a Page No. 138
printf("\n\n\n # Problem 8a # \n")
lambda_threshold = h * c / (phi_Ni... |
1f8a023ac90c668cec717c31a5e5de3488a0697e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH12/EX12.11/Ex12_11.sce | 8cc00e546dfdddfe76aa543204f9878d30295705 | [] | 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 | 401 | sce | Ex12_11.sce | errcatch(-1,"stop");mode(2);//Caption:Calculate external resistance per phase
//Exa:12.11
;
;
p=6//Number of poles
f=50//Frequency(in hertz)
r=0.25//Resistance per phase(in ohms)
n_1=965//Speed on full load(in r.p.m)
n_2=800//Reduced speed(in r.p.m)
n_s=(120*f)/p
s_1=(n_s-n_1)/n_s
s_2=(n_s-n_2)/n_s
R=((s... |
77cbe6a7739603a199262a785bb335b3a3eafa7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH2/EX2.3i/eg2_3i.sce | dff62f095bfcf501426d2066982e8b7e27884454 | [] | 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 | 173 | sce | eg2_3i.sce | noise = [ 82 89 94 110 74 122 112 95 100 78 65 60 90 83 87 75 114 85 69 94 124 115 107 88 97 74 72 68 83 91 90 102 77 125 108 65];
disp(quart(noise), "The quartiles are") |
473512c5f1d6c163c02cae5caffdafe7b2de057a | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/WM87HKL/ATWM1_Working_Memory_MEG_WM87HKL_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | c89587a5cf85f5b862cfb73adfedcee740dc5b92 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,381 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
9f5b02aa3bb7ebfded31a6599c5160b4594b0ed0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH13/EX13.2/13_2.sce | d97fd216ac4b5c8cd276ed78a9188270c08b37bc | [] | 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,660 | sce | 13_2.sce | clear;
clc;
//Example - 13.2
//Page number - 433
printf("Example - 13.2 and Page number - 433\n\n");
//Given
T = 310.93;//[K] - Temperature
P = 2.76*10^(6);//[Pa] - Pressure
y1 = 0.8942;//[mol] - mole fraction of component 1
y2 = 1 - y1;//[mol] - mole fraction of component 2
R=8.314;//[J/mol*K] - Universa... |
06e06bf15621aed111ea63df783395b621540581 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH22/EX22.23/Ex22_23.sce | 5690a8582978f32b906661072af3037a1c673471 | [] | 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 | 151 | sce | Ex22_23.sce | clear
//Given
u=1.33
a=90
//Calculation
//
ap=atan(u)*180/3.14
A=a-ap
//Result
printf("\n Angle between the sun and the horizon is %0.0f Degree",A)
|
248bcc228745a785092e766914f538d465dd818c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH13/EX13.4/13_4.sce | 0e10a609c01e3992fce53266783690a2609d3d65 | [] | 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 | 859 | sce | 13_4.sce | clear
clc
//Example 13.4
disp('Example 13.4')
s = %s;
num = 2;
den = (0.5*s+1)^3;
delay=0;
w = 0.001:0.002:100*%pi;
LF = "loglog" // Warning: Change this as necessary
//Kc=1
G1 = num/den;
G1m = horner(G1,%i*w); //G1m denotes magnitude
G1p = phasemag(G1m)-delay*w*180/%pi; //G1p denotes phase
//Kc=4
G2 = 4*num/den... |
0bf959188cbbbc3b327d33f8e1dc272be22ee5c5 | 676ffceabdfe022b6381807def2ea401302430ac | /utilities/FieldConvert/Tests/chan3D_interppointsbox_par.tst | 39cccc3a6fc81646bca57d51616770bdaf9640bd | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,177 | tst | chan3D_interppointsbox_par.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> Interp field to a box of points (also calculate cp and cp0)</description>
<executable>FieldConvert</executable>
<parameters> -f -e -m interppoints:cp=0,0.5:box=10,10,10,-0.5,0.5,-0.5,0.5,-0.5,0.5:fromxml=chan3D.xml:fromfld=chan3D.fld chan3D_box.da... |
fa7bb147da0ff86feccb7290f70e33be55fd6e62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH1/EX1.9.8/Example1_9_8.sce | 9929e4a942901bd03167c37e5ee105df96edae61 | [] | 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 | 341 | sce | Example1_9_8.sce | //Example 1.9.8 page 1.26
//To finf relative RI difference..
clc;
clear;
phiA = 8 // accepatance angle in degrees...
n1 =1.52; //RI of core...
NA = sind(phiA); //Numerical Aperture...
del = NA^2/(2*(n1^2)); //Relative RI difference...
printf("The relative refractive index differ... |
3111b8eebdcd9bd915346c2e7d770483a9a997ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH11/EX11.1/Ex11_1.sce | cc9f1ad22b9f2b970d06ce9636ce223a92ed0644 | [] | 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 | 296 | sce | Ex11_1.sce | clc
// given data
rho=996 // density in kg/m^3
effi=0.55 // oveall efficiency
Q=100/1000.0 // discharge in m^3/sec
h=30 // gross head in m
g=9.81 // gravitational acceleration in m/sec^2
Pnet=effi*rho*Q*g*h/1000 // net power in watts
printf("Power available is %.2f kilowatts",Pnet)
|
d8cd2e4862cf261b5ca314cad10cdd54bfeed849 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH5/EX5.1/5_1.sce | 400298e6becca8f69e9be2df7076b33561870c6e | [] | 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 | 308 | sce | 5_1.sce | clc
//initialisation of variables
c=300 //velocity in m/s
cp=1.005 //kj/kgk
g=1.4
t=478 //static temparature in k
p=15 //static pressure in bar
//CALCULATIONS
t0=t+((c)^2/(2*cp*1000))
x=(t0/t)^(g/(g-1))*p
//RESULTS
printf('stagnation temparature and stagnation pressure is %2fk and %2fbar',t0,x)
|
d2864d420e251661a20e613e806439e70280dbab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH8/EX8.12/exa_8_12.sce | b436277527db16b18857168102a62ae86da0ef7e | [] | 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 | 559 | sce | exa_8_12.sce | // Exa 8.12
clc;
clear;
close;
// Given data
// Part (a)
d_v0= 0;
Dv=6;
fie= asind(d_v0/Dv);
disp(fie,"Phase angle of first figure in degree")
// Part (b)
d_v0= 3;
Dv=6;
fie= asind(d_v0/Dv);
disp(fie,"Phase angle of second figure in degree")
// Part (c)
d_v0= 5;
Dv=5;
fie= asind(d_v0/Dv);
disp(fie,"P... |
8ab57f1e047b3b486c06cb857e5d13dcd54a0d1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH11/EX11.2/Chapter11_example2.sce | 59eda7732f84086461c2bf928c82811f6b889a49 | [] | 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 | 344 | sce | Chapter11_example2.sce | clc
clear
//Input data
I=0.09//Ratio of observed intensity to the initial intensity
//Calculations
q=acosd(sqrt(I))//Angle between the plane of transmission of the analyser and that of the polarizer in degrees
//Output
printf('Angle between the plane of transmission of the analyser and that of the polarizer ... |
739268a163360381e28d08cefca597cb191ced97 | c4c3bc86b278ed2ae8e7dad1351e3242b322bc88 | /main.sce | d45f3abe6e107967af6684954aaf2e1580133ba3 | [] | no_license | VLbest/SPConvolution | f45928d16b32f2f23643eef80164c3258b6ddda5 | ece185b1dcfb18c24bc39824f5e95a801c6dfdef | refs/heads/master | 2016-09-06T18:24:18.011167 | 2015-03-09T12:56:50 | 2015-03-09T12:56:50 | 31,422,183 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | main.sce | clear
exec('applyFilter.sce', -1);
exec('display_gray.sci', -1);
exec('readpbm.sci', -1);
//************************************************
//
img=readpbm('timgone.pbm');
mask = [0.75,0.75,0.75;
0.75,1,0.75;
0.75,0.75,0.75];
contrast = 7;
//
//************************************************
// ... |
ad7fc696cbd429d9de0b79c40128ec1cd4b49fa8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH5/EX5.2/Ex5_2.sce | 0a5f9096fc8fe0de94a861ee9896a115d6a2609a | [] | 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 | 959 | sce | Ex5_2.sce | // Example no.5.2
// To calculate (a) the responsivity R and (b) the cutoff wavelength
// Page no.198
clc;
clear;
// Given data
neta=0.9; // The quantum efficiency
Eg=1.42; // The band-gap energy in eV
lambda=1.1; ... |
9875093e97ea5e666e097dec84a79550cfdb6559 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH2/EX2.4/2_4.sce | b3b60d68c30bab5fc0440afa4c25cad455bbef41 | [] | 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 | 488 | sce | 2_4.sce | //ques-2.4
//Calculating Gross and net calorific value
clc
x=0.83//Mass of fuel (in g)
W=3500;//Weight of water (in g)
w=385;//Water equivalent of calorimter (in g)
t1=26.5;//Initial temperature
t2=29.2;//Final temperature
L=587;//Latent heat of steam (in cal/g)
H=0.7;//Percentage of Hydrogen
GCV=((W+w)*(t2-t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.