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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ae47c0b6809d3f44bdf25f7ecf76bc9f1fa98a23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH7/EX7.7/7_7.sce | 416d9879a012854a2e8468347d2a2cf19d118145 | [] | 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 | 353 | sce | 7_7.sce | clc;
clear;
format('v',6);
V1=60;
V2=20;
r1=2; //in cm
r2=6; //in cm
r=4; //in cm
disp("where A and B are constants.","V=A*ln(r)+B","The potential V as a function of coordinates is ");
disp("B=85.2","A=-36.4","using the given data,we get");
V=-36.4*log(r)+85.2;
disp(V,"The pot... |
36bec0a879624bc517c99f85d9cdce520a0230a2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/percent/%shs.sci | 71ca5556251953681ea4bdcb9fdbca5007df4cc6 | [
"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 | 122 | sci | %shs.sci | function r=%shs(a,b)
//computes a&b for a and b matrices of scalar
if a==[]|b==[] then
r=[]
else
r=(a<>0)&(b<>0)
end
|
2492fbbf860d211450fff27710a2eae203620d4e | fc5f1b90d24aeee218dc9186a13da29b38f42e78 | /tests/parser_JAVA.tst | 019f69e0beb63db0c1a3c7ee41cc29ac566456d1 | [] | no_license | breckinloggins/cbnf | e742c1fe07f374b32185cc4bfd7ec0cf28d5fefc | a6507ea4f5f7710a2591d3a1936d2bbf241eee1c | refs/heads/master | 2021-01-22T19:36:04.952416 | 2011-07-08T23:56:45 | 2011-07-08T23:56:45 | 2,020,610 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,580 | tst | parser_JAVA.tst | // From: http://infoether.com/~tom/java.bnf
grammar JAVA;
/*****************************************
* THE JAVA LANGUAGE GRAMMAR STARTS HERE *
*****************************************/
/*
* Program structuring syntax follows.
*/
CompilationUnit : ( PackageDeclaration )? ( ImportDeclaration )* ( TypeDeclarat... |
189f265b85c48f9362daf175863bb467dbccab10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH9/EX9.9/9_9.sce | bb459b825e55cfe9b1453d5537722a2c85504612 | [] | 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 | 903 | sce | 9_9.sce | clear; clc; close;
Cs = 10*10^(-6);
Ce = 20*10^(-6);
Cc = 1*10^(-6);
Rs = 1*10^(3);
R1 = 40*10^(3);
R2 = 10*10^(3);
Re = 2*10^(3);
Rc = 4*10^(3);
Rl = 2.2*10^(3);
Beta = 100;
ro = %inf;
Vcc = 20;
Ve = 4-0.7;
Vb = R2*Vcc/(R2+R1);
Ie = Ve/Re;
re = 26*10^(-3)/(1.65*10^(-3));
x = Beta*re;
Av = -Rc*Rl/... |
8957a124ca8ef8882d75b9c25ce77bb87caa7966 | 92c39b1bfa02d70fb861a7fa8c907a2a24613ebf | /g.sci | 98dbdfadd640bf5a46d37f0b08ef9f85f0141bcb | [] | no_license | UTEC-mateIII/TAP-2 | 7e9d8aba21430ef00987dbf14418444f27cd20e7 | faeae752299402b9c7f43c37cf7d62b6a0daa42d | refs/heads/master | 2022-06-29T17:15:47.667656 | 2020-05-04T23:56:57 | 2020-05-04T23:56:57 | 260,448,794 | 0 | 2 | null | 2020-05-01T14:16:39 | 2020-05-01T12:00:47 | null | UTF-8 | Scilab | false | false | 364 | sci | g.sci | // Alberto Oporto Ames 100%
exec("rotE.sci")
d=6
// 53° sobre el eje z del proyector
theta1=53
u=[0, 0, 1]
R1=Rmat(u, theta1)
[A B C D] = rotE(u, theta1, d)
// 37° sobre el eje x del proyector
theta2=37
u2=[1, 0, 0]
u2=R1*u2' // Nuevo eje x
[A B C D] = rot(u2, theta2, A, B, C, D)
disp("A")
disp(A)
disp("B")
disp... |
6511ede1aaa7aa7183ee433ef0f5129b69580fdf | b34461c9ddff1ba130b67023d6e568ada42830dc | /workspace/test script.sce | 3ea966173cce4a8d93e8fb876de1b9a709a67051 | [] | no_license | AdrienKegler/Projet-Exolife | f72287fdc41a07b88f03b8346dafab93b4539b07 | 249f0861dc4ba3f2a7639ea60b7d12b45e717933 | refs/heads/master | 2020-05-25T14:05:45.213740 | 2017-03-17T09:16:20 | 2017-03-17T09:16:20 | 84,937,694 | 0 | 0 | null | 2017-03-15T10:15:55 | 2017-03-14T10:45:25 | Scilab | UTF-8 | Scilab | false | false | 293 | sce | test script.sce | //1e étape
path_name = "C:\Users\clement\Documents\GitHub\Projet-Exolife\images\Gliese 667Cc_surface.pbm";
img_in = readpbm(path_name);
//2e
//3e étape
display_gray(img_in);
//4e étape
writepbm(img_out, 'C:\Users\clement\Documents\GitHub\Projet-Exolife\workspace\création.pbm');
|
889a8b69bfcaf9df3964d393c475717b0d798d96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH21/EX21.4/VBELT_4.sce | 9930982859c9588c6c3606626147931ef52c82b0 | [] | 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 | 558 | sce | VBELT_4.sce | // sum 21-4
clc;
clear;
P=12*10^3;
Ks=1.1;
Pd=12*10^3*Ks;
N=1440;
B=17;
t=11;
d=200;
i=3;
D=i*d;
C=1000;
// since angle of contact theta is very small
theta=(D-d)/C;
theta=theta*180/%pi;
Kc=0.8;
Lp=(2*C)+(%pi/2*(D+d))+(((D-d)^2)/(4*C));
Li=Lp-45;
Ki=1.1;
//let number of v-belts required = n
//let t... |
e070bbf4c4e23c458b3289825715c5b644051519 | 27a721095f94b336dd8b88c9d90cb92ca4ab4996 | /Scripts/forwardsub.sci | 086652cc37de645a37d559974cd388d5bc0f2648 | [] | no_license | ECipolatti/Calculo-Numerico | f5201774402680a419345db4fd8f0af686c79e7a | 86369f9010c408854fd141d819bc11b1ab4590c1 | refs/heads/master | 2021-05-06T06:46:10.292226 | 2017-12-11T18:41:46 | 2017-12-11T18:41:46 | 113,894,883 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sci | forwardsub.sci | function [y]=forwardsub(L,b)
[m,n]=size(L);
tol = 10^(-9);
if(L(1,1)<tol)
disp("No funca el algoritmo")
return;
end
y=zeros(n,1);
y(1)= (b(1)/L(1,1));
for i=2:n
if(L(1,1)<tol)
disp("No funca el algoritmo")
return;
end... |
38d89eaa1bcb7c51f8d3fc79a8fcfb01a266aec7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH4/EX4.3/Ex4_3.sce | 9d9d56e779ba8715391dd7239cb75fad2890cd3a | [] | 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,099 | sce | Ex4_3.sce | // Example 4.3
// To find a)power at receiver b)magnitude of E-field at receiver c)rms voltage applied to receiver input
// Page no. 112
clc;
clear all;
// Given data
Pt=50; // Transmitter power in Watt
fc=900*10^6; ... |
70616f0e775627500549af6a6fdce3e282521778 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH5/EX5.5/Ex5_5.sce | cf2e3f7696b620964e7bc2793c7db349ae9d66e0 | [] | 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 | 416 | sce | Ex5_5.sce | errcatch(-1,"stop");mode(2);//Example 5_5
;
;
//To find the lattice parameter of lead
theta=30 //units in degrees
n=1
l=1.54*10^-10 //units in meters
d=(n*l)/(2*sin(theta*%pi/180))
h=2
k=2
l=0
a=d*(sqrt(h^2+k^2+l^2)) //units in meters
a=a*10^10 //units in Armstrongs
printf("Lattice parameter is a=... |
df4ddd356c1fcdb6e7a92e656a20264a9714cd49 | c6cc3eb8682c3378dfab15f7b5e056bf35e49440 | /schurrc.sci | a489a36772bf9f9b445c10be86c6bd96163a975a | [] | no_license | parthe/SCILAB-Signal-Processing-toolbox-FOSSEE- | acf0e50411c19ce9918a6f62d819277428d3ee1a | a46b937aa445bac152f0822c33acc392abf5c8a4 | refs/heads/master | 2020-04-27T21:05:17.347792 | 2015-11-05T06:16:14 | 2015-11-05T06:16:14 | 42,814,185 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,331 | sci | schurrc.sci | function [k,varargout] = schurrc(r)
// Compute reflection coefficients from autocorrelation sequence using Schur algorithm
//
// Calling Sequence
// k = schurrc(r)
// [k,e] = scurrc(r)
//
// Parameters
// r: Autocorrelation sequence. Could be a vector or matrix
// k: reflection coefficients. I-th column of k correspond... |
04ce9fc653534222bdeefce2b5cf9e161abb6ec4 | 3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f | /SciLab/simplex.sce | c426d44db36a2b83e81dacfdfe2ecd337c9a49c9 | [] | no_license | bozhink/Code-Chunks | 74355eb4c0d423c2f6484226e564030dff798678 | 860b7b8f53089ed96fd0ebead2e3eec16fa377cb | refs/heads/master | 2020-12-24T06:19:04.343239 | 2019-11-13T14:09:15 | 2019-11-13T14:09:15 | 42,819,484 | 0 | 1 | null | 2019-11-13T14:09:16 | 2015-09-20T16:09:09 | HTML | UTF-8 | Scilab | false | false | 2,441 | sce | simplex.sce | function A=SetIndexRow(AA,C,IBASIS)
[m,n]=size(AA);
for j=1:n
for i=1:m-1
A(i,j)=AA(i,j);
end
A(m,j)=-C(j);
end
for j=1:n
for i=1:m-1
A(m,j)=A(m,j)+A(i,j)*C(IBASIS(i));
end
end
endfunction
function KC=GetKeyColumn(AA)
[m,n]=size(AA... |
b39911f82d579b339f6cadac94b37cf095c7b4af | 564beb66e232557765505973f93cc322a394133a | /KONA/scilab/preditor_prey_rate.sce | 4a52ef586ee811691cd0a2c3476f966e611ff1c2 | [] | no_license | KeithEvanSchubert/Keith_On | 2442bb74b9d531c96d9f10da8df1dede54423094 | fe8dd1e90e695957346aa176b7e0d0fea30171e3 | refs/heads/master | 2021-01-18T22:08:18.862471 | 2019-09-04T17:39:58 | 2019-09-04T17:39:58 | 51,767,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | preditor_prey_rate.sce | function [xdot]=preditor_prey_rate(starve,birth,eat,eaten,preditor,prey)
xdot=zeros(2,1);
xdot(1)=(eat*prey-starve)*preditor;
xdot(2)=(birth-eaten*preditor)*prey;
endfunction
|
04109753e8ebe350044dbe08a129d5b0ee0c56a5 | 865c01c4e4d5bbf3fdc95aed975536760189fb5e | /sas6i/CAMBIOS SISTEMA CON TARIFARIO/ejecuta devuelve convenio.tst | 7b6810e6d59b2da97d41da0d15aa52451d023e89 | [] | no_license | giovaron/Solca_HIS | 3b49cd01af546d6706d41fd40f01caf505e833de | 609104035c0971e1eac8a989c1fa069281d46248 | refs/heads/master | 2021-01-10T11:23:41.215533 | 2015-11-09T18:02:56 | 2015-11-09T18:02:56 | 45,841,168 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | tst | ejecuta devuelve convenio.tst | PL/SQL Developer Test script 3.0
8
BEGIN
DECLARE CONVENIO varCHAR2(25) := NULL;
PROMOCION CHAR(2);
BEGIN
CONVENIO := FCTCONTRF.DEVUELVE_CONVENIO(5137,SYSDATE,PROMOCION);
DBMS_OUTPUT.put_line('La promocion es '||convenio);
END;
END;
0
1
PROMOCION
|
ebe1e0d078360191be530de93e3a08fcfcc908ed | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/percent/%lss_a_s.sci | 986ec8b39e544c72f5d6151e263786cf4d31c521 | [
"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 | 103 | sci | %lss_a_s.sci | function s1=%lss_a_s(s1,d2)
//s=%lss_a_s(s1,d2) iff s=s1+d2
//!
// Copyright INRIA
s1(5)=s1(5)+d2
|
98bfedf3095dd5e63373190b54bcdcd6cc0b86da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH2/EX2.21.2/ex2_21_2.sce | 5d90afe769112de4db498f57cda82457da4c8680 | [] | 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 | 489 | sce | ex2_21_2.sce | //Chapter-2,Example2_21_2,pg 2-47
m=63.5 //atomic weight
u=43.3 //mobility of electron
e=1.6*10^-19 //charge on electron
N=6.02*10^23 //Avogadro's number
d=8.96 ... |
6baaf6bd131976d79877b756acbe22e14d521ae2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH10/EX10.6/10_6.sce | ebff1168c689c478857ea5b138ba77b1f1bb937c | [] | 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 | 168 | sce | 10_6.sce | clc
//Initialization of variables
prob=0.001
R=1
N=6.023*10^23
//calculations
dS=1.987*2.303*log10(prob) /N
//results
printf("change in entropy = %.1e eu",dS)
|
36d9790bc872c685203aedd7e64763b1e98a73db | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/31.tst | 22f679d5c2abb2fdeeaa22f866ace633e0dcbacc | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 108 | tst | 31.tst | int main(void)
{
enum a {
A, B, C
};
{
enum a { /* не ошибка */
Z
};
}
}
|
561a8060517d5c295070039a85546eca1524af1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH10/EX10.13/Ex10_13.sce | 2975cdc4c5e0180e0b890d3b5241feccac435e30 | [] | 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 | Ex10_13.sce | // Calculating the number of stator and rotor turns and rotor voltage between slip rings at standstill
clc;
disp('Example 10.13, Page No. = 10.35')
// Given Data
// 3 phase induction motor
Nss = 54;// Number of stator slots
Nrs = 72;// Number of rotor slots
V = 400;// Applied voltage across the stator terminals
... |
3af4ec4cbb22557f7cba0b7ff9c385a02d895d1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH3/EX3.12/Ex3_12.sce | e969be3b2572f4f74681ed64369ccf968fe8f450 | [] | 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 | 761 | sce | Ex3_12.sce | //Initilization of variables
F1=150 //lb
F2=200 //lb
F3=200 //lb
F4=225 //lb
M=900 //lb-ft
Theta1=(45*%pi)/180 //radians
Theta2=(30*%pi)/180 //radians
x1=3 //ft
x2=15 //ft
x3=12 //ft
x4=6 //ft
//Calculations
Fx=F1*cos(Theta1)+F2-F4*cos(Theta2) //Applying sum of all forces equal to zero in X direction
Fy=F... |
876a8f6c6cb1a3f245c96659762ca4ebba0b09d3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/fraclab/icontwt.sci | 9a971ef6d3af8acaa7a504f06bd708812e8c1697 | [
"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 | 2,802 | sci | icontwt.sci | function [x] = icontwt(wt,f,wave)
// This Software is ( Copyright INRIA . 1998 1 )
//
// INRIA holds all the ownership rights on the Software.
// The scientific community is asked to use the SOFTWARE
// in order to test and evaluate it.
//
// INRIA freely grants the right to use modify the Software,
// integrate... |
97b92e7bb85d911a280d226967d449a689e17806 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.31/Ex3_31.sce | e447885e90c40dffdcfdd4e4ba6cf3da2d475d9c | [] | 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 | 236 | sce | Ex3_31.sce | //EX3_31 PG-3.67
clc
LR=3e-3;//load regulation
Vnl=15;//no load voltage or maximum voltage
Vfl=Vnl-LR;//full load voltage
%LR=(Vnl-Vfl)/Vfl*100;//percentage load regulation
printf("\n percentage load regulation is +%.2f %%",%LR)
|
48a250184ba2b57a61249b8b1432dfea5bb79284 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/percent/%lssnlss.sci | 1ec35825d4ae9bb4def02e5dfb6678294bc6bf33 | [
"MIT",
"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 | 193 | sci | %lssnlss.sci | //[r]=%lssnlss(s1,s2)
//%lssnlss(s1,s2) effectue le test d'inegalite de deux systemes d'etat
//correspond a l'operation s1<>s2
//!
for k=2:7,r=or(s1(k)<>s2(k));if r then return,end,end
//end
|
aa87c1e0ebdc15d4e2220db8fee217b6fef0a848 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.6/18_6.sce | 27e46ea473aa4f00aa925283a3495c50ba1c0eef | [] | 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 | 347 | sce | 18_6.sce | //ques-18.6
//Calculating standard heat of formation of n heptane
clc
E1=-1150;//internal energy change at constant volume (in kcal)
h2=-94;//heat of formation of carbon dioxide (in kcal)
h3=-68;//heat of formation of carbon dioxide (in kcal)
H=7*h2+8*h3-E1;//heat of formation
printf("Heat of formation of n-hep... |
a9e1d5ecf36b7ef5cd47ac938a9a15eec3d96fd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH3/EX3.2.8/Ch03Exa3_2_8.sci | e135174ea27ae86f0b3447f7f9bdc492255d0daa | [] | 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 | sci | Ch03Exa3_2_8.sci | // Scilab code Exa3.2.8 To calculate the activity and weight of radioactive material : Page 128 (2011)
N_o = 7.721e+018; // Number of atoms in 3 mg of U-234
t_h = 2.5e+05; // Half life of U-234, years
T = 150000; // Total time, years
lambda = 0.6931/t_h; // Decay constant, year^-1
N = N_o*(%e^-(lambda*T)); // Num... |
d1bf588552554d22f828faf0ad269adbcd9878eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH9/EX9.2/Ex9_2.sce | 41d9df6e077a2e4d41c38dd2ad0ef94ff811fad3 | [] | 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,555 | sce | Ex9_2.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 9 Example 2")
Pa=138;//pressure during compression at 1/8 of stroke in KPa
Pb=1.38*10^3;//pressure during compression at 7/8 of stroke in KPa
n_ite=0.5;//indicat... |
1b5e0e67abeac92c9d3cbc845487b7f2df50b24d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.24/24.sce | 1f695a9e7c41828f23126cfc349447c7314b3de8 | [] | 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 | 403 | sce | 24.sce | clc
clear
//INPUT DATA
n=4//no.of atoms in Face centered cubic lattice
d=6250//density of potassium bromide in Kg/m^3
AW=60.2//molecular weight of crysal with face centered cubic lattice
N=6.023*10^26//Avagadro's number per Kg mol
//CALCULATION
a=(((n*AW)/(d*N))^(1/3))/10^-10//The lattice constant in armstron... |
849050baeed7b2707ed9098da3087f13f31cf3ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH4/EX4.1/ex4_1.sce | 76db8ef2ef0f11949c2f4971a37ad8ba3731c233 | [] | 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 | 492 | sce | ex4_1.sce | // Exa 4.1
format('v',7);clc;clear;close;
// Given data
Vi = 5.1;//input voltage in V
n = 8;// number of bit
Resolution = 2^n;
Resolution = Vi/(Resolution-1);// in V/LSB
Resolution= Resolution*10^3;// in mV/LSB
disp(Resolution,"The Resolution in mV/LSB is");
Resolution= Resolution*10^-3;// in V/LSB
Vi = 1.28;... |
eec63544be04f2d311c4e72571596e65da5dc6fc | 5bc3a272ac3972765259062ed2c4abd8ac31eb84 | /EE 324 controls lab/lab3/q2.sce | 07a660c4316cf608edb758f7966d3ff0f0653684 | [] | no_license | ishan-2404/Duaon-mei-yaad-rakhna-XD | 51a268cb15695d78a1bd086d958f402fe6ee093d | bf702ac84c18f7d677a35f9f850e3bfb63a32625 | refs/heads/main | 2023-07-13T17:10:57.650902 | 2021-08-14T07:06:22 | 2021-08-14T07:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sce | q2.sce | s = poly(0,'s');
// PART a
t = 0:.005:8;
G = 85/(s^3+7*s^2+27*s+85);
G = syslin('c',G);
y1 = csim('step', t,G);
G_approx = 17/(s^2+2*s+17);
G_approx = syslin('c',G_approx);
y2 = csim('step', t,G_approx);
plot2d(t,[y1',y2']);
xgrid(5,1,3);
legend(['Original TF', '2nd Order Approximation']);
xlabel('Time ... |
af500ffb282afdd01a0079e04fadbc859c10b97f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH3/EX3.7/Ex3_7.sce | c063b63b049db9bfd72103c437f90d3b4b5c6ffe | [] | 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 | Ex3_7.sce | //Example 3_7
clc;clear;funcprot(0);
//Constants used
g=9.81;// The acceleration due to gravity in m/s^2
//Given values
rho_0=1040;// The density of brine in kg/m^3
h_1=0.8;// m
H=4;// m
z_0=0;
z_1=4;// z_0 & z_1 are limits of integration
//Calculation
P_1=rho_0*g*h_1/1000;// Standard pressure determina... |
c72173125555b410931ace67c1982b1286c94315 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/tgk.tst | 07dc1cce921e0de6e92e44c4947461b847ca090d | [] | 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 | 409 | tst | tgk.tst | рус рус N;NDEF;SG
мор мор N;NDEF;SG
нам нам N;NDEF;SG
модар модар N;NDEF;SG
сир сир N;NDEF;SG
кишвар кишвар N;SG
дил дил N;NDEF;SG
бол бол N;NDEF;SG
хар хар N;NDEF;SG
зар зар N;NDEF;SG
ранг ранг N;SG
сол сол N;NDEF;SG
мех мех N;NDEF;SG
ватан وطن N;SG
доктор доктор N;NDEF;SG
дам дам N;NDEF;SG
|
fd6f56b46d23f1fed121c84b4bc1bd3a71e17c84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/4_11.sci | 4fe857acb10b35e11860b7f5bff6f8f18fae5aed | [] | 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 | 222 | sci | 4_11.sci | //Mass of vane and cart(in kg):
M=75;
//Turning angle of vane:
theta=60;
//Speed of water leaving nozzle horizontally(in m/sec):
V=35;
//Exit area of nozzle(in m^):
A=0.003;
//Density of water(in kg/m^3):
d=999;
|
b25d4f99ab0cc1ccea7ce7a8e5acfdd4854180ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH16/EX75.1/75.sce | 8de162d8daa1fcd7cf17b2c3285a68edf7a03b81 | [] | 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 | 170 | sce | 75.sce | clc
//initialisation of variables
d=180//mm
h=1000//rpm
n=320//rpm
//CALCULATIONS
D=d*(h/n)//mm
//RESULTS
printf('the diameter of the follower sheave=% f mm',D)
|
d0e6ad612c82ad241ad28b586ee0141e8db95e44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH8/EX40.3/40.sce | cd823329d0526ed0b604ea5fd3e84003aed3dc33 | [] | 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 | 183 | sce | 40.sce | clc
//initialisation of variables
v=60//m/sec
a=30//mm
b=120//mm
//CALCULATIONS
V=v*(b/a)//mm/sec
//RESULTS
printf('the velocity of the follower it the groove=% f mm/sec',V)
|
edff3aecf52985fc39f385561f1724d6920806ab | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/util/g_inv.sci | 9f50defcf45c7d105526bb2f613f67aa07922da3 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 1,595 | sci | g_inv.sci | function x=g_inv(a)
// only to be called by function inv
//!
select type(a)
case 2 then
x=invr(a);return
case 15 then
if a(1)=='r' then
x=invr(a);return
end
if a(1)='lss' then
D=a(5);
[m,n]=size(D);
polyn=(type(D)==2);constant=(type(D)==1);
if constant then rcd=rcond(D);minsv=mini(svd(D));s=poly(0,'s')... |
80c494554865df8cb7a981ee725a4b93adeeb5db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH1/EX1.10/1_10.sce | 88bd745bcbd939765ce019162a5b2fdccecb22ed | [] | 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 | 400 | sce | 1_10.sce | //Chapter-1,Example 1_10,Page 1-21
clc()
//Given Data:
u1=1.2 //Refractive index of drop of oil
u2=1.33 //Refractive index of water
lam=4.8*10^-7 //wavelength of light
n=3 //order
r=0 //normal incidence,so r=0
//Calculations:
t=n*lam/(2*u1... |
daab620f22253fce55371cf6824471b85adb21c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH2/EX2.4/Exa2_4.sce | 3c091b8dc283f903ae4bde57e35398e91dda746d | [] | 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 | 483 | sce | Exa2_4.sce | //Exa 2.4
clc;
clear;
close;
//Given data
Beta=45;//unitless
RL=1;//in kOhm
deltaVCE=1;//in volt
disp("Part (i) : CE coniguration");
IC=deltaVCE/(RL*1000);//in Ampere
//Formula : Beta=deltaIC/deltaIB
IB=IC/Beta;//in Ampere
disp("Input Base Current, IB in mA : "+string(IB*10^3));
disp("Part (ii) : CB conigu... |
68167bd0b319d7dbb0a818267c8fb1e7e41ebd55 | af7016aa42265281905b02990846e90c82d24ef4 | /HW8/sentence.tst | 44b4e1d649b7caa467fb34efc93310a53fb18ed3 | [] | no_license | artlawson/CS-221-Homework | 8d6634f30c318c85d23643f05cc498d160b9fadd | 65f7cc1b2cd11eb1fde04cb31a07c44ac7bb9967 | refs/heads/master | 2020-04-28T03:00:06.743032 | 2019-05-10T02:47:04 | 2019-05-10T02:47:04 | 174,919,498 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 25 | tst | sentence.tst | This is a test sentence!
|
a5abfcf67ffa611f7a15ada22d796caceb2e3777 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH5/EX5.10/EX5_10.sce | 65bcd4cae5ce6305e172c7d845b9b34a7555dd80 | [] | 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 | 545 | sce | EX5_10.sce | //Example5.10 // To Determine the percent of change in the closed loop gain Af of feedback op-amp circuit
clc;
clear;
close;
A = 10^5 ; // open loop gain
Af = 50 ; // close loop gain
beta = 0.01999 ; // feedback transfer function
dA = 10^4 ; // the change in the open llop gain
// close loop gain
dAf = ... |
85022a4ba335e51d288679b44ad94d9076149ece | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH1/EX1.2/Example1_2.sce | 6d3ed6f453bc21fcd52211ff0e8bd821662c3394 | [] | 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 | 948 | sce | Example1_2.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 1: Electromechanical Fundamentals
// Example 1-2
clear; clc; close; // Clear the work space and console.
// Given data
l = 18; // l = length of the conductor in inches
B = 50000; // B = uniform m... |
a8995f4096b8d0fe7a60edd02ca93d66f8a66cd0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/lsf2poly/lsf2poly3.sce | 9f155f97123c2f4987c9d0c5cefeed565f05b701 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | lsf2poly3.sce | //check o/p when the i/p is a null matrix
x=[];
a=lsf2poly(x);
disp(a);
//output
//
// []
//In MATLAB when i/p matrix is null o/p is a null matrix too
|
39d78daed252eb19245696bc499bce150c7f6c23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH5/EX5.1/Ex5_1.sce | ae71ca2e4c94d083822a1896b8a696fbdd8dc4a1 | [] | 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 | 681 | sce | Ex5_1.sce | //Example 5.1
//Root locus of a Motor Position Control.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function and its root locus
s=poly(0,'s');
Ls=1/(s*(s+1));
//Title, labels and grid to the figure
exe... |
dea2684c31c6c2bc00825d9cf7ab174f7bdf2982 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH11/EX11.1/Ex11_1.sce | 0cb889a05e98d374630f5cbe0ef5189b035ab7ec | [] | 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 | 306 | sce | Ex11_1.sce | clc//
//
//
//Variable declaration
M=1.4; //magnetic field(T)
H=6.5*10^-4; //magnetic field(T)
//Calculation
chi=M/H;
mew_r=1+chi; //relative permeability of iron
//Result
printf("\n relative permeability of iron is %0.3f ",mew_r)
printf("\n answer given in the book is wrong")
|
29dda3f2a0713d3610ff592bce34dd1ecf5c1525 | be2d2a8f4f52eaee8321843e3982b31822f8eb00 | /lotka_kolterra.sce | badc8d798867c3156aad6751120559e5a27d9039 | [] | no_license | betacord/SK | dbe99f8e767a225fffac30935084d001a12facbb | 8ac1f424f85f595285db0f2f47f8a0fb3afa4033 | refs/heads/master | 2020-03-31T21:35:18.805098 | 2018-12-13T13:16:13 | 2018-12-13T13:16:13 | 152,585,930 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 695 | sce | lotka_kolterra.sce | //Lotka-Kolterra
//N1 - ofiary
//N2 - drapieznik
A = 2; //dzietnosc ofiar
B = 0.2; //skutecznosc polowania
C = 3; //smiertelnosc drapieznikow\
D = 0.05; //wspolczynnik konwersyji
N0 = [100;50]; //stan poczatkowy
t = [0:0.1:20]; //os czasu
function Ndot = lotka(t, N)
Ndot = [(A * N(1) - B*N(1) * N(2));
-C ... |
f1fc530ecacf82bdde50dc8a8685ed2d79e66e45 | bbf1ae079309eca11270422d3f0d259d1515d430 | /numerical-tours/matlab/toolbox_graph/read_off.sci | c557ea27e24ad654ef6650c4bd5d2c5c5a8e5b31 | [
"BSD-2-Clause"
] | permissive | ZichaoDi/Di_MATLABTool | 5e6a67b613c4bcf4d904ddc47c2744b4bcea4885 | c071291c63685c236f507b2cb893c0316ab6415c | refs/heads/master | 2021-08-11T07:28:34.286526 | 2021-08-04T18:26:46 | 2021-08-04T18:26:46 | 149,222,333 | 9 | 5 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 1,074 | sci | read_off.sci | function [vertex,face] = read_off(filename)
// read_off - read data from OFF file.
//
// [vertex,face] = read_off(filename);
//
// 'vertex' is a 'nb.vert x 3' array specifying the position of the vertices.
// 'face' is a 'nb.face x 3' array specifying the connectivity of the mesh.
//
// Copyright (c) ... |
8910e126b68b4ee0ab2ade0e636b6fc7fb535092 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH6/EX6.4/example_6_4.sce | 49b5188503aa68be4560cdb9adde7312403e852a | [] | 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,143 | sce | example_6_4.sce | //Chapter 6
//Example 6.4
//page 209
//To find bus voltages using GS iterations
clear;clc;
//Ybus matrix from the network
Ybus=[3-9*%i -2+6*%i -1+3*%i 0;
-2+6*%i 3.666-11*%i -0.666+2*%i -1+3*%i
-1+3*%i -0.666+2*%i 3.666-11*%i -2+6*%i
0 -1+3*%i -2+6*%i 3-9*%i]
////////////////////////////////////////... |
9efb024ae3cfa9b4871c0587081e52c2d2699215 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH1/EX1.2/Ex1_2.sce | 43a69bc7c5cf87e2d356e84e16cf36cfd49f3a23 | [] | 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 | Ex1_2.sce | // Given data:
clc
T1=40+273.0 // ambient temp in kelvin
T2=-10+273.0 // freezer temp in kelvin
Q2=2 // heat loss rate for freezer in kJ/s
Q1=T1*(Q2/T2) // heat transfer rate in kJ/s
W=Q1-Q2 // work in kW
printf("The least power required is %0.2f kW",W)
|
9fc340de516715db62d8c6ed14ea781e148f7283 | f493220e442f93d7e3a0234be149e0e740c2b149 | /tkochmann/doit02.tst | c7ebfffb70016553ef10c16d5e310f1163add19f | [] | no_license | TYMCOM-X/169268.tape | b8a0065e50e28dbaa1920f2cf47cef6247df0876 | 1d65c45ae9dbedbc348c7ee8e710c80a10d568a5 | refs/heads/master | 2023-03-16T10:01:47.105645 | 2021-03-11T19:39:37 | 2021-03-11T19:39:37 | 345,956,805 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | tst | doit02.tst | GO CRONLN
3 1 1986
DG0301.DTL
GO MS
3 1 1986
MS0301.DTL
GO 56
3 1 1986
560301.DTL
COPY 560301.DTL+FF+DG0301.DTL+FF+MS0301.DTL TO DY0301.DTL
DEL 560301.DTL,DG0301.DTL,MS0301.DTL
COPY SUM.DH+DY0301.SUM TO SUM
COPY DTL.H+DY0301.DTL TO DTL
SEND NTS
ATTENTION STEVE:
DODAY FOR SATURDAY 3/1/1986 HAS COM... |
74ef6d0e4c6ec6a74f83788f401a3e95a4a80daa | 276dd1422a7890d6657101fcc9cbccc4ae7e8ce4 | /tags/2010/branches/capstone/php/knights/legacytests/test8.tst | 998c9414db418961537d4357f0264bbc455e158a | [] | no_license | valdas/knit | 4a0adef8bfe426506e55ffcc3a297dfa4dc2e903 | ccbdf3c975061ba0875e881e2f94c8432d7a16cb | refs/heads/master | 2021-01-10T02:08:06.358327 | 2012-01-16T17:05:01 | 2012-01-16T17:05:01 | 43,171,119 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | tst | test8.tst | <?php
include ('knights.php');
$array=newBoard();
$array[1][0]=1;
$array[2][7]=2;
$array[5][5]=3;
$array[5][4]=4;
$array[4][0]=5;
$array[5][2]=6;
$array[2][3]=7;
$array[0][1]=8;
$array[3][4]=9;
$array[2][7]=0;
$array[6][5]=1;
$array[7][3]=2;
$array[4][0]=3;
$array[1][3]=4;
$array[2][2]=5;
$array[4][3]=6;
$array[5][1]=7... |
4a9b8e99a22dcee8304abdb54a8ec837ab61bc75 | afcf746e249b9463101019f07a47845355c6acc2 | /starter_files/hw5/a/ClockGen.tst | 85dc235c7029a094ceebdd99ac6011e7d5f7d2d2 | [] | no_license | jyuan2pace/CS506 | afca44ee8df14436d72de97e658a61841091e651 | fa80d2786f006c226c6e6413ee23fe306d6c57d0 | refs/heads/master | 2020-07-28T13:04:37.077116 | 2019-11-24T20:15:20 | 2019-11-24T20:15:20 | 209,419,478 | 8 | 11 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | tst | ClockGen.tst | load ClockGen.hdl,
output-file ClockGen.out,
compare-to ClockGen.cmp,
output-list time%S1.4.1 out%B2.1.2;
tick,
output;
tock,
output;
tick,
output;
tock,
output;
tick,
output;
tock,
output;
tick,
output;
tock,
output;
|
f0a9b8d767a607a4f72f2b0e437b7e0248a7e905 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/JV32ADW/ATWM1_Working_Memory_MEG_JV32ADW_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | a947755d313273093e36bf717b075f1dea85654e | [] | 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 | 48,617 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#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_monito... |
0c6fc282db5009dc663c958b4c587e8388fe9983 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH5/EX5.15/Ex5_15.sce | 9e4a8dfb961d640912ec91438109c876901cb2cc | [] | 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 | 390 | sce | Ex5_15.sce | //Example 5.15, Page number 5.32
clc;clear;close
// variable declaration
L=10 // in km
n1=1.55 //unitless
delta=0.026//unitless
C=3*10**5
// Calculations
delta_T=(L*n1*delta)/C //unitless
B_W=10/(2*delta_T) // Hz/km
// Result
printf("Total dispersion = %.1f ns",(delta_T/10**-9))
printf("\nBandwidth length product =... |
4d41d0ef2589c28fa148340c0d9727ec759454f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH7/EX7.11/Example711.sce | 15eb5cbeb406e3c762e79afa542cd654d760d333 | [] | 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,630 | sce | Example711.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 7, Example 11")
disp("The overall efficiency of turbine from nozzle inlet to diffuser outlet is given by")
disp("etatt = (T01 - T03)/(T... |
217c306dbb1429b88f0262bf7a21be33b1e0ad51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH20/EX20.8/20_8.sce | 7f7ca845c24b5b0fa8d6bd62c6fa057c957fb5bb | [] | 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 | 282 | sce | 20_8.sce | //ques-20.8
//Calculating binding energy per nucleon of Ca
clc
M=39.975;//atomic mass of Ca (in amu)
mp=1.0078;//mass of proton (in amu)
mn=1.0086;//mass of neutron (in amu)
dm=20*mp+20*mn-M;
BE=(dm*931)/40;
printf("The binding energy per nucleon for Ca is %.3f Mev.",BE);
|
79beebb0c0fc9dfe54556d3887730b3e818277d7 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_D._P._Kothari_And_I._J._Nagrath_503.zip/Electric_Machines_D._P._Kothari_And_I._J._Nagrath_503/CH12/EX12.2/ch12_2.sci | 3150d2a56c5b901718be240f7c5eac3fa0d1e609 | [] | 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 | 239 | sci | ch12_2.sci | errcatch(-1,"stop");mode(2);//calculate firing angle value
;
Po=15000;
Ro=1.5;
Va=sqrt(Po*Ro);
a=acosd((Va*2*%pi/(3*sqrt(6)*V))-1);disp(a,'firing angle(deg)');
Ia=Va/Ro;
Ith=Ia/3;disp(Ith,'avg current through diodes(A)');
exit();
|
008d9e763e0f3b3cc99c4543f8a2c059cd1482a6 | 0dc44fdf541348d55e7ca0015fd55fa31f767d3e | /bmesa/Time_Propagation/Prop_IT/INP/2_D/inp.tst | 77369ea189373fff915dcb50bd1226f5fa95cef7 | [] | no_license | liangjj/mesa_working | 628ad4ce1f7467d5c6121cc2f58c3c58c73f2b68 | 2c5a7fa3e80f73ce9232f17a394e33d21d7fa5bc | refs/heads/master | 2021-01-22T14:01:57.771232 | 2015-10-27T17:46:18 | 2015-10-27T17:46:18 | 63,992,703 | 0 | 1 | null | 2016-07-23T01:16:34 | 2016-07-23T01:16:33 | null | UTF-8 | Scilab | false | false | 2,302 | tst | inp.tst | $route
$end
$nonstd
11//04;
20//01;
$end
$title
time-propagation code
$end
$dvrprop_basis
number-of-space-variables=2 coordinate-system=spherical
space-variable-1=r_1 space-variable-2=r_2 use-atomic-units
kinetic-energy-type=packed
xplot get-eigenpairs xprint=all-details keep-diagonals plot_step=20
$... |
f6598073903b7c45a2457066d29aefa62be8f4d8 | a4bbc60bcc82ee6212825ce21fc9e4fa7b04e870 | /Bioinformatics_3k/3uzd/tests/4KJM.tst | 6b910cc7fe5aca754736e743814c98665541fb71 | [] | no_license | Luksys5/LT_programos | 3a7cabb6c5e8a23a856983c1938d2d492cddf916 | 959ab74029df334767fcad84adc46ae36cf7cdf1 | refs/heads/master | 2021-01-19T19:33:11.505596 | 2017-03-12T18:08:14 | 2017-03-12T18:08:14 | 16,478,166 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | tst | 4KJM.tst | #$Id: pdbboxes 232 2015-05-04 12:44:10Z Lukas_Tutkus $
37.093 45.16 86.955 inputs/4KJM.pdb
|
927dc0485c1b600eee2cbf5ac6aaa146536305cb | a8447bb190e75c3452a418bcdffbb356b7f3ec43 | /LTP RAP 3.0napls/vis LTP Instructions rev.sce | 44c87a06456d6dcbcbfbdd10c7e496c1f4bdc1b4 | [] | no_license | br-bieegl/napls3-erpTasks | d7014b2716bced6d1b70af760b8f0508f02724be | 5d3297776af95b2ba8981fe5ebbb8672831061a0 | refs/heads/master | 2021-01-22T09:58:19.920934 | 2015-02-18T21:10:10 | 2015-02-18T21:10:10 | 25,929,348 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,416 | sce | vis LTP Instructions rev.sce | scenario = "LTP vb/pb instructions revised for gray bar target";
scenario_type = trials;
# sets the default text font
default_font = "Arial";
default_font_size = 14;
default_text_color = 0,0,0; # sets text to black
# sets the background colour to gray
default_background_color = 128,128,128;
#center the text
defa... |
9eb9c0991742ce58abf8bd26470c371d90052d02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH15/EX9.15.12/Ex9_15_12.sce | 2acc3570bcc97eda9c4160346477aa80c330ce0d | [] | 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 | 164 | sce | Ex9_15_12.sce | //Section-9,Example-3,Page no.-E.13
//To calculate E0 cell for the given cell.
clc;
E0_cathode=0.77
E0_anode=0.76
E0=E0_anode+E0_cathode
disp(E0,'Emf of the cell')
|
bc2567e1fe03e4360e14d2bc21a256c9e03b70c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH4/EX4.12/example4_12.sce | 3448d753507285afcae959dc20621159bb7c72b3 | [] | 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 | 981 | sce | example4_12.sce | clc
clear
disp("example 4 12")
psm=100 //power of synchrounous motors
pim=200 //power of inducion motor
v=400 //voltage
pff=0.71;pp=-1//power factor
rsm=0.1 //resistance of synchrounous motor
rt=0.03 //resistance of cable
pf(1)=1;p(1)=1 //power factor in a
pf(2)=0.8;p(2)=1 //power factor in b
pf(3)=0.6;p(3)... |
64e9835602f0629840c1ac8a3f4bb592ab62948b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH7/EX7.6/Ex7_6.sce | 81933a1e4af0d8715b2fd5805c529cc0f423aab8 | [] | 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 | 785 | sce | Ex7_6.sce | clc;
clear;
Nd=3*10^15 //Doping level of n-type silicon in cm^-3
Nc=2.8*10^19 //in cm^-3
e=1.6*10^-19 //in J
phi_m=4.5 //work function for chromium in eV
epsilon_si=11.7 //in F/cm
epsilon_0=8.854*10^-14 //in F/cm
xsi=4.01 //electron affinity for Si in eV
Vbi=5 //reverse bias voltage in V
VR=0 //in V
//Calc... |
b10fa5ff4d6e4243eb609a90ad5fd6e9584f613e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH13/EX13.3/Ch13Ex3.sce | 83793392e38b46ffa0f1ad3ace5608daf1760b14 | [] | 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 | 504 | sce | Ch13Ex3.sce | // Scilab Code Ex13.3: Page-649 (2011)
clc;clear;
chi_e = 35.4e-12;....// Susceptability of the material, C-square/N-meter-square
eps_0 = 8.85e-12;....// Electric permittivity in free space, C-squre/N-meter-square
K = 1 + (chi_e/eps_0);
printf("\nThe dielectric constant = %d ",K);
eps = (eps_0*K);
printf("\nThe... |
b2fd75dfa64084b6ee6ce3a3b105f886688b2cb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH2/EX2.5/Example_2_5.sce | 9a36b5b97c151707506b3c643c79564c2f451e04 | [] | 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 | 427 | sce | Example_2_5.sce | //Example 2.5
clear;
clc;
//Given
n=2;//moles of glucose dissolved
v=1;//volume of glucose solution in dm^3
R=8.314;// gas constant in J K^-1 mol^-1
T=298;// temperature in K
c2=0.2;//concentration to which the solution was diluted in mol dm^-3
// To determine work done
c1=n/v;;// initial concentration of... |
9801a5ecfb7e90512be3b1651cd9be28f80b5035 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH9/EX9.23/example23.sce | a99939b0bb8f5eee98b24ff409134b557b5aaf55 | [] | 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 | example23.sce | //Chapter-9 example 23
//=============================================================================
clc;
clear;
//input data
F = 12*10^9;//operating frequency in Ghz
I = 2;//current in amperes
Rr = 300;//radiation resistance in ohms
//Calculations
Pr = I*I*Rr;
//output
mprintf('Radiated Power is... |
5b5628249ad38994079517bb82b11ab750f4899b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH5/EX5.13/Ex5_13.sce | 54cf483859378d27ecd31bf86075e683707790ed | [] | 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 | 899 | sce | Ex5_13.sce | clc
Pa=500*10^3
T1=300 //temperature in kelvin
T2=300
P1=100*10^3
Ta=(Pa*T1)/P1
mprintf("Ta=%fK\n",Ta)
Cv=20.93
Cp=29.302
ua=Ta*Cv
u1=T1*Cv
mprintf("ua-u1=%fkJ/mol\n",(ua-u1)/1000)//ans vary due to roundoff error
q1a=ua-u1
qa2=Cp*(T2-Ta)
q=qa2
mprintf("qa2=%fkJ/mol\n",qa2/1000)//ans vary due to roundoff ... |
87f59ac2331f2932b07a36a24df9fcdd29908584 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3622/CH8/EX8.2/Ex8_2.sce | bfab6a69f4d03a410f7b0848ecd8e1e2496e0945 | [] | 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 | 96 | sce | Ex8_2.sce | //Initialisation of variables
clc
ratio=1/cosd(30)-1
printf('minimum ratio is %f \n',ratio)
|
310bafa598205dcbadd8545d0dd91305869e7395 | cee0a584987e8f6eae19ed5deb199e1394820f95 | /labpart1/edsonjParameters.sce | 354ea44021c87885d25433fe8039a9ac7fcec93f | [] | no_license | izlervaldivia/Penduloinvertido | 55e11b16d0565e4c6e85ad5ce79814467afc4191 | 71745eeadf03ee63992a80eebf231d8b931c7035 | refs/heads/master | 2022-12-01T16:32:50.105285 | 2020-08-16T07:12:00 | 2020-08-16T07:12:00 | 287,870,940 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | edsonjParameters.sce | // edsonjParameters.sce is Edson-J USV parameters file
// This were obtained by Eduardo Rodiguez in 2019
m=0.017;
M=0.696;
l=0.3;
g=9.81;
|
e4823574cca60bd2ff8c529b22eba330c3a6c8a1 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r38/packages/tri/tri.tst | a01b35b1797e4e2e32e7516a8ce5d0e56a4260bb | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 2,475 | tst | tri.tst | % load tri;
global '(textest!*);
symbolic procedure texexa(code);
begin
prin2 "\TRIexa{"; prin2 textest!*;
if !*TeXindent then prin2 "}{TeXindent}{" else
if !*TeXbreak then prin2 "}{TeXBreak}{" else
if !*TeX then prin2 "TeX" else prin2 "}{---}{";
if !*TeXbreak then prin2 toleran... |
6717d65a1ffa2cbffa9a52dbb94f07ea04b8c598 | 47adabef6eb8924aff50314b05cfd89f90e19aec | /demos/cpp_find.dem.sce | 255518972231e3952a9806ddd001d533a1ab5a11 | [
"BSD-3-Clause"
] | permissive | sengupta/scilab-http | acf41286543dfadb62bfbf1fc74d19cd6ec65815 | 114ac7ab3a55e08399a82e8a1c084bc23cace3a3 | refs/heads/master | 2021-03-12T20:38:08.900774 | 2012-04-03T13:14:33 | 2012-04-03T13:14:33 | 3,886,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | cpp_find.dem.sce | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2008 - INRIA - Allan CORNET
// Copyright (C) 2010 - DIGITEO - Allan CORNET
//
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function demo_cpp_find()
mode(-1);
lines(0);
disp("cpp_find(''Sc... |
ea032a4a17a0d69bcdd92cdfd357348fab044538 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/FURIA-C/results/FURIA-C.tic-tac-toe-10-1tra/result0s0.tst | 96bfecb563fb63c3eb87b5eff400c6e0e1c01b07 | [] | 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,158 | tst | result0s0.tst | @relation tic-tac-toe
@attribute TopLeft{x,o,b}
@attribute TopMiddle{x,o,b}
@attribute TopRight{x,o,b}
@attribute MiddleLeft{x,o,b}
@attribute MiddleMiddle{o,b,x}
@attribute MiddleRight{o,b,x}
@attribute BottomLeft{x,o,b}
@attribute BottomMiddle{o,x,b}
@attribute BottomRight{o,x,b}
@attribute Class{positive,negative}
... |
67e2c59e47dcb1cc2b6727406a49189f4f3461a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH11/EX11.5/11_5.sce | 5927c474f8994479ede0a16ba4b430dc8a287049 | [] | 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 | 234 | sce | 11_5.sce | clear;
clc;
close;
disp("Example 11.5")
f=4
MW=(2*18+2*2)/4 //from equation
disp(f,"(a)The oxidizer-to-fuel mixture ratio :")
disp(MW,"(b)The molecular weight of the mixture of gases in the product of combustion in kg/kmol:") |
54556893b477c5d9704ffe9732cbd8ae76ded78d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH13/EX13.1/Ex13_1.sce | baabfff00bcd5e82ac283afbaa48e7061de9d1f0 | [] | 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,351 | sce | Ex13_1.sce |
clc
// Given that
m1 = 7500 // Mean molecular weight in g/mol
m2 = 12500 // Mean molecular weight in g/mol
m3 = 17500 // Mean molecular weight in g/mol
m4 = 22500 // Mean molecular weight in g/mol
m5 = 27500 // Mean molecular weight in g/mol
m6 = 32500 // Mean molecular weight in g/mol
m7 = 37500 // Mean mo... |
c4015d59cc900fbc2add59f625fc17f760d2f125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH16/EX16.56/Ex16_56.sce | 984789b74b9df6f823c66e3cc8dc2be4426bcd7c | [] | 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 | 284 | sce | Ex16_56.sce | //Initilization of variables
m=8 //kg
n=90 //rpm
g=9.8 //m/s^2
r=0.3 //m
//calculations
w=2*%pi*n/60 //rad/s
//Using equations of motion
C=(m*g*0.3+m*r*w^2*r)/1.2 //N
Bx=C-m*r*w^2 //N
By=m*g //N
//Result
clc
printf('The solution is Bx=%f N ,By=%f N and C=%f N',Bx,By,C)
|
0a3b78cb1073fe22bba2bcc0eb566b1d6ff8e940 | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH10/EX10.14/10_14.sce | efa884132f7ddb1dea706195f35c81addc3d45e1 | [] | 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 | 521 | sce | 10_14.sce | //propeller//
pathname=get_absolute_file_path('10.14.sce')
filename=pathname+filesep()+'10.14-data.sci'
exec(filename)
//Propeller Thrust(in MN) :
Ft=P/V
//Required power input to the propeller(in MW):
Pin=P/Eff
//Calculating value of D(in m):
nD=V/J
D=(Ft*10^6/p/(nD)^2/Cf)^0.5
//Operating speed (in rpm) is... |
d15ba11ff0b2cca5f94f8822efcf8ec0f208e9bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH19/EX19.29.4/Ex19_4.sce | 6e65a938021e87b6daa0e7625c9ec7d8c2307a75 | [] | 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 | Ex19_4.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 19 VLSI Technology and Circuits
clc
clear
f=2*10^9//f=clock frequency in Hz
VDD=3//VDD=drain supply voltage
Cl=1*10^-12//C1=load capacitance in Farad
P=50*10^-3//P=maximum power dissipation capability in W/stage
N=P/(f*Cl*VDD^2)//N=maximum permissible numb... |
6e2805ee2f8bdaadf5f07d2f2ac00fcad418f042 | 32fd83dc0c1ad67edb50e5f14e9e3636dc53f0a0 | /tests/locals.tst | 4d32a9b77fc25e6a1325564de9572e6bf1b497c8 | [] | no_license | scartill/semu | 37003faed6b49cff3a1e40c60f7bd7b0859347f9 | ad06509536ad25627d96168a7ede326c4e8a7a33 | refs/heads/master | 2022-07-22T13:01:38.645297 | 2022-07-09T05:44:25 | 2022-07-09T05:44:25 | 110,429,263 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27 | tst | locals.tst | SRC=locals/locals.sasm
CMP= |
f49bf5b801f6069539f5dfb2996deeb35baf296a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH2/EX2.15/ex2_15.sce | e44b9448173d9a05588672179aa2962c7a88d58a | [] | 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 | 169 | sce | ex2_15.sce | // Example 2.15, page no-38
clear
clc
h=2
k=2
l=0
a=4.938*10^-10
d=a/sqrt(h^2+k^2+l^2)
printf("\nThe lattice spacing for (220) plane is %.3f*10^-10 m",d*10^10)
|
04b918e27c8eb46ff7abb0e3e1d825f6f7e7d3da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH1/EX1.1/Ex1_1.sce | 1958fb9df51679ab3eb2feb72cd78102434eb859 | [] | 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 | 375 | sce | Ex1_1.sce |
clc;
// Example 1.1
printf('Example 1.1\n\n');
printf(' Page No. 08\n\n');
// Solution
// Given
m1= 40*10^3;// fuel oil in gallons per year
ga= 4.545*10^-3;// m^3
m= m1*ga;// fuel oil in m^3 per year
Cv1= 175*10^3;// Btu per gallons
Bt= .2321*10^6;// J per m^3
Cv= Cv1*Bt;// in J per year per m^3
q=m*Cv;// in J per ... |
4e4adebaddb19cab01f5228e1c6508f3236e9cbb | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/nonlinear/scilab/functions/wls/wls_nonlin_functions.sci | 7da4b0466a30b9c47bfe348a1506367108636e7e | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sci | wls_nonlin_functions.sci | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// aux functions to weighted least squares functions
function f = objfun ( x )
f = sum(((xm(red)-x(red)).^2)./var(red));
endfunction
///////////////... |
fe876ef2f2688df2c066db02161f535fb93c5038 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH4/EX4.3/4_3.sce | 96761746a038a0a2a884dc484d7c70b592ab271b | [] | 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 | 778 | sce | 4_3.sce | clc,clear
printf('Example 4.3\n\n')
P=30*10^3/3 //power per phase
V_ph=400/sqrt(3) //phase voltage
R=(V_ph)^2/P
//l and w are length and width respectively
rho= 101.6*10^-8 //resistivity
t=0.254*10^-3 //thickness of nickel-chrome strip
l_by_w = R*t/rho //ratio of l and w ... |
aa7849a6f1204ac35bf014941870484f685f24a4 | c90039f74887835096a93884110d643c4823e530 | /doc/oficial/dados para treinamento RNA/RNA_ANALISE_TECNICA/Indicador/Sinal/treinamentoRede_SINAL.sce | 5ce865507addde33b815c9bae2d202a8907626db | [] | no_license | igorlima/CellInvest | da991366b329b5d8021e9b949d7b726023489ec8 | c5411247e504b8a8d0ad77d32d41bbd2aee39930 | refs/heads/master | 2020-04-06T03:40:05.614164 | 2012-10-23T12:58:20 | 2012-10-23T12:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | treinamentoRede_SINAL.sce | clear;
path_treina_SINAL = get_absolute_file_path('treinamentoRede_SINAL.sce');
exec( path_treina_SINAL+"\..\..\_treinamento.sce" );
treinar( path_treina_SINAL, "SINAL" );
|
472270fc5acfeaa96df46699e7e6641fdeaff4c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH5/EX5.8/Ex5_8.sce | 83892357f18f44de3287aa203fc5e116da4b313e | [] | 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 | 110 | sce | Ex5_8.sce | clear
//given
o=0.14
h=0.86
O=120*o
H=120*h
O2=134.4+275.5
printf("\n \n Total O2 uniting with oil %.2f ",O2)
|
6755c9afc31d6240c5b6a5763eded1c6dc57cf99 | 2296819c4f7e5638f60abeb4527fb9595f1120de | /benkyo/control/feedback/ch4-2.sci | 06809c50ce2eba6dab362399e4c2ccc8198b3e1a | [] | no_license | yksym/yksym.github.io | e766b7f59cfb2199e1bfc396b8d6f0fd5e733091 | b5b3734441beb03b3dd473c9a0a743de82e4fbc1 | refs/heads/master | 2021-01-23T21:03:43.131136 | 2019-06-21T22:07:20 | 2019-12-30T14:26:30 | 52,853,983 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sci | ch4-2.sci | s=%s;
P=s^3 + 2 * s^2 + s
routh_t(1/P, poly(0,'k')) // s^3+2*s^2+s + k のラウス表 |
371acccc1ae2909d789eaff50730055f79f5372a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH4/EX4.1/Ex4_1.sce | 23490abd9508084e61ceeebd52640acd6306ddc8 | [] | 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 | 393 | sce | Ex4_1.sce | clear
//
//
//
//Variable declaration
T1=773; //temperature(K)
T2=1273; //temperature(K)
n=1*10^-10; //fraction of vacancy sites
//Calculations
X=(T1*log(n)/T2);
x=exp(X); //fraction of vacancy sites at 1000 C
//Result
printf("\n fraction of vacancy sites at 1000 C is %0.4f... |
c7efd6a92193e85c4bfd7551f4f0c1f5230889b4 | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH23/EX14.23.22/Ex14_23_22.sce | 32f3b36a60c41d0c3a3f696eaccebb864ceabb56 | [] | 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 | 177 | sce | Ex14_23_22.sce | //Section-14,Example-6,Page no.-PC.114
//To calculate the pH of 10^-8 M HCl solution.
clc;
k_w=10^-14
x=9.5*10^-8
C_1=10^-8+x
pH=-log10(C_1)
disp(pH,'pH of the given solution')
|
f17ce9de2aff9623b1c013fa09e4afe621345ad2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH15/EX15.1/Ex15_1.sce | 5056882012798fa1de3bc5588c7ed5807bba6486 | [] | 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 | Ex15_1.sce | //Chapter 15: Antennas for Special Applications
//Example 15-2.1
clc;
//Variable Initialization
frequency = 100e3 //Frequency (Hz)
height = 150 //Height of antenna(m)
RL = 2 //Loss resistance (ohm)
c = 3e8 //Speed of light (m/s)
//Calculations
wave_lt = c/frequency //Wavelength (m)
hp = heig... |
e4144ff4ca82143deaea88203f74fcda84517281 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/scicos/do_edit_pal.sci | 1f20754062ad2c193ea97dfbbb27496e719a5002 | [
"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 | 614 | sci | do_edit_pal.sci | function [newblocks,pals_changed]=do_edit_pal()
lastwin=curwin
curwin=get_new_window(windows)
xset('window',curwin)
xset('default')
windows=[windows;[-(size(palettes)+1) curwin]]
menu_e=['Help','Window','Palettes','Move','Copy','Align',..
'AddNew','Delete','Save','Undo','Replot','View',..
'Calc',... |
502f30e8d37bea54e63498a5d23077c0f45ebbe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH2/EX2.28/2_28.sci | ac0128faa0a78b12b5b6ff8eb4c3899519f4d5f3 | [] | 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 | 346 | sci | 2_28.sci | //calculating the actual value of current, measured value of current and percentage error
clc;
Eo=10-((10*1000)/(1000+1000));
Zo=((1000*1000)/(1000+1000))+500;
Io=Eo/Zo;
disp(Io,'Actual value of current (A)=')
Zl=100;
Il=Eo/(Zo+Zl);
disp(Il,'Measured value of current (A)=')
PE=((Il-Io)/Io)*100;
disp(PE,'Per... |
78ad79258d8ff87bbe8058930621503f17bb730e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH5/EX5.20/Ex5_20.sce | daf3343a7bac48d5e45b1525846afe386085474b | [] | 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,076 | sce | Ex5_20.sce | clear;
clc;
disp('Example 5.20');
// aim : To determine
// the mass of oxygen and heat transferred
// Given values
V1 = 300;// [L]
P1 = 3.1;// [MN/m^2]
T1 = 273+18;// [K]
P2 = 1.7;// [MN/m^2]
T2 = 273+15;// [K]
Gamma = 1.4; // heat capacity ratio
// density condition
P = .101325;// [MN/m^2]
... |
c7c330cfce73518d348a7d7079a73ff51af9f5d4 | 8016059350f017142cd5cdf2df5cabf94cf3c477 | /Digital Communication/fsk signal.sce | 71bbff31bf5cc56b3a9293f99046bb1a4102150d | [] | no_license | aftalam/5th-sem-labworks | 07062dc9824af810a7d7970c7907ab999fda7c52 | d3c858587369757ccbed96bc9b29e8a1fa709824 | refs/heads/master | 2022-11-11T23:58:51.147782 | 2020-07-05T18:13:59 | 2020-07-05T18:13:59 | 275,115,844 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | fsk signal.sce | //Implementation of Frequency Shift Keying (FSK) Signal
clc
clear all
fc1 = input('Enter High Carrier Frequency : ');
fc2 = input('Enter Low Carrier Frequency : ');
fp = input('Enter Number of Pulses : ');
t = 0:0.001:1;
c1 = sin(2*3.14*fc1*t);
c2 = sin(2*3.14*fc2*t);
m = (squarewave(2*3.14*fp*t)+1)*0.5;
for i = 0:100... |
436d95a3f76168be6d1fab119806ec0d29833e5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH36/EX36.11/36_11.sce | dc09d93f11742c12d21fa4a30c4ec92a155ef3eb | [] | 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,968 | sce | 36_11.sce | //Problem 36.11: A supply voltage v given by
// v = 25 + 100sinwt + 40sin(3wt + pi/6) + 20sin(5wt + pi/12) Volts
//where w = 10000 rad/s. The voltage is applied to a series circuit comprising a 5.0 ohm resistance and a 500 μH inductance. Determine (a) an expression to represent the current flowing in the circuit, (b... |
1ba14348ab14cfdc3d300e7e13297990299098e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.4/Example11_4.sce | 37411660007aa2e58fbd44c903ef4515e7dd9ec0 | [] | 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 | 214 | sce | Example11_4.sce | //Example 11.4
clc;
clear;
close;
format('v',7);
//Given data :
Cd=0.62;//constant
H=0.12;//meter
L=0.3;//meter
g=9.81;//constant
Q=2/3*Cd*sqrt(2*g)*L*H^(3/2);//m^3/s
disp(Q,"Discharge in m^3/sec : ");
|
ca4aa5981f5e7802ac6a103fd220f5c67f9097da | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH15/EX15.12/Ex15_12.sce | c28851cbc9f7c98208664afe7477d3b750b7a4de | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | Ex15_12.sce | //clear//
//Example 15.12:Inverse Lapalce Transform
//X(S) = 10s/((s+3)(s+1))
s =%s ;
syms t ;
[A]=pfss(10*s)/[(s+3)*(s+1)] //partial fraction of F(s)
F1 = ilaplace(A(1),s,t)
F2 = ilaplace(A(2),s,t)
F = F1+F2;
disp(F,"f(t)=")
//Result
// (10*s)/(s+3) *(s+1)
|
9bae56fcb2823335322eb72e41b63fb88588784a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH8/EX8.29/8_29.sce | 8bb9373773e9433e45c983d908f909b39ce18c19 | [] | 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 | 219 | sce | 8_29.sce | clc
//initialisation of variables
v2=6//lit
v1=2//lit
r=3/2
p1=1.01*10^5//n/m^2
//CALCULATIONS
g=(r+1)/r
p2=p1*(v2/v1)^g
w=(1/(g-1))*((p1*v2*10^-3)-(p2*v1*10^-3))
//results
printf(' \n work done= % 1f J',w)
|
7bc6be162b9552734406651699dd0752a71160b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH5/EX5.8.b/5_8_soln.sce | 33ac861e774ff3e0d0be11d98026ee4e595aff57 | [] | 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 | 796 | sce | 5_8_soln.sce | clc;
pathname=get_absolute_file_path('5_8_soln.sce')
filename=pathname+filesep()+'5_8_data.sci'
exec(filename)
// Solutions:
// Theoretical pump flow rate,
Qt=(Vd*N)/231; //gpm
// rounding off the above answer
Qt=fix(Qt)+(fix(floor((Qt-fix(Qt))*10))/10); //gpm
// Therefore,volumetric efficiency,
eta_v=(Qa/Qt);
// Now,... |
5851d8056cc4b4e160603e28d4bd545dedcea268 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.38/Ex6_38.sce | 002f2731d77ea49eb3510026c247dcd711ee684f | [] | 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 | 812 | sce | Ex6_38.sce | clear;
clc;
printf("\t\t\tProblem Number 6.38\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.38 (page no. 290)
// Solution
//data given
V=1000; //ft/s //the fluid velocity
gc=32.17; //Unit:(LBm*ft)/(LBf*s^2) //gc is constant of proportionality
J=778; //conversion factor
h=1204.4; //Btu/lbm //enthalpy of... |
3a046f571b63aa056d55252f238afd1afee96a30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH13/EX13.17/ch13_17.sce | ad52a7bb61970a983812923d353d60ec9f0d880d | [] | 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,433 | sce | ch13_17.sce | //To determine the line voltages and currents in per unit on delta side of the transformer
clear
clc;
vab=2000;
vbc=2800;
vca=2500;
vb=2500;// base voltage (V)
Vab=vab/vb;// per unit voltages
Vbc=vbc/vb;
Vca=vca/vb;
a=acosd(((1.12^2)-((.8^2)+1))/(2*.8));
b=acosd(((.8^2)-((1.12^2)+1))/(2*1.12));
Vlab=Vab*(c... |
6b74475a370ce384b52ef9b9511098e9e5249a0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH6/EX6.3/6_3.sce | 0ca073cc86c323d94150551797dc96198bf75c92 | [] | 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 | 235 | sce | 6_3.sce | //ques-6.3
//Calculating emf of a concentration cell
clc
C1=0.01; C2=0.1;//concentration of Zn(2+) ions (in M)
n=2;//number of electrons
E=(0.0592/n)*log10(C2/C1);
printf("The emf of the given concentration cell is %.4f V.",E);
|
6070fcef0334b4a28df45da07e527a97a8ed0d1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH5/EX5.8/ex5_8.sce | 00602fd7e757645ddf49f290c00dddb919499dde | [] | 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 | 437 | sce | ex5_8.sce | // Exa 5.8
clc;
clear;
close;
// Given data
D = 15;
L = 25;
V_s = (%pi/4) * (D)^2 * L;// in cm^3
V_c = 400;// in cm^3
V = V_s+V_c;// in cm^3
r = V/V_c;
Rho = (V_c +( V_s*(5/100) ))/V_c;
Gamma = 1.4;
Eta = 1-((1/r)^(Gamma-1)) * ( (((Rho)^(Gamma))-1)/(Gamma*(Rho-1)) );
Eta = Eta * 100;// in %
disp(Eta,"Eff... |
8b02191d555ddb0e750c29b5a3395f159a2e3898 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH8/EX8.20/Ex8_20.sce | 86efd46ffdb87524df4eafbfbe552d0fa3edd5ce | [] | 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 | 827 | sce | Ex8_20.sce | // Problem 8.20,Page no.219
clc;clear;
close;
alpha=30 //degree
E=200*10**9 //Pa
G=80*10**9 //pa
//Calculations
//For alpha=30 //Degree
//dell=64*W*R**3*n*sec(alpha)*(d**4)**-1*(cos(alpha)**2*G**-1+2*sin(alpha)**2*E**-1)
//Now substituting values in above equation we get
//dell_1=64*W*R**3*n*(d**4)**-1*1330*(10*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.