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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c993a6ab709b80db8074402a51105fbb2ae30b97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH9/EX9.4/EX9_4.sce | 03cbf6291447c786a055b40888000df6c914cd44 | [] | 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,246 | sce | EX9_4.sce | // Example 9.4
// Determine (a) Operating frequency (b) Load carried by each machine
// Page 359
clc;
clear;
close;
// Given data
GSR=0.0243; // Governor speed regulation
Frated=60; // Rated frequency
deltaPa=500; // Change in load for alternator A
Prateda=500; ... |
4c1b45cfd7d5fedc07502f95145b060e64d58df8 | f5bb8d58446077a551e4d9a6461a55255db523fe | /sistemas_lineares/exemplo5.sce | 7053a49552127c8399eed3ee568f5ef11f1c680b | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | exemplo5.sce | // sistema nao diagonalmente dominante
A = [2, -1, 6; 9, -2, 1; 1, -5, -2]
b = [3;2;-4]
// disp(gaussjacob(A, b, [0;0;0], 0.0001))
// Troque as linhas !--error 10000
// A matriz não é diagonalmente dominante
A2 = [4, -2, 1; 1, -5, -2; 2, -1, 6]
b2 = [2;-4;3]
disp(gaussjacob(A2, b2, [0;0;0], 0.0001))
|
3608ef83d5fb319183180eb897c4d72487b9dc23 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/scicos/standard_document.sci | 7d904c5d1baa2e412aa6b9fd177ff6fb0175bcfb | [
"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 | 5,318 | sci | standard_document.sci | function texte = standard_document(objet, k)
//
// standard_document - documentation d'un bloc Scicos
//
// Copyright INRIA
MODELE=3
GRAPHIQUE=2
MACRO=5
FONCTION=1
DEPENDANCE=12
TYPE=10
IDENTIFICATION=15
#ENTREES=2
$ENTREES=5
#SORTIES=3
$SORTIES=6
#ENTREES_EVT=4
#SORTIES_EVT=5
$ENTREES_EVT=7
$SORTIES_EVT=8
//liens
IDEN... |
ed7a05c1383119dd172b5b468230a9e38465d885 | be96e52def8294f354d9eb84ba5fd00c3306a984 | /Templates/NativeEntitySetService.tst | b3ac9f37b3c579f5ed8b7ca750a8677046b92b3b | [
"MIT"
] | permissive | FuryTechs/FuryTech.OdataTypescriptServiceGenerator | e6177564000a74e38e34bf82bd311a8d075b2a33 | 234c226ebe8a2faeb4f4661d2acca7bbeeb54e95 | refs/heads/master | 2023-04-28T06:05:05.934471 | 2023-04-18T05:34:27 | 2023-04-18T05:34:27 | 76,648,222 | 18 | 11 | MIT | 2023-04-18T05:34:28 | 2016-12-16T11:22:28 | TypeScript | UTF-8 | Scilab | false | false | 296 | tst | NativeEntitySetService.tst | // created by FuryTech.ODataTypeScriptGenerator
$imports$
import { NativeOdataServiceBase } from '../NativeOdataServiceBase';
export class $Name$ extends NativeOdataServiceBase<$entityTypeName$> {
$customActions$$customFunctions$
constructor() {
super('$entitySetUrl$');
}
}
|
12a68ed0eb0eb647f41f01f1b6dbe623167fc5f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH4/EX4.14/ch_4_eg_14.sce | 2bf4b4c74b5b7edd3259d12335126caf00c10216 | [] | 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,531 | sce | ch_4_eg_14.sce | clc
//given rxn A+B--k1-->C
// B+C--k2-->D
k1=1, k2=1 //given rate constants
disp("the solution of eg 4.14 -->Batch Reactors")
function dA_by_dt=f1a(t,A,B,C,D),
dA_by_dt=-A*B,
endfunction
function dB_by_dt=f2a(t,A,B,C,D),
dB_by_dt=-A*B-B*C,
endfunction
function dC_by_... |
d0c1d7a2dc211e3226bdcc1ad7748f37388c30bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH4/EX4.11/Ex4_11.sce | 67a05560e50b088a72c3396106f62a67657b1408 | [] | 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 | Ex4_11.sce | // Example 4_11
clc;funcprot(0);
// Given data
W_actual=150;// hp
W_reversible=233;// hp
m_in=1.10;// lbm/min
E=20.0*10^3;// Btu/lbm
// Solution
W_in=(E*m_in*60)/2545;// hp
// (a)
n_c=(W_actual/W_in)*100;// The energy conversion efficiency of the engine in %
// (b)
n_W=(W_actual/W_reversible)*100;// The w... |
9269224527db84f4c2640b3e73dd218375d8b381 | c61d570c37971fa455028a89d2163f455f91c291 | /script_fisico/regrid.sci | c246b82799f8dd484c665809844a4063238f9248 | [] | no_license | OgliariNatan/-ScientificComputing | a0af891f900f3f146a9751fd169f96052bd4ba83 | 070ea9d70430ef0c9e7944f491426b73af7c12b0 | refs/heads/master | 2020-04-04T23:13:12.585946 | 2017-07-03T21:46:18 | 2017-07-03T21:46:18 | 81,988,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 899 | sci | regrid.sci | function [fun,a0,a1] = regrid(x,y)
// [fun,a0,a1] -> variaveis de saída
// -> fun é a função linearizada
// -> a0 é o coeficiente Linear
// -> a1 é o coeficiente angular
// fun = a0 +a1*x
// (x,y) -> variaveis de entrada
// -> x - dados da variavel independente
// -> y - dados da variavel depend... |
6c029319972a78f9b40f9cfde0c5cfde3d3916ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH9/EX9.5/Ex9_5.sce | ed97e4289398436c2598ea4584aaeec0e8c7dbb1 | [] | 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 | 609 | sce | Ex9_5.sce | //Example number 9.5, Page number 204
clc;clear;
close;
//Variable declaration
w=72.6; //atomic weight
e=1.6*10**-19; //charge(c)
mew_e=0.4; //electron mobility(m**2/Vs)
mew_h=0.2; //hole mobility(m**2/Vs)
T=300; //temperature(K)
x=4.83*10**21;
Eg=0.7; //band gap(eV)
y=0.052;
//Cal... |
ebcbed729cae2e87deeb6628ccb09cde70a5b797 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH7/EX7.5/example7_5.sce | d41d6f92c3a279ef293b2b9cadeeb236540c44c3 | [] | 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 | 744 | sce | example7_5.sce | //Chapter 7
//Example 7_5
//Page 149
clear;clc;
l=50;
mva=5;
pf=0.8;
kv=33;
n=0.9;
sr=2.85*1e-8;
p=mva*1e6*pf;
w=0.1*p;
//Single phase 2-wire system
i1=mva*1e6/kv/1000;
area1=2*sr*i1^2*l*1000/w;
vol1=2*area1*l*1000;
//3-phase 3-wire system
i2=mva*1e6/sqrt(3)/kv/1000;
area2=3*i2^2*sr*l*1000/w;
vol2=3*area2*l*1000;
... |
4f5825ef8bb86a6ef887f256a5a4e3ed2503d592 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH2/EX2.8/28.sce | d969dfd2d9f61a887e9022ecd62e5b278590542d | [] | 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 | 158 | sce | 28.sce | // problem 2.8
h1=0.05
h2=0.015
s=41/40
l=h1/(s-1)
w1=25
// applying bakance in vertical direction
w=w1*(l+h1)/(h2)
disp(w,"weight of ship in in N")
|
e836f2460c08b883f56c8d9329db94c00429e807 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH1/EX1.19/Ex1_19.sce | 1d9f99fea2d1889883cfc6f146631111803b278a | [] | 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 | 336 | sce | Ex1_19.sce | //Ex1.19
clc
micro_n = 1300 //eletron mobility
rho_n = 2 //resistivity
e = 1.6*10^-19 //electron charge
disp("micro_n ="+string(micro_n)+" cm.sq/V-s")
disp("rho_n = "+string(rho_n)+"ohm-cm")
disp("e"+string(e)+"C")
disp("nn = 1/(e*micro_n*rho_n) = "+string(1/(e*micro_n*rho_n))+" e/cm.cube") //number of pentaval... |
97be4fcd3d69b0b802ce2f4c58345acf8326d555 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH5/EX5.17/EX17.sce | 33ec5c408d817ddb9ebc48a1a506f6e329112bb9 | [] | 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 | 408 | sce | EX17.sce | // Example 5.17: (i) IC1 and IC2
// (ii) RC so that Vo = 6 V
clc, clear
bta=200;
// From Fig. 5.31
disp("Part (i)");
I_ref=(12-0.7)/15; // in amperes
I1=0.7/2.8; // in amperes
IC=(I_ref-I1)*bta/(bta+2); // in mili-amperes
disp(IC,"IC1 (mA) =");
disp(IC,"IC2 (mA) =");
disp("Part (ii)");
Vo=6... |
3441f3e6de47260100363476b5f853476c4b9843 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH6/EX6.4/Example6_4.sce | 72b982f6c6c50674fcfaaf1c138de1056c384f95 | [] | 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,708 | sce | Example6_4.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 6 : DIRECT-CURRENT POWER TRANSMISSION
// EXAMPLE : 6.4 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
E_LN = 53.418803 ; // Wye-side kV rating . From ... |
a8f7e2d4d6f23b7b33a9d3ef9eff7d64e4dfaf3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH1/EX0.12/EXI_12.sce | 656a48c39ad08c16b708dc8f133b8388ce87efc3 | [] | 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 | 343 | sce | EXI_12.sce | // Grob's Basic Electronics 11e
// Chapter No. I
// Example No. I_12
clc; clear;
// Divide 5.0*10^7 by 2.0*10^4. Express the final answer in scientific notation.
// Given data
A = 5.0*10^7; // Variable 1
B = 2.0*10^4; // Variable 2
C = A/B;
disp (C,'The division of 5.0*10^7 by 2.0*10^4 is')
... |
80051201ec45fa9f09f85c7b9575cb288a2bcd7b | 60acf54211c534dae12601541518c7f3692c9899 | /Linux/scripts/hs.search.chown.sce | 3acecadba78bc8767b93d2f322e0a672d3f54378 | [
"MIT"
] | permissive | webappcreations/dotLinux | 67159a42510e60d18f059f7c9ac955eee1c3e4f2 | aac20d0ed2ff28b2701febbe49a0152cb94f50da | refs/heads/master | 2021-05-09T10:35:02.938723 | 2018-03-19T16:14:37 | 2018-03-19T16:14:37 | 118,967,881 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,705 | sce | hs.search.chown.sce | 420 chown -hR goalador /u
421 chown -hR goalador /u edit.phtml
422 sudo chown -hR goalador /u edit.phtml
423 sudo chown -hR goalador root edit.phtml
424 sudo chown -hR goalador root
425 sudo chown -hR goalador .
426 sudo chown -hR goalador:goalador .
434 man chown
420 chown -hR goalador /u
... |
19be4f4c02c975bcf93b13e5e131e86aab0b3bd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH3/EX3.13/Ex3_13.sce | 4cad1b6cff8a265cfac0bdfb2d5a38f98beaf6b3 | [] | 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 | 787 | sce | Ex3_13.sce | //Chapter-3,Example 3_13,Page 3-23
clc()
//Given Data:
n1=1.5 //R.I. of core
delta=0.0005 //Fractional index difference
//Calculations:
//(a):
//Delta=(u1-u2)/u1
n2=n1-(n1*delta) //R.I. of cladding
printf('(a)Refractive Index of cladding of fibre is =%.2f \n \n',n2)
//(b):
p... |
7e027671554a3c2970593fc2839a1c942fd5b258 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH7/EX7.19/Ex7_19.sce | c86e7272e3ca6383043df99baa104076d85b0830 | [] | 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 | 261 | sce | Ex7_19.sce | //Ex:7.19
clc;
clear;
close;
L1=1.5;// length in km
L2=2/1000;// length in km
Pi=50.1*10^-6;// optical power in W
Po=385.4*10^-6;// output power in W
a=(10/(L1-L2))*log(Po/Pi)/log(10);// attenuation per km
printf("The attenuation per km =%f dB/km", a); |
a03a434793c95ac0c52d8acb59ff6433c6310b8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH10/EX10.8/10_8.sce | af1a4405d8569a25bcefb9c42942a0fa5d8a3c51 | [] | 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 | 283 | sce | 10_8.sce | clc
//initialisation of variables
R= 8.31 //J/mol K
T= 25 //C
F= 96500 //coloums
c= 0.08 //molar
c1= 0.04 //molar
//CALCULATIONS
E= R*(T+273)*log(c/c1)/(2*F)
E1= 2*E
//RESULTS
printf (' potential of the cell = %.4f v',E)
printf (' \n potential of the cell = %.4f v',E1)
|
89ed6538e8f3576a84990dd204c19ac6da4d6ada | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.19/ex_2_19.sce | 9c6e8d13b84443770dab7e4bfb07ce1518f62f46 | [] | 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 | 359 | sce | ex_2_19.sce | //Example 2.19://error
clc;
clear;
close;
n=40;//revolutions
rc=0.12;//registration constant
err=n/rc;//energy recorded in kWh is
e2=22000;//volts
e1=110;//volts
i2=500;//amperes
i1=5;//amperes
i=5.25;//amperes
lv=110;//volts
pf=1;//
t=61;//seconds
ae=((sqrt(3)*e2*lv*i*i2*pf*t)/(e1*i1*3600))*10^-3;//kWh
e=((err-ae)/ae)... |
9b6caa433c7d3c517889d1e3d164de8896d90441 | c28130b62911f5891f14826350089c73c907d3b5 | /exo7_slaplacien.sci | b3d3e6c20a22c22496b7482802f3e7f91807fbd9 | [
"MIT"
] | permissive | zyron92/Simulation_of_Cardiac_Excitation | f1709d032613f49427a72716b4e258c3b578b739 | 66813dc24128d9cb171e77d4f780b6bf54011d15 | refs/heads/master | 2021-01-19T10:25:43.810588 | 2017-02-16T12:58:38 | 2017-02-16T12:58:38 | 82,180,177 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,381 | sci | exo7_slaplacien.sci | function[res]=slaplacien(D,n)
if n>1 then
h=1/(n-1)
//Définir T1 & Tn sous forme de matrice creuse
T1=sparse(-3*eye(n,n)+diag(ones(n-1,1),1)+diag(ones(n-1,1),-1))
T1(1,1)=T1(1,1)+1
T1(n,n)=T1(n,n)+1
T1=(1/(h*h))*T1
//Définir Tk sous forme de matrice creuse
Tk=sparse(-4*eye(... |
34bba43cfc1ac05bad2f287175d2f12f7a698f1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH12/EX12.10/Ex12_10.sce | fe7aaffde87679c9baa1f5149dc654b8f914f48c | [] | 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 | 421 | sce | Ex12_10.sce |
//Variable Declaration
f=14 //Frequency(GHz)
Ps=-120 //Flux density required to saturate the transponder(dBW/m2)
LOSSES=2 //Propogation Losses(dB)
FSL=207 //Free-space loss(dB)
//Calculation
A0=-21.45-20*log10(f) //Effective antenna aperture(dB)
EIRP=Ps+A0+LOSSES+FSL //Equivalent isotropically ra... |
7c294878953e8f68eeb6ce87da76349d086ea79c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH7/EX30.1/30_1.sce | f0ade6f7b2f9bfbdddb199b595472b8b6c1df83c | [] | 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 | 197 | sce | 30_1.sce | clc
//initialisation of variables
s=1000//mm
l=800//mm
f=0.2//mm
r=f*l//mm
//CALCULATIONS
T=s/r//min
//RESULTS
printf('the cutter to pass down the entire length of the shaft=% f min',T)
|
442a56ee26a13681a16f6e07ae21b43a94177cf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH4/EX4.15/Ex4_15.sce | 94c3e359672c9ea00e3575a9da0deed7f6b91652 | [] | 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,535 | sce | Ex4_15.sce | // Problem no 4.4.15,Page No.105
clc;clear;
close;
L=8 //m //Length of beam
L_AD=4 //m //Length of AD
w=300 //KN //u.d.l
//Calculations
//Let R_A and R_C be the reactions at A and C
//R_A+R_C=300
//Taking moment at A
//LEt x be the distance from Pt B L_CB=x
//R_C*(L-L_CB)=300*L*2**-1
//R_C=1200*(8-x)**-1
//After su... |
31defd0e875c43cefa6bfa798aec6a3d755100bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH3/EX3.16.2/Example3_16b.sce | 4151748f27583b9d9d14fb7aea5cc8b83571f502 | [] | 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 | 541 | sce | Example3_16b.sce | clc
//Given that
R = 1.097 // Rydberg’s constant
n1 = 1 // transition state no
n2 = 3 // transition state no
//Sample Problem 16b page No. 142
printf("\n\n\n # Problem 16b # \n")
printf("\n Standard formula Used \n For Lyman series 1/lambda = R*((1/2)^2 -(1/n)^2)")
nu1 = R * (n2^2 - n1^2) / (n1^2 * n2^2) //cal... |
563df1ca6b016ffe98b55b71b261d2365340e0d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.9/ex2_9.sce | 16804bbcbc9ed8218a415ca2070fe3682beae436 | [] | 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 | 432 | sce | ex2_9.sce | // Exa 2.9
clc;
clear;
close;
format('v',5)
// Given data
R1 = 6;// in ohm
R2 = 4;// in ohm
R3 = 3;// in ohm
R_L = 6;// in ohm
V1 = 6;// in V
V2 = 15;// in V
// V1 - R1*I - R3*I -V2 = 0
I= (V1-V2)/(R1+R3);
// Vth - R3*I -V2 = 0;
Vth =V2+R3*I;// in V
Rth = ((R1*R3)/(R1+R3)) + R2;// in ohm
// current thr... |
9116f4d9c1c609dd1a07750860d4e52b66526403 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH10/EX10.19/example10_19.sce | f6691c06d5a4374fa2ea244663e5ae82daf34ffb | [] | 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 | 506 | sce | example10_19.sce | //clc()
NA = 100;//mol ( basi - 100 mol A in the fresh feed )
Pconv = 95;//%
NApro = NA * (100 - Pconv)/100;
//A = 2B + C
NB = NA * Pconv * 2 / 100;
NC = NA * Pconv/100;
PAent = 0.5;//%
NAent = NApro * 100 / PAent;
PBrec = 1;//%
NBent = NB * 100 / (100 - PBrec);
m = (NAent - NApro + NA);
conv = ((NAent - N... |
86e8d5e9c88e99ea8fb5ad628df4f9ecc39101ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH5/EX5.10/10.sce | 43d304609602f42864cee18170b2ea766bfc9a49 | [] | 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 | 374 | sce | 10.sce | clc;funcprot(0);//Example 5.10
//Initializing the variables
rho = 1000; // Density of water
Q = 10; //Acceleration of fluid
r2 = 1.6;
r1 = 1.2;
V1 = 2.3;
V2 = 0.2;
rot = 240;
//Calculations
Tf = rho*Q*(V2*r2 - V1*r1);
T = -Tf;
n = rot / 60;
P = 2*%pi*n*T;
disp(T, "Torque exerted (N- m):... |
7db95ea0cdc7125b7455b2788f03dfd19eeec2cd | afcf746e249b9463101019f07a47845355c6acc2 | /starter_files/hw2/Eq.tst | 1fc0d7588aae1b181e18a0e052632819984723d5 | [] | 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 | 252 | tst | Eq.tst |
load Eq.hdl,
output-file Eq.out,
compare-to Eq.cmp,
output-list a%B3.1.3 b%B3.1.3 out%B3.1.3;
set a 0,
set b 0,
eval,
output;
set a 0,
set b 1,
eval,
output;
set a 1,
set b 0,
eval,
output;
set a 1,
set b 1,
eval,
output;
|
6e268f008c0b7be1a90ab41c06e07b3faa99bb55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH5/EX5.2/Ch05Ex2.sci | 19c64663507f1497915e0158c641027f3e666481 | [] | 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 | 834 | sci | Ch05Ex2.sci | // Scilab Code Ex5.2 Vacancy formation in copper Page-159 (2010)
E = 1; // Energy of formation of vacancy in copper, electron-volt
T = 1356; // Melting point of copper, K
k = 8.614D-5; // Boltzmann constant, electron-volt
N = 6.023D23; // Avogadro's number
// Now fraction of vacancies = f_vacancy = n/N... |
ee3e2bcbba90d44983a77d79369220d93b91e899 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH8/EX8.11/Ex8_11.sce | 842b5fa6c06cdc09ff1cf5a04406cdd1f8cabc09 | [] | 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,440 | sce | Ex8_11.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 8.11
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given - Case(i)
Lambda0=1e-6;//Wavelength in m
n=1.45;//Dimensionless Refractive index of the fiber
p=0.286;//Dimensionless Photoelastic coefficient of the f... |
d19d0f1eae428329dbdc3c3a2bef0568164454a7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/m2sci/sci_isspace.sci | ab948ad1cb9933bbbf2efc2446a60441133f7898 | [
"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 | 110 | sci | sci_isspace.sci | function [stk,txt,top]=sci_isspace()
txt=[]
stk=list('abs(str2code('+stk(top)(1)+')'')==40','3','1','?','1')
|
ff5eda41a7f98d45bf75618eb86b62309e9e7eda | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH32/EX32.3/32_3.sce | c54c2f673f51a0e7358d9c5e59a5a606d0ba3fee | [] | 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 | 505 | sce | 32_3.sce | clear//
//Variables
R1 = 2.0 * 10**3 //Resistance (in ohm)
R2 = 20.0 * 10**3 //Resistance (in ohm)
C1 = 0.01 * 10**-6 //Capacitance (in Farad)
C2 = 0.05 * 10**-6 //Capacitance (in Farad)
//Calculation
T = 0.69*(R1*C1 + R2*C2) //Time periode of oscillation (in seconds)
f = 1/T ... |
61b3f62cd64e98ebb4ff561e8a6003ffb25e1300 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH13/EX13.1/Ex13_1.sce | ef715e1877503fc0d6a9ced062f811b47742f6b0 | [] | 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 | 140 | sce | Ex13_1.sce | clc;
Vgs=-6:1:4;
Vgsoff=-6;
Idss=0.001;
Id=Idss*(1-(Vgs/Vgsoff)).^2;
plot(Vgs,Id*1000,'r')
xgrid
xlabel('Vgs(V)')
ylabel('Id(mA)')
|
9b2cf2d419edc6e221525bff7cb581cc4531151c | 57a39df08383d18148a77915551223cef3bc8cd6 | /convolutin_of_ct_signals.sci | f4b795839f6e8310b36113017e408f0d0b41a2be | [] | no_license | sonusharma55/Misc.-MATLAB-Scilab | 0abbc7ab22e963b3b3e147a18e17af2f3021d3ce | dbfaab1b84719948ef665798c4192e6ca934e46a | refs/heads/master | 2020-07-25T22:00:11.975476 | 2019-09-14T12:31:37 | 2019-09-14T12:31:37 | 208,434,501 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,052 | sci | convolutin_of_ct_signals.sci |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//""""Study of Convolution of two continuous time domain signals...
//...x1(t)=1 for t>=1 and t<=10...
//...x2(t)=1 for t>=2 and t<=10""""
clc;
t = 0:0.1:15;//Defining the length of time ''t''
l = max(size(t));//Finding t... |
aa6a1d358f5daf5d143d4a0b4b2349e2dbe9994e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH6/EX6.5/Ex6_5.sce | a6769ca8fa1ccbe5020b016dd14dd163fa3c1405 | [] | 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,202 | sce | Ex6_5.sce | clc
clear
// solution
//initialization of variables
P2=2*1000 //higher pressure converted in in kPa
P1=10 // lower pressure in kPa
h1=192 // enthalpy at 10 kPa in kJ/kg
h3=3248 // enthalpy @ state 3 in kJ/kg from table C.3
s3=7.128 // entropy @ state 3 in kJ/kg.K from table C.3
s4=s3 // isentropic process
... |
b73daf270b4fc5e18f460b7aa9a4658de92bc647 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.7/Exa_2_7.sce | b3cb5c73c6ff0c5091c46fdec59bd9758d515179 | [] | 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 | 753 | sce | Exa_2_7.sce | //Exa 2.7
clc;
clear;
close;
format('v',7);
//Given Data
SigmaW=30;//KJ
n=10;//cycles/min
Q1_2=50;//KJ
//Q2_3=0;//KJ
//Q3_1=0;//KJ
//W1_2=0;//KJ
W2_3=30;//KJ
//W3_1=0;//KJ
deltaU1_2=20;//KJ
deltaU2_3=-10;//KJ
//deltaU3_1=0;//KJ
//Q-W=deltaU
//For Proess 1-2 :
W1_2=Q1_2-deltaU1_2;//KJ
disp(W1_2,"W... |
80422b25529f0fbfae9be9e0e420dcaeb929dae2 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/yulewalker.sci | 40fcadb174d370a5c0cca918d4cc5ef4bf3b0c93 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sci | yulewalker.sci | function [A,V]= yulewalker(C)
// Fit an AR (p)-model with Yule-Walker estimates given a vector C of autocovariances '[gamma_0, ..., gamma_p]'.
//Calling Sequence
//A = yulewalker(C)
//[A,V]= yulewalker(C)
//Parameters
//C: Autocovariances
//Description
//Fit an AR (p)-model with Yule-Walker estimates given a vector... |
02601005c8330e42be87e8bd609ab3a5780ae7ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH6/EX6.2/Ex6_2.sce | 1e1c84460c9fbb55856147998000a5be71bbe8ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | Ex6_2.sce | //Example 6_2
clc();
clear;
//To calculate the Electric field of a bulb
w=10 //units in W
i=(100*w)/(4*%pi*10^2) //Units in W/mts^2
c=3*10^8 //units in mts/sec
u=4*10^-7 //units in SI
n=1
E0=sqrt((i*2*c*u)/n) //units in V/mts
printf("The electric field of the bulb is E0=%.2f V/mts",E0... |
b7315f322953531bcffe114bc9261dcd80c04475 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_co_aspfin_d/~BivLCM-SR-bfas_co_aspfin_d-PLin-VLin.tst | 5c43f6f7293dd50443cfa1d47622e04ba18a0456 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_co_aspfin_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.288848D+00
... |
742f8c15c5c109a382155d38e01e3fc1500e427a | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/final/qscatter/u.sce | 7b4d9b6252885c7747b7c97fa9a93656274a43c3 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | u.sce | //u
function [u]=u(l,r)
alpha=6.12;
e=3;
C=sqrt(e*alpha/25)
u=exp( (-1)*C*r^(-5));
endfunction
|
6e0ef4a422292b2af785d167686b9b7f0eeaa6a9 | bd4a88a5c028a801cbf0e414d2630de1c1e35449 | /scilab/Classification.sci | 45a22a7faa4767e9d2ca66a113c144ec237a275e | [] | no_license | edielsonpf/turning-signal-analysis | 625783cea26b029c87925f96af4ac14aa38c8ae8 | 2fd594e79395caa72f5cebc378878367ff0e7f01 | refs/heads/master | 2021-03-13T00:01:23.673430 | 2018-12-24T14:44:39 | 2018-12-24T14:44:39 | 41,508,152 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sci | Classification.sci | function y=Classification(x,W,NN)
//x: vector with testing data
//W: synaptic weight of treined ANN
//NN: ANN arquitecture
y = ann_FF_run(x,NN,W);
y=round(y);
endfunction
|
44651710c21f985c496c425b8202ed3b2262a2eb | 8016059350f017142cd5cdf2df5cabf94cf3c477 | /Digital Communication/sine cosine.sce | 04d61a0169c050575cafaca4b365c0ee8218f22b | [] | 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 | 418 | sce | sine cosine.sce | //Implementation of Sine & Cosine Signals
clc
clear all
t = 0:0.1:10;
s = sin(t);
c = cos(t);
subplot(2,2,1)
plot(t,s)
xtitle('Sine Wave Continuous','Time','Amplitude')
subplot(2,2,2)
plot2d3(t,s)
xtitle('Sine Wave Discrete','Time','Amplitude')
subplot(2,2,3)
plot(t,c)
xtitle('Cosine Wave Continuous','T... |
0732f826817584579466a2ee8d9ac3c0dbd96c8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH1/EX1.3/Ex1_3.sce | f7fec6d4d80b5790a651cf712185cc33e2fd3f4f | [] | 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 | 569 | sce | Ex1_3.sce | clc;
//page 18
//problem 1.3
//u1(T) vs T
T = [-5:0.0082:5];
u1(T<=0) = 0;
u1(T>0) = 1;
xlabel('T');
ylabel('u(T)')
subplot(131);
plot2d(T,u1);
//u2(T-t) vs T
//Shifting the given signal by t units to the right, we get
//Let us assume the amount of time to be shited is 3 units
t = 3;
T = [-5:0.0... |
6bf60c3ce3ccfc08b98449aeae5ad8d64da2dc52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH22/EX22.1/22_1.sce | 31afab4f10c465e9668fd115450b7ded08261eb9 | [] | 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 | 22_1.sce | //ques-22.1
//Calculating volume of a cubic unit cell
clc
a=0.3;//edge length (in nm)
V=a^3;//volume
printf("The volume of the unit cell is %.0f*10^-30 m^3.",V*1000);
|
0915220433293d1577eddc924bd3130706b28319 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH2/EX2.4/Ex2_4.sce | f037999b60f28c56e6510b3afcc1feb62167f5a6 | [] | 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 | Ex2_4.sce | clc
//variable initialisation
Va=220 //supply voltage in volts
N1=1500 //speed in rpm
Ra=2 //armature resistance in ohm
La=0.02836 //armature inductance in mH
f=50 //frequency in Hz
//solution
Vl=(Va*%pi)/(3*sqrt(2))
Vm=sqrt(2)*Vl
printf('\n\n The Source Voltage Required=%0.1f Volts\n\n',Vm)
|
345533aa20289256fa3148b8d791a5bace804398 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH5/EX5.9/ex9.sce | e8574c903e95fe217ca1004a8116cee2e4fd2b8c | [] | 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 | 571 | sce | ex9.sce | //example 9
//determining amount of heat transfer
clear
clc
P=150 //pressure of nitrogen in cylinder in kPa
V=0.1 //initial volume of cylinder in m^3
T1=25 //initial temperature of nitrogen in celsius
T2=150 //final tempareture of nitrogen in celsius
R=0.2968 //in kJ/kg-K
m=P*V/(R*(T1+273)) //mass of nitrogen ... |
c9c253ad3b22ca6b6cac37dbf8e1a6c97eb1a437 | 62e6605ab494919b6833bf1a1b158bcb6f9b79df | /Arxtest.sce | 04aa7f05f4561b7241cc4439157095354058faf1 | [] | no_license | mani1250/system-identification | c597c26d10bb5dd62b1b4db650b3945afc336e37 | 5db0536c792dfaa4a8f01561315263503ff34d3d | refs/heads/master | 2021-01-12T06:56:00.703593 | 2017-03-07T12:18:15 | 2017-03-07T12:18:15 | 76,865,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 74 | sce | Arxtest.sce | loadmatfile('Arxsim.mat');
data = Arxsim;
model = arx(data,2,1,1);
model
|
334ce7fbc667b06e4440b42ae1dc2044b24503f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.13/Exa1_13.sce | 66ae1b7f5ac5629de7b5b93f1124c31f2a2316b1 | [] | 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 | 364 | sce | Exa1_13.sce | //Exa 1.13
clc;
clear;
close;
//given data :
r=1;//in Km
r=1*10^3;//in m
l=1;//in m
Irms=10;//in A
f=5;//in MHz
c=3*10^8;//speed of light i m/s
lambda=c/(f*10^6);//in m
le=2*l/%pi;//in m
Erms=120*%pi*le*Irms/(lambda*r);//in V/m
disp(Erms,"Field strength at 10Km distace in V/m: ");
//Note : Answer in the ... |
347ad899a6192ab4e74863a0bacc403e9081ec4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH8/EX8.1.b/Ex_8_1_b.sce | 7b70e44c34f629d43cc4f921d1dff7a99d94d425 | [] | 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 | 309 | sce | Ex_8_1_b.sce | // Example 8.1.b;//OPTICAL POWER coupled in fiber
clc;
clear;
close;
B0=100;//in W per cm2 sr
rs=0.002;// radiating radius in cm
a=0.0015;//core radius in cm
NA=0.3;//numerical aperture
Pc=(B0*a^2*%pi^2*NA^2)*10^3;//POWER COUPLED IN FIBER in mili watt
disp(Pc,"POWER COUPLED IN FIBER in mili watt")
|
6517805e5aae5bb781c6c28e1badf355a47f554c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH6/EX6.7/ex6_7.sce | ba6eef9ba4640beae59fc33cc6680b4e2f2ad17b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | ex6_7.sce | clc;
wa=300; //weight of astronaut in lb
ww=1; //weight in of wrench lb
vw=15; //velocity of wrench in ft/sec
va=(ww*vw)/wa; //calculating va using law of conservation of momentum
disp(va,"Velocity of astronaut in ft/sec = "); //displaying result |
0cee5d3a222717df5479639d86d2b8d7ed498c96 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/robust/musolve.sci | 156c0f6ed3055fba3b1e5f182ba085efcdcec088 | [
"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 | 7,801 | sci | musolve.sci | function [mu,D,G]=musolve(M,K,T,params)
// musolve - Structured Singular value problem
// [mu [,D [,G]] ]=musolve(M,K,T [,params])
//
// M - n by n matrix for which the upper bound of SSV is to be computed.
// K - m by 1 vector contains the block structure. K(i), i=1:m, is the
// size of each blo... |
f23ceabf5ef149ad121b18e7dacdebb47bc2635f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376.zip/Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376/CH9/EX9.4/9_4.sci | 5b5ae9a7cc9bcc32067cd9ea8cc89ae25889bcf6 | [] | 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 | 353 | sci | 9_4.sci | errcatch(-1,"stop");mode(2);//9.4
;
n=1000/5;
Ie=0.7*1000/100;
Tp=1;
n=200;
Ts=200;
R_actual=Ts+(7/5);
Error_ratio=(200-R_actual)*100/R_actual;
printf("Ratio error=%.2f percent",Error_ratio)
Ts=200-(0.5*200/100);
n=199/1;
R_actual=Ts+(7/5);
Error_ratio=(200-R_actual)*100/R_actual;
printf("\nRatio error=%.... |
eea7a8db1eed1a4182977493b951bed1967380cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.15/3_15.sce | b7e0a4b6fffd07d29708d6584a6d4b36392173a7 | [] | 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 | 614 | sce | 3_15.sce | //Network Theorem 2
//pg no 3.16
//example 3.15
a=10;
b=2;
c=(5*a)-(20*b);
x=20;
y=30;
z=5;
r=z+((x*y)/(x+y));
i=c/(r+c);
//Calculation of Vth(Thevenin's voltage)
disp("removing the 10 ohm resistor from the circuit");
printf("\nFor mesh 1, \nI1 = %.f A",a);
printf("\nApplying KVL to mesh 2,, \nI2 = %.f A",b);
printf("\... |
ec5f1bc8948f42d9ccd533f0c8832c83b2aac365 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH14/EX14.8w/14_8w.sce | bb77c2679f1bf7c42e5b71c494b46203c138bbbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | 14_8w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 14.8w
//calculation of the elastic potential energy stored in the wire
//given data
A=3*10^-6//area(in m^2) of the cross section
l=50*10^-2//natural length(in m)
m=2.1//mass(in kg) hanged
Y=1.9*10^11///Young modulus... |
6838e6e71454e42ce89b8fb4e99db21d1db2fbdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.15/Ex34_15.sce | 016c78f5ce322c74f9acc00f55431f3e6329e7b2 | [] | 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 | 729 | sce | Ex34_15.sce | // Example 34_15
clc;funcprot(0);
//Given data
CP=120*1000;// Capacity of the plant in kW
Cc=12000;//Capital cost in per kW installed in rupees
Swrm=600000;// Salaries,wages,repairs and maintainence per year in rupees
MD=80;// MW
F_l=40/100;// Load factor
Fc=400;// Fuel cost per tonne in rupees
F_c=1.2;// kg/k... |
436e04d8a106cbe0bac240f78f2f2272e5882f71 | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/abstract_inherit_ok_runme.sci | ac5fc178751cd521d1ff0e80f61b1328ca40db92 | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sci | abstract_inherit_ok_runme.sci | exec("alaqiltest.start", -1);
try
Spam = new_Spam()
catch
alaqiltesterror();
end
if Foo_blah(Spam)<>0 then alaqiltesterror; end
exec("alaqiltest.quit", -1);
|
5ea6a2831029ddea423530f3071884fe15e225ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH6/EX6.9/ex6_9.sce | 6d4ace033e5dd39062d831970bcf1161dae9fe72 | [] | 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 | ex6_9.sce | // Example 6.9
format('v',5)
clc;
clear;
close;
// given data
bita= 150;
R1= 10*10^3;// in Ω
R2= 2.2*10^3;// in Ω
R_E= 1*10^3;// in Ω
V_CC= 10;// in V
V_BE= 0.7;// in V
Vt= 25*10^-3;// in V
V_B= R2*V_CC/(R1+R2);// in V
V_E= V_B-V_BE;// in V
// The emitter current,
I_E= V_E/R_E;// in A
r_desh_e= Vt/I_E;... |
f0c7afcf2bf05ee2cd307693c0a11c66654ae394 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH1/EX1.5/Ex1_5.sce | 2d54215ba308d8f84f4c476c989cf66bb1fbbbb1 | [] | 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 | 566 | sce | Ex1_5.sce | //chapter 1
//example 1.5
//calculate compressibility
//page 16
clear;
clc;
//given
r_0=.41; //in mm(lattice constant)
e=1.6E-19; // in C (charge of electron)
E_o= 8.85E-12;// absolute premittivity
n=0.5; // repulsive exponent value
alpha=1.76; // Madelung constant
pi=3.14; // value of pi used in the soluti... |
1503982d6d739f488716ab6db64f977e5dfa1f10 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/EC42.prev.tst | c3a49ff6ded6affe1b99ab0e00a43571e48dab01 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 297,073 | tst | EC42.prev.tst | [[-5,-3,-5,-4],[0,5,3,-2],[-3,-5,-3,-1],[-2,-1,1,-3]],det=72 [16,2,-15,-9], chain 2 => [25,-17,-4,-22] => [34,-53,44,29] ?? [-347,-191,2,-58]
[[-5,-3,-5,-4],[1,2,1,1],[-1,1,2,-3],[1,-1,0,4]],det=-55 [16,2,-15,-9], chain 2 => [25,-4,-17,-22] => [60,-22,3,-59] ?? [-13,-40,101,-154]
[[-5,-3,-5,-4],[1,2,1,1],[2,1,1,4],[-... |
cde1c6f8ea084c6c479909bce1da59b2dceba103 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH6/EX6.4/Ex_6_4.sce | 74041a259de31b4ba16888968a2e073ca4a2bb35 | [] | 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 | 207 | sce | Ex_6_4.sce | // Example 6.4;//optical gain
clc;
clear;
close;
R1=0.32;
R2=0.32;
alpha=10;// in cm
L=500;//in micro meter
gth=alpha+(1/(2*L*10^-4)*log(1/(R1*R2)));
disp(gth,"Optical gain in per centimeter is ")
|
e5da9ae55fd9d8db8e37fc7f2404391c03a0cd23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH11/EX11.1/Ex11_1.sce | 6eadd8f9ffa3c0a29af2b6e850cf3ecbb20b42bf | [] | 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 | 594 | sce | Ex11_1.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 11 : AC Power Analysis
// Example 11 - 1
clear; clc; close;
// Given data
Vm_mag = 120.0000;
Vm_angle = 45.0000;
Im_mag ... |
8c9c1d8e204ea1c08a8d8e0604bf723333275e65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH4/EX4.3.e/Example4_3_e.sce | 222bfb993f30ea455aedc87e8e1ccba2c2915601 | [] | 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 | 547 | sce | Example4_3_e.sce | //Example 4.3(e)
//Program to determine the Rectification Efficiency of Centre-tap Full Wave Rectifier
clear;
clc ;
close ;
//Given Circuit Data
Rl=1*10^(3); //Ohms
rd=10; //Ohms
Vm=220; //Volts(Peak Value of Voltage)
//Calculation
Im=Vm/(rd+Rl);//Peak Value of Current
Idc=2*Im/%pi;//DC Value of Current
Irm... |
438df9d353253f0af54d8e80253aba92ff7bc1b4 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_J._B._Gupta_1850.zip/Linear_Integrated_Circuits_J._B._Gupta_1850/CH2/EX2.11/exa_2_11.sce | bf8050688b6396cbbe5b898dbab412ecd2de39fb | [] | 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 | 210 | sce | exa_2_11.sce | errcatch(-1,"stop");mode(2);// Exa 2.11
;
;
// Given data
format('v',9)
dV_out=20;// in volt
dt= 4;// in micro seconds
SR= dV_out/dt;// in V/micro sec
disp(SR,"Slew rate in V/micro sec");
exit();
|
181c0925931bf165aa3fcb614c3c5a8acdcc1291 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH8/EX8.6/Ch08Ex6.sci | 8f1e6f5b9a1638fd7cb9b29aa5a95a7f13d9c3da | [] | 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 | sci | Ch08Ex6.sci | // Scilab Code Ex8.6 Calculation of atomic number from wavelength using Moseley's law Page-256 (2010)
c = 3.0e+08; // Speed of light, m/s
h = 6.626e-034; // Planck's constant, Js
epsilon_0 = 8.85e-012; // Absolute electrical permittivity of free space, coulomb square per newton per metre square
m = 9.1e-031; ... |
cf010dc7f7d9adb29467d7c731a644f8f041a916 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH4/EX4.6/4_6.sce | 670f9b956948e36ff44364124be5a64590c5d2d2 | [] | 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 | 182 | sce | 4_6.sce | clc
//Initialization of variables
z=3 //ft
s=0.82
//calculations
ua=sqrt(z*2*32.2)
ub=sqrt(2*32.2*(-2*(1-s) +ua^2 /(2*32.2)))
//results
printf("Velocity at B= %.1f fps",ub)
|
0d9ad39430e9ae898bf6b4e89276a98080f74b77 | 333d6160f9a6d9e23a6bea06cd03e5e8fa8785a9 | /RobotLab2/SciLab/PlotModelAndData_dima.sce | 61de73d9a57ca5b36ce2c3d9d9540950d3d5d437 | [
"MIT"
] | permissive | DmitryIo/ROBOTS | 6f6bb12a8e08dd28024136ee1a8a84ea7254da60 | 777f0884a098c4f21d044985c25a8be276334116 | refs/heads/master | 2023-04-30T12:52:54.082977 | 2021-05-17T19:55:34 | 2021-05-17T19:55:34 | 294,091,170 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 631 | sce | PlotModelAndData_dima.sce | idx = string(currIdx * 10)
data = read(get_absolute_file_path("PlotModelAndData_dima.sce") + "..\Data\log" + idx + ".txt", -1, 2);
data(:, 1) = data(:, 1)*%pi/180
fprintfMat(get_absolute_file_path("PlotModelAndData_dima.sce") + "..\Sim\Theta_simply_Sim" + idx + ".txt",[Theta_simplified.values Theta_simplified.time], ... |
b900255163e752f7334bc4aa39bf4e7b18889a00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH2/EX2.2/Ex2_2.sce | 7acb57e2bbd87757e80dd9f9efa452ce7cca7f68 | [] | 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,694 | sce | Ex2_2.sce |
clc
clear
//Input data
p1=90//Initial pressure of steam in bar
T1=500//Initial temperature of steam in degree C
O=(500*1000)//Output in kW
T2=40//Condensation temperature in degree C
nhp=0.92//Efficiency of h.p turbine
nlp=0.9//Efficiency of l.p turbine
np=0.75//Isentropic efficiency of the pump
TTD=-1.6//T... |
b9424c125b50d396ec12469abb077764e0ceffbb | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/metanet/neighbors.sci | 53ca0b8dc86d916c67d1b2c10f78d6b841b38a60 | [
"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 | 301 | sci | neighbors.sci | function [d]=neighbors(i,g)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs<>2 then error(39), end
n=g('node_number');
// check i
if (i<1|i>n) then
error(string(i)+' is not a node number')
end
ta=g('tail');he=g('head');
[ir,ic]=find(ta==i);
d1=he(ic);
[ir,ic]=find(he==i);
d2=ta(ic);
d=-sort(-[d1 d2]);
|
f2585da729bb0bc7af90997d630ec6fc832e5e5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH9/EX4.9.10/Ex4_9_10.sce | e36fce2093b53b8e1f9abcd2a90cca10e46ae5a4 | [] | 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 | 350 | sce | Ex4_9_10.sce | //Section-4,Example-3,Page no.-I.66
//To calculate percentage of light absorbed by the given solution.
z_1=40/100 //z_1=(I/I_0)
x=2
C_1=20
y=(log10(100/40)/(x*C_1)) //y=e/M
C_2=40
z_2=y*C_2*x //z_2=log(I_0/I_t)=log(z_3)where z_3=(I_0/I_t)
z_3=10^z_2
I_t=(100/z_3)
p_l=(100-I_t)
disp (p_l,'P... |
ba2af26bc30fb084215e2cd0dae41846b5fcd1d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH5/EX5.16/Ex5_16.sce | d94f4255cd3fcc2a30a2155b84bc0de52b26834f | [] | 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 | 269 | sce | Ex5_16.sce | clc,clear;
//Example 5.16
//To determine inverse cosine function of a given value
given = cos(4*%pi/3); //given value
answer= acos(given); //final answer
printf('Required answer is %f radians',answer);
printf('\n\nOR \n\n(pi/3)*%f radians',answer*(3/%pi));
|
1b8fea05732d554150302c390de054a878656ed6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH1/EX1.9/1_9.sce | 9a2bdd295ef9501b2834483c158ef6fb6c69b125 | [] | 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 | 247 | sce | 1_9.sce | clc;
//page no 25
//prob no 1.9
//Given: Si=100uW; Ni=1uW; So=1uW; No=0.03W
Si=100; Ni=1; So=1; No= 0.03// all powers are in uW
r1=Si/Ni;// input SNR
r2=So/No;// output SNR
NF=r1/r2;// Amplifier noise figure
disp(NF,'Te noise figure is'); |
578358def3b700e9acae9d8c8c3f11ade35e66ad | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/stmcb/stmcb6.sce | d6312b1c465a3c1f1e01d622b46c8970b5f1f98c | [] | 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 | 634 | sce | stmcb6.sce | ai=[1.0 4.410692054951665 8.291296554539644 -7.970990704911278 3.378878204393383];
y=[1 3 4 %i];
x=[2 3 5 2];
[b,a]=stmcb(x,y,4,4,5,ai);
disp(b);
disp(a);
//output
//!--error 10000
//filter: Wrong type for input argument #3: Real matrix expected.
//at line 46 of function filter called by :
//at line 52 of ... |
3ed32db29997d7999110f44d232616505d721177 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH17/EX17.15/Ex17_15.sce | ffe787a5c953cf6e73bcba5b7de6d2c0e82c0f69 | [] | 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,764 | sce | Ex17_15.sce | //Example 17.15//
//(a)
y1=1190;// degree C //y1 coordinate of the location where the line crosses the y axis.
y2=1414;// degree C //y2 coordinate of the location where the line crosses the y axis.
x1=99.985;;// wt % //composition of Si
x2=100; //wt % // composition of Si
a=y2-y1;//(subracting y intercept of li... |
2a9747cf3b3fafd451ad542176676aeb4385f24d | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/PCIeGen3/HSpiceUtilities/HSPiceUtilities.sci | 822a424933d5d28bc249cec533f22cc6415c92ef | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 51,110 | sci | HSPiceUtilities.sci | // Common function for HSpice similuations
//
// (c)2008-2010 L. Rayzman
// Created : 10/11/2008
// Last Modified: 10/14/2008 - Added Eye Measurement Tool
// 11/08/2008 - Added DJ convolution to eye measure tool
// - Added tUI as input to eye measure tool until that ... |
d258088675459c661ef4f3fbecaa81bc9b49f2c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH24/EX24.23/Ex24_23.sce | 05337e9683d6cf6f41d787d41055a8ff62784284 | [] | 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,058 | sce | Ex24_23.sce | // Example 24_23
clc;funcprot(0);
//Given data
p_1=1;// bar
p_2=5;// bar
p_3=2.5;// bar
T_1=300;// K
T_3=900;// K
T_5=T_3;// K
m_a=10;// kg/sec
CV=33500;// kJ/kg
C_p=1;// kJ/kg.°C
r=1.4;// Specific heat ratio for air and gases
//Calculation
T_2=T_1*(p_2/p_1)^((r-1)/r);// K
T_4=T_3/(p_2/p_3)^((r-1)/r);... |
9380b46eae321d435bf9e8868804919a798340b6 | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Workspace/Mission_U1.sce | 97eac170e3b08ef5125e0ee3140b037f48734607 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 816 | sce | Mission_U1.sce | // Mission U1
// Obtention de l'image
pathname = "C:\Users\Jean-Guillaume P\Documents\Exia\A2\Projets\Imagerie\ExoLife\Images\Mission_U\U1_surface.pbm";
img_in = readpbm(pathname);
// Application de la normalisation afin d'avoir un meilleur contraste lors de l'application d'un filtre des contours
histogramme = histog... |
afcda7e197a9d5c45d88fe4531403402112f369f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH6/EX6.4/EXAMPLE6_4.SCE | b3012b595b5d9faad277609a2932e01077dcb9e2 | [] | 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 | EXAMPLE6_4.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 6
//NOISE
clear all;
clc;
printf("EXAMPLE 6.4(PAGENO 283)");
//given
A_1 = 10//voltage gain for first stage
A_2 = 25//volatage gain for second stage
R_i1 = 600//input resistance for first stage in ohms
R_eq1 = 1600//equivalent noise resista... |
c7301bc59fdbd71200c0e455fabfbf2e3b49d036 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.9_16.tst | 7e2e5428f2059ff56c96e0a9ad778e3581af6a43 | [] | 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 | 5,090 | tst | bow.9_16.tst | 9 36:0.16666666666666666 40:1.0 148:0.3333333333333333 165:1.0 317:1.0 375:1.0 458:0.3333333333333333 519:1.0 1390:1.0
9 11:0.3333333333333333 36:0.16666666666666666 40:1.0 53:0.3333333333333333 114:1.0 158:0.2 339:0.5 735:1.0
9 4:0.5 15:0.25 36:0.16666666666666666 40:1.0 48:0.1 60:0.08333333333333333 99:1.0 126:1.0 14... |
bcf61fd14e2d0150200496aad2dde47730006c4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH2/EX2.10/Ex2_10.sce | 75bb34d510601620020a1ea601beaed3d91526de | [] | 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 | 646 | sce | Ex2_10.sce | clear
//
//variable declaration
PA=800.0 //Vertical down loading at A,N
PC=400.0 //vertical up loading at B,N
HD=600.0 //Horizontal left loading at A,N
HB=200.0 //Horizontal right loading at B,N
a=1.0 //length of side,m
//sum of vertical Fy & sum of horizontal forces Fx is zero
//Assume direc... |
1c8e0a3233b2c530b3ed05c15e18ba0c5a287994 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH1/EX1.23/Ex1_23.sce | 8088057df008c998764a770deb04a5a5fa77d8c2 | [] | 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 | 176 | sce | Ex1_23.sce | errcatch(-1,"stop");mode(2);//Ex:1.23
;
;
u=4*%pi*10^-7;//in H/m
i=20;//in amps
d=50*10^-3;//in meters
B=(u*i)/(2*%pi*d);
printf("Flux Density = %e Tesla",B);
exit();
|
88d079329fceba801bacfa0f342af3141362d2d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH5/EX5.36/5_36.sce | 8d8e9ef963e36269a9e5fa12136af4714bcafc87 | [] | 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 | 501 | sce | 5_36.sce | //Example 5.36
//Lagrange's Interpolation Method
//Page no. 176
clc;close;clear;
x=[7,8,9,10]
y=[3,1,1,9]
x0=9.5
printf('\tx\ty=f(x)\n-----------------------\n')
for i=1:4
printf('x%i\t%i\t %i\n',i-1,x(i),y(i))
end
p=1;p1=1;i=1;
for k=1:4
for j=1:4
if k~=j then
p=p*(x0-x(j)... |
c6379095fcc371be7ef38f5b90f2dc0999bb27a0 | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /SciLab/l82.sci | 9bd0852219d27274bbf43ac865a0ef92545f657d | [] | no_license | GennadySX/pLabs | 6c64cd2fdc87a204e9b675ef7cf54f4cae4356c7 | 50810647bcc7a48ce38d51c321b165a48560b5d6 | refs/heads/master | 2020-09-05T17:22:46.474588 | 2019-11-07T06:35:33 | 2019-11-07T06:35:33 | 220,167,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | sci | l82.sci | clc
function x=anny(a,b)
e=(b-a)/2;
while e>=0.001
y1=3*sin(a)+5*cos(a);
y2=3*sin(b)+5*cos(b);
if y1*y2>0 then
disp('Нет корней');
return
end
x=(a+b)/2;
y=3*sin(x)+5*cos(x);
if y==0 then disp(x,'Точный корень:')
return
elseif y1*y<0 then b=x;
else a=x;
end
e=(b-a)/2;
end
endfunction
x... |
13c467cbc207a5ddd4ccd3e59e757babe2d2f4bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.5/Ex1_5.sce | 04511400e1fa1875de08bc0389823db7c9195738 | [] | 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 | 473 | sce | Ex1_5.sce | // Ex 5 Page 344
clc;clear;close;
// Given
VA=60;//V
I=0.6;//A
// (VB-VA)/20+(VB-VC)/20+VB/20-I=0
//3*VB-VC=72 for node B eqn(1)
//(VC-VA)/50+(VC-VB)/30+(VC-12)/50+VC/100=0
//-5*VB+10*VC=144 eqn(2)
A=[3 -1;-5 10];
B=[72;144];
X=A**-1*B;
VB=X(1);//V
VC=X(2);//V
printf("Voltage acroos 100 ohm = %.1f V",VC)
VC=24;//V
V... |
566a0abc73d881f528451d98f9bebfd4d75d253a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH23/EX23.20/EX23_20.sce | 137ecd5d6946bf6795a02500e90d13b9cb3b729a | [] | 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 | 216 | sce | EX23_20.sce | //Chapter 23, Example 23.17
clc
//Initialisation
x=7046 //decimal number to be convert
//Calculation
z1=dec2hex(x) //conversion to hex number
//Results
printf("Hex of 7046 = %s",z1)
|
ba2bb82a298eec4ad6c4c2bf567c3f4563add900 | 8627886261b3eddf8440c0b470cd9ee25c762d97 | /24_lab_rabota.sce | aacd25d0c632d45480a9faed7e3b513a149262b8 | [] | no_license | timurzotov/pvis | ba75cf86fae91b6adc8dd3fe9cd2672eea561cca | d60e8e241d6ce0ad3a9b2a75c8771f92a9b039ba | refs/heads/master | 2020-09-08T07:59:31.719500 | 2019-11-11T21:14:13 | 2019-11-11T21:14:13 | 221,070,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,609 | sce | 24_lab_rabota.sce | clc
d=figure('position',[0,0,420,400]);
d.figure_name='Лабораторная работа №24';
set(d,'BackgroundColor',[1,0.9,0.9]);
str1=uicontrol(d,'style','text','position',[25,350,100,30],'string','Введите а');
str1.BackgroundColor='1|1|1';
edit1=uicontrol(d,'style','edit','position',[25,300,100,30]);
str2=uicontrol(d,'style',... |
f346289d21f079129088358f99011d237a661b52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH8/EX8.5/8_5.sci | d55d01aceb0bf98d4362c1083335b21db50a233c | [] | 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 | 786 | sci | 8_5.sci | //Harmonic and Powerfactor with the Converter system//
//Example 8.5//
I11=400/11;//amplitude of 11th harmonic current in Amperes//
V1= 11/(sqrt(3));//Input supply phase voltage in Kilo Volts//
P=7;//supply power per phase of filter in MVAR//
Pc=P+((V1^2*I11^2*10^-3)/(11*P));//AC Converter MVAR rating of the capac... |
210da75df8ff47f9b0a6812f1dd75ddef33af334 | fa73b9454b1d003e901d57ef2121b7544bcdfef2 | /scenes/simple.sce | bf7264ca6659ba046c48cc8eded571084ac4974e | [] | no_license | bernielampe1/ray_tracer | ea91cf08188194f6a0d1e8c9e95baa4aea12f021 | 7fa963ccd07695be3a78acd4837af6cd439698b9 | refs/heads/master | 2021-01-02T01:16:52.595743 | 2020-03-02T12:36:03 | 2020-03-02T12:36:03 | 239,428,546 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | simple.sce | sce1.0
# camera
eyepos 0 -2 1.5
eyedir 0 1 -0.4
eyeup 0.0 0.0 1.0
wdist 1.0
fovy_deg 50
nx 600
ny 300
#options
max_recursion 4
aasample 0
# scene
background 0 0 0.6
ca 0.1 0.1 0.1
{
#ground
cr 0.4 0.5 0.4
cp 0.4 0.4 0.4
triangle -3 -2 0 3 -2 0 3 10 0
triangle -3 -2 0 3 10 0 -3 10 0
}
#spheres
{
... |
492eb6f5b761617c40d11980a57ea5bd8d7e0f84 | 9cbb0181f0213b9ba6012353a85b932a35f875d8 | /Data_Processing/plot-6.sce | 66b7bf5b901fc15f0d473ea76184e0756078acf1 | [] | no_license | bozhink/sandpile-pi4 | dfcd24c19f59c6170aef4ff2eeb298411b80518e | bd5f158ec9cb8cac2d4f7d66cdc661b672241c6b | refs/heads/master | 2021-01-10T14:21:27.477065 | 2014-03-01T17:05:47 | 2014-03-01T17:05:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,134 | sce | plot-6.sce |
// Data collapse
// Z=1,3,4,10 models
taus=[1.347 1.442 1.437 1.436];
D =[1.499 1.784 1.754 1.738];
taut=[1.510 1.793 1.745 1.710];
z =[0.999 0.996 0.993 0.992];
function processT(DIR, suffix, L, Z, betax, taux, fig, figname)
scf(fig);clf();
a = get("current_axes");
... |
2b022b7afd784e27d5a826e9af78d15aaeac1289 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH6/EX6.10.11/exa6_10_11.sce | d3c82c930710ba4e26cb10b7d968d6c4f5673b03 | [] | 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 | 704 | sce | exa6_10_11.sce | //caption:determine_characterstics_eq_and_steady_state_error
//example 6.10.11
//page 181
//J=moment of inertia,f=C,K=controller gain,Wn=natural frequency, zeta=damping ratio
syms f J K Kt
s=%s;
A=sym((1/(J*s^2+f*s)));
J=250;
K=8*10^4;
B=eval(A)
a=(K*B);
H1=s*Kt;
b=(1+a*H1);
b=simple(b);
CL1=a/b;
CL1=sim... |
0bb17bcf564ec4ef14d8bd8d7b90783ed83b84ee | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Thermodynamics_B._Claus_And_R._E._Sonntag_172.zip/Fundamentals_Of_Thermodynamics_B._Claus_And_R._E._Sonntag_172/CH8/EX8.9/ex9.sce | a2958451e7885014e8f784d19b113139b17b788a | [] | 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 | 292 | sce | ex9.sce | errcatch(-1,"stop");mode(2);//example 9
//entropy generation
Qout=1 //value of heat flux generated by 1kW of electric power
T=600 //temperature of hot wire surface in K
Sgen=Qout/T //entropy generation in kW/K
printf(" \n hence,entropy generation is Sgen=%.5f kW/K.\n",Sgen)
exit();
|
a6b1912802f3464634a0663ede2906b048ec92be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH5/EX5.2.A/additional_ex_2.sce | 74e14541aade216c2ecb2851221ef74e594c1202 | [] | 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 | additional_ex_2.sce | clc;
clear;
F_audio=5; //Audio input Frequency in kHz
F_sampling=2*F_audio;
disp(F_sampling,"The Minimum Sampling Frequency (in kHz)");
disp("When the audio Frequency of 6 Khz enters the Sample and Hold circuit");
disp("it will overlap the audio spectrum, and the alaising frequency is 4 kHz");
|
e5f33b4211e3676817fdfe788e5130edc590e64d | 6e51f2fdd036612dc2b51c405904fed97d2ae8b0 | /src/test_server_1_b.tst | a38f19aff1789e5ed139ed36548c996dc1b07045 | [
"MIT",
"Zlib",
"BSD-3-Clause",
"OML"
] | permissive | joe-nano/ciyam | 92c6ccb58029a1b2a641a7e00417ab524cb9f957 | a92c296b911b29620a7bb3b758eb55339e040219 | refs/heads/master | 2022-04-16T14:39:55.822434 | 2020-03-27T06:39:13 | 2020-03-27T06:39:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,277 | tst | test_server_1_b.tst |
> file_raw -text blob "Hello World!"
2ccdb4c72e6c263e1dc3e5c6617bad479d267546ced55f88d6b6e4527d2e8da8
> file_raw -text blob "This is a test."
90a1a46903f42ddf0386a9c12fd67a6c109285bb8b3117ee83ed222fd0040ad3
> file_raw -text list "2ccdb4c72e6c263e1dc3e5c6617bad479d267546ced55f88d6b6e4527d2e8da8 hello\n90a1a46903f42dd... |
571bbd645c2f46018631356af3b220830f8ba93b | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH18/EX18.14/Example18_14.sce | 4930471010a9c9b40394131f8395f6a67120e1b0 | [] | 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 | 723 | sce | Example18_14.sce | //Example 18.14.
clc
format(6)
disp("Load current varies from 0 to 20 mA")
disp(" IZ(min) = 10 mA, IZ(max) = 100 mA")
disp("Here, Vz = Vo = 10 V (constant)")
disp("Applying KVL to a closed loop circuit,")
disp(" 20 = IR + 10")
disp("or IR = 10")
disp("Therefore, R = 10/I ohm, where I is the loop cu... |
b418e3764cc109f2e2201b3667efcf3510ff4960 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH27/EX27.8/EX27_8.sce | e052a1cf243e03032a87011d0d5d53ce07b20f08 | [] | 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 | 187 | sce | EX27_8.sce | //Chapter 27
clc
//Example 8
//given
h=6.63*10^-34 //in J.s
m_e=9.11*10^-31 // in Kg
v=1*10^7 //in m/s
lambda=h/(m_e*v)
disp(lambda,"de Broglie wavelength for an electron in meters is")
|
f1efd04adb244e59771d4c97582b69ce03894819 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH13/EX13.3/Ex13_3.sce | 18704e15ffda09666eb7d79a30f6915e6cb1c82b | [] | 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 | 924 | sce | Ex13_3.sce | clear;
clc;
//Example 13.3
Is1=10^-14;//reverse saturation currents for Q18 Q19
Is2=3*10^-14;//reverse saturation currents for Q14 Q20
Iref=0.72;
Vt=0.026;
Ic13a=0.25*Iref;
printf('\nIc13a=%.2f mA\n',Ic13a)
Vbe19=0.6;
R10=50;
Ir1o=Vbe19/R10;
printf('\ncurrent in Ro=%.3f mA\n',Ir1o)
Ic19=Ic13a-Ir1o;
printf... |
fc110711c3e1ab9ac6065d86c6e1c17d2aa4dee1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH3/EX3.3/3_3.sce | 38e5c95e9c893385148aef859f8698fd9b4ad2ae | [] | 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 | 719 | sce | 3_3.sce | clc,clear
printf('Example 3.3\n\n')
//no load
I=14 //input current
V=230
power_output_FL = 45*10^3
power_input=V*I
I_sh=2.55 //field current
R_a=0.032 //armature resistance
I_a=I-I_sh
cu_loss_NL = I_a^2*R_a //no load copper loss
brush_loss=2*I_a
constant_loss= power_input - cu_loss_NL - brush_loss
//fu... |
34341301ebe956a8c4ca5b519bd341b2a6f62e39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH2/EX2.8/2_8.sce | ef3f51e7d385ecdaaecdba02c0233a20fb55d1cf | [] | 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 | 671 | sce | 2_8.sce | clear;
clc;
D=3e2;
d1=6e2;
d2=7e2;
rad=.9;
reff=.7788* rad;
Daa=(d1^2 + d1^2)^(1/2);
Dcc=Daa;
Dbb=d2;
GMRa=sqrt(reff*Daa);
GMRb=sqrt(reff*Dbb);
GMRc=sqrt(reff*Dcc);
Ds=(GMRa*GMRb*GMRc)^(1/3);
Ds=round(Ds*10)/10
Dab=(D^2 + ((d2-d1)/2)^2)^(1/2);
Dcb=Dab;
Dc1b1=Dab;
Da1b1=Dab;
Dab1=(D^2 + ((... |
b7e0bee55efed45026b6290830a3de05d856dbbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH9/EX9.4/PLLA_Ex_9_4.sce | 684c9291ac8ec131edee6b83887f31e860ca6e33 | [] | 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 | 272 | sce | PLLA_Ex_9_4.sce | clc
close
//chapter 9: Stability Analysis
//Example 9.4 page no 363
//given
clear
N=2
Kv=0.83*10^3//DC gain
B=1250//closed loop bandwidth
wn=1.27*10^3
wL=wn^2/Kv//corner frequency
s=poly(0,'s')
h=syslin('c',(1/((s^2/wn^2)+0.9*s/wn+1)))
clf();bode(h,1,1000);
|
b9d87f2df1501eb3fc3e4c9c23eeb827ab8d97cb | 0778f91e335afef58ae45c5a33184587cee76088 | /Euler.sce | 2c3dd58a2b85cc48da1329cd6e40476cfe96761d | [] | no_license | LtavaresII/CN | b38e6f5531a3597f8705bdf163f4cec49f49d51e | 0dcfb182692dee3ecf71d62162f986f816b3d687 | refs/heads/master | 2020-03-25T23:35:53.410172 | 2018-12-05T14:17:32 | 2018-12-05T14:17:32 | 144,282,768 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | Euler.sce | function z = g(x,y)
z = -1.2*y+7*exp(-0.3*x);
endfunction
function [x,y] = euler(a,b,h,y0)
x = a:h:b
n = length(x);
y(1)=y0
for i = 1:n-1
y(i+1) = y(i) + g(x(i),y(i))*h;
end
endfunction
[x,ye] = euler(0,2.5,0.5,3)
plot(x',ye,'o')
|
4b55565d66a3759c82650c7edcda84333f729bc3 | d7087cf730b37f76170323e080c090f8094979ac | /test/eval_expr/power_very_big.tst | 046ac3aa52535a07eafd4a419c20a3b2553a54a4 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24,194 | tst | power_very_big.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
echo $((2**2 + 2**2 + 2**2 + 2**2 + 2**2 + 2**2 + 2**2 + 2**2 + 2**2+ 2**2 + 2**2 + 2**2+ 2**2 + 2**2 + 2**2+ 2**2 + 2**2 + 2**2+ 2**2 + 2**2 + 2**2+ 2**2 + 2**2 + 2**2+ 2**2 + 2**2 + 2**2+ 2**2 + 2**2 + 2**2+ 2**2 + 2**2 + 2**2+ 2**2 + 2**2 + 2**2+ 2**2 + 2**2 + 2**... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.