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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9c5184b4fb028017692cd24ed51ccce648ed8fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH18/EX18.2/18_2.sce | 397aeae6d4a5db4304de0815f586a10e468234c3 | [] | 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 | 230 | sce | 18_2.sce | clc
//initialisation of variables
d= 300 //mm
b= 150 //mm
tw= 8 //mm
tf= 12 //mm
//CALCULATIONS
Zp= b*tf*(d-tf)+(tw*((d-2*tf)^2))/4
Ze= (2/d)*((b*d^3)/12-((b-tw)*(d-2*tf)^3)/12)
f= Zp/Ze
//RESULTS
printf ('f= %.2f',f)
|
4fa3cd4d80b10e6299f958a9aca1b68e67ac80c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH2/EX2.14w/2_14w.sce | c5aee19250390265250f16fb714c4b261ebf704d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | 2_14w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 2.14w
//calculation of the area under curve
//given data
function y=f(x)
y=x*x;
endfunction
//calculation
A=integrate('f','x',0,6)
disp(A,'the area under curve is')
|
e43e56651a88d96bce5e53a9cb9dda8a73ada689 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH14/EX14.8/Chap14_Ex8.sce | d21b569c256c89e1784bd1d750cdddf23535033e | [] | 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 | 6,607 | sce | Chap14_Ex8.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-14,Example 8,Page 498
//Title: Degree of conversion for different feed conditions
//================================================================================================================
clear
clc
/... |
308195772d6aaeefd6177da096e8b88ab062dbe1 | 6f286be4a4e16867cc6e488080b8e3eced1dcd62 | /htslib/test/base_mods/base-mods.tst | 3809c0e6ee915f84f44008af8a85f8447cb42ab2 | [
"BSD-3-Clause",
"MIT",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | imgag/ngs-bits | 3587404be01687d52c5a77b933874ca77faf8e6b | 0597c96f6bc09067598c2364877d11091350bed8 | refs/heads/master | 2023-09-03T20:20:16.975954 | 2023-09-01T13:17:35 | 2023-09-01T13:17:35 | 38,034,492 | 110 | 36 | MIT | 2023-09-12T14:21:59 | 2015-06-25T07:23:55 | C++ | UTF-8 | Scilab | false | false | 1,904 | tst | base-mods.tst | # Copyright (C) 2020 Genome Research Ltd.
#
# Author: James Bonfield <jkb@sanger.ac.uk>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitati... |
f0159e825b51026fb54176e37c02f201f5d0567f | 928fd2a05943aaa54c26a75b62a39e027bcb2b63 | /tests/large_pat.tst | 4c15a7564db460ecb7a327a192a559b217e97027 | [
"MIT"
] | permissive | timotamo/michi-c | e70156aea474c66ee28d6d49081d956b2d203010 | fc4b0d75b2764fff80a2afec374e5286b93e65bd | refs/heads/master | 2020-12-25T00:27:43.211705 | 2015-08-30T18:08:25 | 2015-08-30T18:08:25 | 41,674,387 | 1 | 0 | null | 2015-08-31T12:35:28 | 2015-08-31T12:35:28 | null | UTF-8 | Scilab | false | false | 1,155 | tst | large_pat.tst | #-------------------------------------------
# tests of the michi large patterns routines
#-------------------------------------------
# size 5 center pattern
# ---------------------
debug setpos D6 E6 D5 E5 D4 E3 F6 pass F5 PASS F4 Pass
10 debug match_pat E4
#? [410926]
# size 4 side pattern
# -------------------
cl... |
9fe2e49e762848f2008cf5fafd7c01efa57ccb15 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /Structure/PIL_conv_cell_vec.sci | 270fecb80e4afe3770e63d45749b453bbc95cd6c | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,567 | sci | PIL_conv_cell_vec.sci | // **** Purpose ****
// For a given primitive cell, one can always generates its coventional
// by assigning three new axes. These axes must be able to presented
// in terms of the original primitive vectros.
// **** Variables ****
// [pc_vec]: 3x3, real
// <= the primitive lattice row vectors.
// [pc_sublat]: nx3, ... |
aab7be5bbd6746ba0496a4cf0df2ff2d570d7eb2 | a674f7b984545698214f8164107cc4e15916c573 | /U/U.2/Mission_U2.sci | 8bc678b679e27ae1929d0c2d7c4ce3f7a0353e94 | [] | no_license | enzo-billis/Projet_CESI_Scilab_Missions | 6bb843b68b64660f8ed235cde4213dd4d3343375 | 07434c89170e237aff6a78ad4d59034b6e47f382 | refs/heads/master | 2021-03-16T10:27:15.255047 | 2018-03-05T08:02:40 | 2018-03-05T08:02:40 | 120,597,704 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sci | Mission_U2.sci | function Mission_U2()
//Chargement des coordonnées des pixels dans un tableau
image=readpbm("U2_surface.pbm")
//Application de filtres pour isoler l'objet voulu
objet_isole=Seuillage(Normalisation(Contour(image)),125,255)
//Affichage de l'image isolant l'objet
display_gray(objet_isole)
//Sau... |
572146e803f065a7e3659a722ae513a53f43a75d | 0896afb25280a9d27c93c0c8e9d07e608426fbea | /scilab_prof/Main.sce | 09d15f2135c29b83e221977471f0dbbcbdcdc4bb | [] | no_license | netixx/projet_meca | 9a7c932ba4188a1ee6462effd5671e128ccc524f | a1d5794e2eeef61efadd7cbb8d8c477676610eec | refs/heads/master | 2020-12-30T14:56:13.306855 | 2012-12-12T13:51:34 | 2012-12-12T13:51:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,976 | sce | Main.sce | //*****************************************************************************
// Figure 1: Confrontation des modèles (Ta=Charge additionnelle=0)
// ========
// - (DP(lambda), lambda)
// - (mu(lambda), lambda)
// - (DP(lambda), V/Vini)
// - (I1(lambda,mu), I2(lambda,mu))
//
// Figure 2: Influence de la charge addi... |
51fe11429dc1962d54772c9c57038e3a833aff1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH4/EX4.1.d/ex_4_1_d.sce | 668b8594835ca28217c1b9b7ec3ea848fb24ad97 | [] | 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 | 484 | sce | ex_4_1_d.sce | //example 4.1(d)//
//The LOW-state noise margin//
clc
//clears the variables//
clear
//clears the screen//
//given//
a=0.4
//I(oh)max in mA//
b=2.7
//V(oh) min in V//
c=2
//V(ih) min in V//
d=.8
//V(il)max in V//
e=.4
//V(ol) max in V//
f=8
//I(ol)max in mA//
g=.4
//I(il)max in mA//
h=20
//I(ih) m... |
c8a304f934e13e77480ef37362fd7049e3aff58f | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1307.sce | cb05b8a3f1e14606309a065766c8cf049742523d | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 3,187 | sce | map1307.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1307" Width="13" Height="13" CellSize="40" BackgroundSize="1" Background="11plus.png">
<Cell Name="雪灌木" X="1" Y="1" />
<Cell Name="木箱" X="2" Y="1" />
<Cell Name="雪灌木" X="5" Y="1" />
<Cell Name="冰块" X="7" Y="1" />
<Cell Name="企鹅(怪)" X="8" Y="1" arg0="15... |
695e9b616cba6997f48017e4b123244afafda46d | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/ArEn/aren.2.tst | 2ebd74cd7f1aef4be4aec9961c605360647fa320 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 806,933 | tst | aren.2.tst | آ د م ' a a d a m
آ د م ' a d a m
آ د م ' a d e m
آ د م ' a h d e m
آ د م ' e d a m
آ د م ' e d e m
آ د م a a d a m
آ د م a d a m
آ د م a d e m
آ د م e d a m
آ غ ا ' a a g a
آ غ ا ' a a g e
آ غ ا ' a a g h a
آ غ ا ' a g a
آ غ ا ' a g a h
آ غ ا ' a g h a
آ غ ا ' a g h e
آ غ ا ' a h g a
آ غ ا a g a
آ غ ا a g h a
أ ب ا ظ ... |
f18231969ce2eb9094ddf4280ad19674753e07e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH11/EX11.8/11_8.sce | abe70ea3cce92897e57d6548d044206d61e78726 | [] | 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 | 357 | sce | 11_8.sce | clear;
clc;
close;
disp("Example 11.8")
mf=0.8
g=9.8 //in m/s^2
Is=345 //in s
delvt=-g*Is*log(1-mf)
m=500000 //in kg
q0=100000 //in Pa
tb=60 //in s
Af=20 //in m^2
Cd=0.3 //mean drag coefficient
delvd=log(1-mf)*(Af/m)*q0*(tb/(1-mf))*Cd
delv=delvt+delvd
disp(delv,"Terminal speed of rocket vehical excludi... |
4e53f042bcb25c5b7f47ad50e5410fafec0be397 | e806e966b06a53388fb300d89534354b222c2cad | /macros/cameraParameters.sci | 9d2d131c5cc7461e63a14cb6b1660917c2058cc6 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,266 | sci | cameraParameters.sci | function varargout=cameraParameters(varargin)
// It returns the cameraParameters structure
//
// Calling Sequence
// cameraParams=cameraParameters(Name,value);
//
// Parameters
// IntrinsicMatrix: 3-by-3 matrix, it specifies the principal point, skew and focal length. Default- 3-by-3 identity matrix
// RadialDistortion... |
7a95c2d3c0d0194c878d1f57014e475a612e45e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH3/EX3.3/ex3_3.sce | 82de4a6036df53a309d9e07b3e0fed5b0db393bf | [] | 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 | ex3_3.sce | // Example 3.3, page no-73
clear
clc
mu=39.8*10^13 // Nm^2/kg
P=7000*10^3 // Perigee distance in m
e=0.69 // eccentricity of eliptical orbit
w=60/2 // angle made by line joing centre of earth and perige e with the line of nodes
k=(e/sqrt(1+e))
k... |
554b26c3f2b654944d0a74d62764dd5049715b34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH7/EX7.7/example7_7.sce | e323fb1bfec06adc33b89f04ca1e9aa995b3c8e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | example7_7.sce | // to determinr the required ratio of R/P
// example 7-7 in page 176
clc;
// Given data
S=0.1; Q=0.15; // resistances in ohm
//calculation
r=S/Q;// here R/P=S/Q
printf("the required ratio is %d/%d",(S*100),(Q*100));
//result
// the required ratio is 10/15 |
2951b937d58aa840672d2ac4a3441979ed0c6db0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH2/EX2.20/Ex2_20.sce | d940e72ac57087679a71ec34fe6a12062666de2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | Ex2_20.sce |
// Ex2_20
clc;
// Given:
E=1.6*14.4*10^3*10^-19;// energy in J
c=3*10^8;// in m/s
m=57*1.6*10^-27;
M=10^-4;
h=6.6262*10^-34;// in J.s
// Solution:
p=E/c;
v=p/m;
v1=(v*m)/(M);
v2=(v*m)/(M*10^-20);
f1=(E*v)/(h*c);
f2=(E*v1)/(h*c*10^-10);
printf("\n The recoil velocity of free atom is = %f m/s",v)
prin... |
cb42731f5abe12e8a159bda01cfeebb81f7143b1 | da5f041febe4b5e738a88500e6b5c0eeea4da116 | /signals (1)/C5.sce | d4f4192acf7cf47792a37a0ab523797654b95653 | [] | no_license | djouani/scilab-project | 283a5d7467957851787288bb0505a6ceac8b0e07 | 01331434dff090bdff27d416c57ee54484cd2c47 | refs/heads/main | 2023-07-25T04:49:09.341708 | 2021-09-08T11:39:39 | 2021-09-08T11:39:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,421 | sce | C5.sce | global DvoichKOD k Kol_DvoichKOD Decods
f100=figure()
tps=5;
choix=1
couleuraxes=38 // Меняет цвет разделяющей полосы QAM от Данных
xosin=0.25 // Задаётся рабочую
yosin=-2.05 // область самого QAM
echsin=8 // Длина графика снизу
ampsin=0.3 // Высота графика снизу
epsin=2 // ширина жёлтого Сигн... |
c5f69f29f56d722b861e3ea4ed3aa5165a474877 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH4/EX4.11/Ex4_11.sce | 7885868b968c7e1f2b1bc2e1c7535cc55d0d8477 | [] | 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 | 160 | sce | Ex4_11.sce | //Example 4_11
clc();
clear;
//To calculate where the radius of the atom is present
a=4/sqrt(2)
R=a/2-1
printf("The radius of the atom is at R=%.3fr",R)
|
458d189746b6ff42203b74903c7ab71db7cbc58f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH1/EX1.3/Exa1_3.sce | 31fab1064cf46f24cae9644411c7e10bd42cf322 | [] | 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 | 526 | sce | Exa1_3.sce | //Exa 1.3
clc;
clear;
close;
//given data
V1=5;//in mV
V2=6;//in mV
Ad=70;//in dB
CMRR=90;//in dB
Vid=V2-V1;//in mV
Vc=(V1+V2)/2;//in mV
Ad=10^(Ad/20);//unitless
Ad=floor(Ad);
CMRR=10^(CMRR/20);//unitless
//output voltage
Vo=Ad*(Vid+Vc/CMRR);//in mV
Vo=round(Vo);
Vo=Vo*10^(-3);//in Volts
Vid=Vid*10^(-... |
350edbea722cb0955e312123b5aad22da2cb3a1c | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnKa/enka.7.tst | 9b9eb46a6733bdd5e2aed9b2130c2b8f5b7dc6ff | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 59,656 | tst | enka.7.tst | a a b i r a h ಆ ಬ ಿ ರ ಾ
a a j k a l ಆ ಜ ್ ಕ ಲ ್
a a j k e s h a h a n s h a h ಆ ಜ ್ ಕ ೆ ಶ ಹ ಂ ಶ ಾ ಹ ್
a a k h r i g h u l a m ಆ ಖ ಿ ರ ೀ ಗ ು ಲ ಾ ಮ ್
a a m e r s o h a i l ಆ ಮ ಿ ರ ್ ಸ ೊ ಹ ೈ ಲ ್
a a p b e e t i ಆ ಪ ್ ಬ ೀ ತ ಿ
a a s a m i ಅ ಸ ್ ಸ ಾ ಮ ಿ
a a s h a a ಆ ಶ ಾ
a b d u l a w w a l ಅ ಬ ್ ದ ... |
1b46e6260e867d17ce9420d32fafbdfe806c562f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH20/EX20.13/20_13.sce | 7b5bc6638f14367e3ae0a43fc1e9d64a22d06c17 | [] | 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 | 279 | sce | 20_13.sce | clear;
clc;
x=.23;
r=3750e3;
v=6600;
res=.866;
x1=x*(v^2)/r;
z=sqrt((res^2)+(x1^2));
i=1.1*v/(sqrt(3)*z);
f=res/x1;
x=1.38;
i=round(i/100)*100
is=sqrt(2)*x*i;
is=round(is/10)*10;
mprintf("initial short circuit current=%dA \n peak short circuit current=%dA",i,is);
|
e4994a90a97f2f2e76de4166aefa511cfa788521 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH1/EX1.15.1/Ex1_15_1.sce | 86eb7b415a98fc4ad6222c1a709576fa3298b7b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | Ex1_15_1.sce | //Ex 1.15.1
clc;clear;close;
format('v',9);
//Given :
ND=10^13;//per cm^3
Bz=0.2;//Wb/m^2
d=5;//mm
E=5;//V/cm
q=1.6*10^-19;//Coulomb
mu_n=1300;//cm^2/V-s
rho=ND*q;//Coulomb/cm^3
J=rho*mu_n*E;//A/cm^2
VH=Bz*10^-4*J*d*10^-1/rho;//V
disp(VH*10^3,"Magnitude of hall voltage(mV) : ");
|
615adb98b7f264ee468ebdab97ea8c75276bbc4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH2/EX2.6/Ch02Exa6.sce | c0625ec09e5e09a42e8039cac1cedfe109e47df6 | [] | 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 | 415 | sce | Ch02Exa6.sce | // Scilab code Exa2.6 : : Page 90 (2011)
clc; clear;
A = 6.022137e+023; //Avagadro's number, atoms
N_0 = A/232; // Initial number of atoms
t = 3.150e+07; // Decay time, sec
lambda = 1.58e-018; // Disintegration constant,sec^-1
N = lambda*t*N_0; // Number of alpha decays in Th-232
printf("\nThe number of alpha de... |
d07ddcbbd0bfcc9afec8e6788ce87f15d6515ad4 | 12153d9821e4c0d7bcacb7d5738d15c4f74fbdd9 | /Projects/project9/Guy.tst | 5ae307c41cbae6368f1597f023c6fa3650186de8 | [] | no_license | MostafaSaftawy/Nand2Tetris | 62a355de4aa81852f3cd875a6d0f00853c48cbf6 | 0613955598bc93d09ea08d929b14535c3f747f33 | refs/heads/main | 2023-08-15T20:09:15.781317 | 2021-10-13T19:04:31 | 2021-10-13T19:04:31 | 416,799,548 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 919 | tst | Guy.tst | // Run tests inside the Guy game
//
// It compares a value of a static variable:
// 11111 - failure
// 22222 - success
//
// The static variable address is:
// 30 - VM files of the OS are copied in the Guy directory (used in CI)
// 17 - the Guy directory has only its own VM files and VME uses built-ins
load ,
... |
a001e22c9be5650d83279dcc6ac3850b5894b8f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH15/EX15.3/Ex15_3.sce | e9ccefa74cbbad1448775da15498c760f7874145 | [] | 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 | 673 | sce | Ex15_3.sce | // Ex15_3 Page:298 (2014)
clc;clear;
P = 2.5e-003; // Output power of laser source, W
d = 1.8e-02; // Diameter of the aperture, m
a = d/2; // Radius of the beam, m
lambda = 5000e-010; // Wavelength of laser light, m
f = 20e-002; // Focal length of the lens, m
A = %pi*(lambda*f/a)^2; // Area of ... |
9ddc3d0f277376dc7878332ae84c05cd43c0efbd | eac3cfc2721389036753c792674af1164112999f | /RegressãoMultipla.sce | 3b32693ce1c4a79902f3b7a438bc8b18fb5e9d12 | [] | no_license | Sergio-Saraiva/trabalho1inteligenciacomputacional | 8d9fa2b4be967c503a6c8ba51c1393513799f500 | 509d88c97361c47f3d4c3f6ba8cc10f06b2e33ae | refs/heads/master | 2020-03-12T10:58:30.973304 | 2018-04-22T16:23:18 | 2018-04-22T16:23:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | RegressãoMultipla.sce | clear;
clc;
D = [122 139 0.115;
114 126 0.120;
086 090 0.105;
134 144 0.090;
146 163 0.100;
107 136 0.120;
068 061 0.105;
117 062 0.080;
071 041 0.100;
098 120 0.115];
x = [D(:,1) D(:,2)];
x1 = D(:,1);
x2 = D(:,2);
y = D(:,3);
y... |
c40c01aa3e66746a59bb6c521db5d7f92428b5f5 | 98efda43218be3d9e665771c28742517fd4f334f | /Toolbox Test/is2rc/is2rc1.sce | b5348c4dbf0ab02555e8de036721a6c6354899c7 | [] | no_license | ankurmallick/Scilab_spt | bded5b3ed7c5618770ef4bb997b5f61aa7732cd9 | e35c986f70147ee773796c839153ed7adbda3941 | refs/heads/master | 2021-01-17T06:48:24.162281 | 2016-12-05T12:54:24 | 2016-12-05T12:54:24 | 43,445,584 | 0 | 2 | null | 2015-12-10T05:15:44 | 2015-09-30T16:47:57 | Scilab | UTF-8 | Scilab | false | false | 221 | sce | is2rc1.sce | //Testing for logical errors
a=3*rand(1,5);
disp(a);
disp(is2rc(a));
//Output
// 0.9228272 2.7988849 0.6438024 0.9379260 1.0849083
//
// 0.9926615 - 0.9505138 0.8475132 0.9952501 0.9911189
|
c098f4c21e34fb90051855f54d45cc33c9d77a3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH3/EX3.8/8.sce | cbdd850e515f2546fc32c13c8bc33180a06f9ca0 | [] | 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 | 450 | sce | 8.sce | clc
disp("(i) at 0.75 bar, between 100°C and 150°C")
// At 100 °C
T1=100; //°C
h_sup1=2679.4; //kJ/kg
// At 150 °C
T2=150; //°C
h_sup2=2778.2; //kJ/kg
c_ps=(h_sup2-h_sup1)/(T2-T1);
disp("mean specific heat=")
disp(c_ps)
disp("(ii) at 0.5 bar, between 300°C and 400°C")
T1=300; //°C
h_sup1=3075.5; //kJ... |
7f305598d747aef24d2bf0ba47c72cd61c7f0551 | 052cd7bca09cd17948fb23a8fc19429573da9cab | /Scilab/Electrical Systems/DC Motor/DCmotorScript-200919-175245.sce | 3731ff72b3234856cc064387ededed8837272dfa | [] | no_license | akshay-pathak/extra | 41ef3aaa2036afe0945ec8923bd7e55090a1d554 | d297576711c9de7e693b8279ff0b6d3ee465fc0c | refs/heads/master | 2022-12-25T12:09:28.973876 | 2020-10-05T07:27:03 | 2020-10-05T07:27:03 | 278,586,094 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | DCmotorScript-200919-175245.sce | //Script for DC Motor Model Specifications
J = 0.5; // Rotor Inertia
B = 0.01; //Friction Coefficient
K = 1.25; //Torque Constant
R = 0.4; //Resistance
L = 0.05; //Inductance
|
a76cf49a4827e6f0931c701ef56dbbef48afa1b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH12/EX12.3/123.sce | 820cb469074da3964e8e4d9d9114a80a478be711 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | 123.sce | clc;
//Example 12.3
//page no 126
printf("\n Example 12.3 page no 126\n\n");
//to determine the teynolds no of a gas stream
v=3.8//velocity through the duct
D=0.45//duct diameter
rho=1.2//density of gas
meu=1.73e-5//viscosity of gas
printf("\n velocity v=%f m/s\n diameter D=%f m\n density rho=%f kg/m^3\n vis... |
2fbf8377ec1d04027124422cdae5d8b7e3bf95aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH13/EX13.2/Ex13_2.sce | 6a2c560037a6717ba09b6c4f4bbd66b2981aefb6 | [] | 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 | 478 | sce | Ex13_2.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex13_2.sce
clc;
clear;
R1=60;
R2=80;
C=100e-6;
V=12;
t1=6e-3;
i_S=300e-3;
i_R=V/R1;
i_C=(V/R2)*exp(-t1/(R2*C));
i=i_R+i_C;
printf("\n The current drawn from t... |
a7e27dc60c26dc7bfee386ac4f8b2caa4b2fbbcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH7/EX7.3/Example7_3.sce | 3bf51222e993603f485d71c800983b4528089873 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | Example7_3.sce | //Mid-point formula
clc;
clear;
close();
format('v',8);
funcprot(0);
deff('[g]=f(x,y)','g= -y^2/(1+x)');
y0 = 1;
y1 = 0.95335;
x = 0.05;
h = 0.05;
i=0;
while x<0.2
y2 = y0 - 0.1*y1^2/(1+x);
disp(y2,'The Y :')
y0 = y1;
y1 = y2;
x = x + h;
end
disp(y2,'The calculated value of y(0.2)... |
09c54d920d617d4fd0b2f4ef4ab81a6a1dc45144 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH8/EX8.1/ex8_1.sce | e716dcbf54ebe048c17ce0c5f0456d4bb746b589 | [] | 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 | 157 | sce | ex8_1.sce | //Digital Communication-Coding Techniques : example 8-1 : (pg 357)
fa=20*10^3;
fs=2*fa;//minimum sample rate
printf("\nfs >= 2.fa \nfs >= %.f Hz",fs);
|
ec3dac8726a4d6945340f87ef39ad8e029340f67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.14/Ex1_14.sce | e247923e1872675fe60d986e10585271f1022546 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | Ex1_14.sce | //Example 1_14
clc;
clear;
close;
format('v',5);
//given data :
V1=40;//V
V2=44;//V
R1=2;//ohm
R2=4;//ohm
R3=6;//ohm
I1=poly(0,'I1');
I2=poly(0,'I2');
//From Mesh ABEFA//eq1=V1-R1*I1+R2*I2-V2;
//-R1*I1+R2*I2=V2-V1;//eqn(1)
//From Mesh BCDED//eq2=-R2*I2-R3*(I1+I2)+V2;
//R3*I1+(R2+R3)*I2=V2;//eqn(2)
A=[-... |
cd3b0bda9b7689c92fdb332d8fb93689d064b0f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH2/EX2.3/Ex2_4.sce | 2a2cf61e2ae304c1087bcc106bbd2cf74acc6694 | [] | 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 | 195 | sce | Ex2_4.sce | //Ex2_4 Pg-88
clc
disp("(n_i)^2 = n*p = n_p*N_a")
ni=2.5*10^19 //density of electron hole
Na=1.1*10^20 //acceptor density
np=(ni^2)/Na
N=np/ni
printf("\n The ratio of n_p/n_i = %.4f",N)
|
77361a5358f11dd806b6f5373a4776412d635fa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH16/EX16.1/Ex16_1.sce | 2d428e284d87ce3a41a00d3b307336b14a177c27 | [] | 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 | 637 | sce | Ex16_1.sce | clc
clear
//Initalization of variables
cr=9
p1=14 //psia
t1=80+460 //R
n=1.4
heat=800 //Btu
c=0.1715
R=53.35
J=778
//calculations
p2=p1*(cr)^n
t2=t1*cr^(n-1)
t3=heat/c +t2
p3=p2*t3/t2
eff=(1-1/cr^(n-1))*100
t4=t3/cr^(n-1)
Qr=c*(t4-t1)
cyclework=heat-Qr
eff2= cyclework/heat *100
V1=R*t1/(144*p1)
pd... |
02aefa1ac18cf0ffde78b45147bdb6e7392c9449 | a178109facfc72b26e4addfe1fa3952c764630dd | /2 Control_Design_Scilab_bette_than_1/Test_Abstract_problem/Second_Method/try_2/main_controller_revised.sce | c8e4efc206ab97b9611ff5224b3b1568bfd276da | [
"BSD-2-Clause"
] | permissive | yi1128/Disturbance_observer | fb20d7db81193841e35b61e7c727e5fe91240dca | 6b5e79d25f0ab7a410adf30c2d1399864055cd56 | refs/heads/master | 2022-04-21T23:58:22.911921 | 2020-04-20T12:17:02 | 2020-04-20T12:17:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,215 | sce | main_controller_revised.sce | clear
clc
loadmatfile('A.mat');
loadmatfile('B.mat');
loadmatfile('H.mat');
loadmatfile('C.mat');
loadmatfile('observer.mat');
m=rank(B);
n=size(A);
n=n(1,1);
qw=rank(H);
p=rank(C);
function [LME,LMI,OBJ]=DRC(XLIST)
[delta3,deltah3,Thx,Thw,gama6]= XLIST(:)
LME=list(delta3-delta3',delta3*B-B*deltah... |
afbd1325cf11dfd08e6e6c496b77068d045f2492 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH17/EX17.33/Ex17_33.sce | 78cc1b20b74d62d71b5221ef652ba1af5b293b0a | [] | 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 | Ex17_33.sce | //Initilization of variables
W=161 //lb
wa=150 //lb
wb=100 //lb
la=2 //ft
lb=4 //ft
//Calculations
//Work Done
T1=wb*lb-wa*la //ft-lb
//Final KE=zero
T2=0 //ft-lb
//Work Done on the system=T2-T1
//Hence the equation becomes
//50x-50x^2+100=0
//where
a=-50
b=50
c=100
//Solution
d=sqrt(b^2-4*a*c)
x1=... |
3a37c978ec15b8fba75545d5674504c330dd199b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH8/EX8.11/Ex8_11.sce | 3df59a453979e3213641a889b3b8888aa0f78888 | [] | 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 | 479 | sce | Ex8_11.sce | // SAMPLE PROBLEM 8/11
clc;funcprot(0);
// Given data
m_c=3;// The mass of collar in kg
m_l=1.2;// The mass of the links in kg
k=1.5;// The stiffness of the spring in kN/m
g=9.81;// The acceleration due to gravity in m/s^2
// Calculation
P=(m_c*g)+(2*(1/2)*m_l*g);// The compression P in N
delta_st=P/(k*10^3)... |
f12de95e8ae43529c75837f3e0076b7ea597f2ac | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BV21.prev.tst | 2a5ace12d2dc487c16d8fa322c2b6bc924502fa9 | [
"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 | 608 | tst | BV21.prev.tst | [1,4,6,4,1] | [1,2,1] =
initial: [1,4,6,4,1] / [1,2,1], rem1=[1,4,6,4,1], div2=[1,2,1], lenq=3, len1=5, len2=3
step end: quot=[0,0,0]/qden=1, rem1=[1,4,6,4,1]/rden=1, div2=[1,2,1], bquot=1, lenq=3, len1=5, len2=3
while end: quot=[0,0,1]/1, rem1=[1,4,5,2]/1
step end: quot=[0,0,1]/qden=1, rem1=[1,4,5,2]/rden=1, di... |
0474a8573dc705a6d07f833af962f89402ba5143 | 841f77393c59837a68f64bd454c201bfb6b4a756 | /Assignment2_Fundamental_Subspaces.sce | 2c7c8679ca534e0c726b1c24b61fe6ffc233b4ce | [] | no_license | yashgawankar/LA_Scilab_Assignments-1-4- | 8e10bdda3ec183adc8480544008c0494cecaadb3 | 19a3227af4fee876088218ff598d92e856d80145 | refs/heads/master | 2021-05-23T14:03:15.862747 | 2020-04-18T18:24:26 | 2020-04-18T18:24:26 | 253,327,797 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,314 | sce | Assignment2_Fundamental_Subspaces.sce | //PES1201801482 - Yash Gawankar - 4J
function col_span(a)
[n,m] = size(a);
disp("Column Span:");
for i=1:n-1
k = i
while (a(i,k) == 0 && k <= m)
k = k + 1;
end
for j = i+1:n
if(a(i,k)<>0)
a(j,:) = a(j,:) - (a(j,k)/a(i,k)) * a... |
8b544f65458b65c7a202776a09a993f3228d2b24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH5/EX5.13/Ex5_13.sce | cb87d7dc1fa054a405f2c6608d0f2776411f74f7 | [] | 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 | 253 | sce | Ex5_13.sce | //Example5.13:"How much Ripples is seen in output"
//Page 164
clear;
clc;
PSRR=86; //in dB
Vripple=0.5; //in Volt
Psrr=10^(PSRR/20);
disp(Psrr,"PSRR ordinary value");
Vout=Vripple/Psrr;
disp("Vpp",Vout,"Vout_ripple ")
//result//
|
7d78ed43387c343b7013ca77170454ae1dc6b867 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3480/CH5/EX5.2/Ex5_2.sce | 61baa8b33491141696dbd943647d03124b40f45c | [] | 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 | 813 | sce | Ex5_2.sce | //Example 5.2, page 107
clc
r1=1.5//in cm
r2=1.5//in cm
d=2//in cm
n=1//in cm
n1=1.60//in cm
n11=1.30//in cm
n_by_f1=(n1-n)/r1
n1_by_f21=(n11-n1)/r2
f1=n/n_by_f1
f11=n1/n_by_f1
f21=n1/n1_by_f21
f211=n11/n1_by_f21
disp("Part a")
printf("\n The focal length f1 is +%f cm",f1)
printf("\n The focal length f11 is +%f cm",f11... |
6d44301763621205ff0e846d01bb052ba06ae53f | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH9/EX9.3/Ex9_3.sce | ae53f775fb5704640d680bf75c4afc23d3673e70 | [] | 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 | 848 | sce | Ex9_3.sce | //Example 9.3
clc
clear
delx = 0.1;
delt = 0.001;
xf = 0.5;
tf = 0.003;
x = 0:delx:xf;
t = 0:delt:tf;
m = length(x);
n = length(t);
r = delt/delx^2;
T = zeros(m,n);
T(1:m,1) = 0;
delTxi = 0;
delTxf = 1;
for j = 1:n
M1 = zeros(m,m);
M2 = zeros(m,1);
for i = 1:m
if i == 1 t... |
901bffabee912544ae66ab1ccabaa93c9d1c64cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH4/EX4.4/4_4.sce | 0b4cdf79eccc33757e0a8ac305aa1d8188d88954 | [] | 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 | 295 | sce | 4_4.sce | clc
//initialisation of variables
d=2*10^-3//m
x=0.07//m
m1=2.2*10^-3//gm
pice=920//kgm^-3
pwater=1000//kgm^-3
lice=80000//cal/kg
//CALCULATIONS
a=22*d*d/(4*7)
v=x*a
v1=1/pice
v2=1/pwater
dv=v1-v2
m2=v/dv
h=lice*m2
L=h/m1
printf(' latent heat of vapourisation= % 2f cal/kg',L)
|
bb4fafdc9e44701b17fe98035bc12e5a05eb6ea7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH16/EX16.1/Ex16_1.sci | 3d7104d9726d294b41b965651d53478e36882f46 | [] | 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 | 736 | sci | Ex16_1.sci | clc();
clear;
// To calculate the siffusion coefficient
T = 87.5; // Constant temperature of tube
p1 = 0.6543; // Saturation pressure in psi
p = 14.22; // Ambient pressure
e = 5.165*10^-5; // Rate of evaporation in lb/hr
A = 0.755; ... |
ffbeb10313feaecfda450f556ee945f4e18a9b3d | b67defe3c1cae63dd1a79578f840d069568034e6 | /scilab/numlucksetup.sci | 93deb625000905f2a663df107cfa81522b5ec86a | [] | no_license | wmacevoy/luck | bf5d93ce00e8136634d715057a97706d3aa804b3 | 47e5c8eb1782a1b4f3f5b9e7583290d9a842532e | refs/heads/master | 2023-05-03T14:46:51.353817 | 2023-04-25T03:13:44 | 2023-04-25T03:13:44 | 33,452,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sci | numlucksetup.sci | function setup=numlucksetup(problns,eps)
if ~exists("eps","local") then
eps=sqrt(%eps);
end
n=length(problns);
problns=gsort(problns);
for pass=1:2
if pass == 2 then
setup=zeros(2,count)
end
i=1;
count=0;
while i<=n
j=i;
while (j <= n-1 & abs(problns(j+1)-problns(i)... |
0e69917344d0893d7075458f02ca63b21d4c0c68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH6/EX6.2/Example6_2.sce | 81b0b277e4c15d4f2247b48b608787b2223b1528 | [] | 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,193 | sce | Example6_2.sce | //Example 6.2
//Program to Plot the Static Plate Characteristics and Determine //Plate AC Resistance, Mutual Conductance & Amplification Factor
clear;
clc ;
close ;
//Given Circuit Data
//All Values Extrapolated to Touch x-axis
V0=[20 50 100 150]; //V
V1=[70 100 150 200]; //V
V2=[112 150 200]; //V
V3=[177 200... |
8c88d027164e3ab6579debd3b6af7d88fe91c03f | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH5/EX5.1/example5_1.sce | e67160c8c57e7e2333d81f759e26083882e5d847 | [] | 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 | 449 | sce | example5_1.sce | clear
clc
//Example 5.1 VOLUME FLOW RATE AND MEAN VELOCITY
m=3; //mass flow rate[kg/s]
rho=1.24; //density[kg/m^3]
Q=m/rho //discharge[m^3/s]
//1m^3=35.31ft^3
printf("\nThe disharge in the pipe in both units is %.2f m^3/s and %.1f cfs.\n\n",Q,Q*35.31)
d=0.3; //diameter[m]
A=(%pi*d^2)/4 //area[m^2]
V=Q/A //m... |
c0a83c25e65fee23b799552f78834b153916f418 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH8/EX8.2/Ex8_2.sce | 6edb890f1a9c4bc091625209e40cc4f9f58df784 | [] | 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 | 774 | sce | Ex8_2.sce | //Ex8_2
clc
RL = 8*10^3
hie=1.0*10^3
hre=2.5*10^-4
hfe=50
hoe=25*10^-6
disp("RL = "+string(RL)+"ohm")//load resistance
//h-parameters for CE transistor amplifier are as follows:
disp("hie = "+string(hie)+"ohm")//input resistance of CE transistor
disp("hre = "+string(hre))//voltage gain of CE transistor
disp(... |
a587e8442d03ab63a25df76eeffed51ed8750dd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH15/EX15.10/Ex15_10.sce | 810c88df9cd461ad5a8c3add912d52d46d7487f3 | [] | 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 | 237 | sce | Ex15_10.sce | clear
//Given
f=18 //W/cm**2
A=20 //cm**2
t=30*60
c=3.0*10**8
//Calculation
U=f*A*t
P=U/c
F=P/t
P1=2*P
F1=P1/t
//Result
printf("\n Average force exerted on the surface is %0.3f N", F1)
|
9f9062d2c3b0322e9f753e40525acfc66d1e15e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH13/EX13.1/Ex13_1.sce | 4026724edeca9bea65b220259c24d79b3a3f758a | [] | 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 | 378 | sce | Ex13_1.sce | //Chapter 13
//page no 568
//given
clc;
clear all;
Vcc=5; //in V
Vf=1.5; //in V
If=60; //in mA
B=3.97;
N=3;
R9=(Vcc-Vf)*(B+1)/If/10^-3;
printf("\n R9 = %0.0f ohm\n",R9);
R7=R9/2/B-3/N;
printf("\n R7 = %0.1f ohm\n",R7);
R8=R9/2/B;
printf("\n R8 = %0.1f ohm\n",R8);... |
1b4f05c7ea34b1be4a8b871ae67df466391bb6a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH2/EX2.1/Example2_1.sce | b6dcad0c04326d338e4d8ca5104f3c0fc0d72574 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | Example2_1.sce | //clear//
//Example 2.1:Linear Convolution Sum
//page 80
clear;
close;
clc;
h = [0,0,1,1,1,0,0];
N1 = -2:4;
x = [0,0,0.5,2,0,0,0];
N2 = -2:4;
y = convol(x,h);
for i = 1:length(y)
if (y(i)<=0.0001)
y(i)=0;
end
end
N = -4:8;
figure
a=gca();
plot2d3('gnn',N1,h)
xtitle('Impulse Response','n','h... |
45f9f0d5d899c222b97af6a44f9aa19bdd8a089f | cce6113a12e6ae86fc4403770e66af9ac12b595e | /test10000.tst | 7d8f480fea85e7dc183d32ecc3a6474c40327652 | [] | no_license | twillis209/HackMergesort | 01c26612b1eea8d254f477d604ee6a3a7c161d43 | ab43b01742d58b4458e624c526b39be214e97bf4 | refs/heads/master | 2022-01-20T12:25:18.793859 | 2019-05-09T16:49:27 | 2019-05-09T16:49:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184,564 | tst | test10000.tst | //Autogenerated tst script. Edit at your own risk
load mergesortFunction.asm,
breakpoint PC 3,
set RAM[101] 2,
set RAM[102] 15000,
set RAM[103] 9500,
set RAM[0] 103,
set RAM[15000] 88,
set RAM[15001] 79,
set RAM[15002] 91,
set RAM[15003] 26,
set RAM[15004] -47,
set RAM[15005] -31,
set RAM[15006] 81,
set RAM[15007] ... |
997a58d38eec69a776b4c49e115b1d3872f04c69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.20/3_20.sci | d9acb03f2202fc753fae506039f8549e0fd5adae | [] | 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 | 413 | sci | 3_20.sci | //Calculate the error and percentage error in the measurement of deflection
clc;
l=0.2;
E=200*10^9;
b=20*10^-3;
d=5*10^-3;
D=(4*l^3)/(E*b*d^3);
F=1*9.81;
x_true= D*F;
disp(x_true,'True value of deflection')
x_indicated=D*10.31/(1+.1*D);
disp(x_indicated,'Indicated value of deflection')
Er=x_indicated-x_true... |
f624da9b36a34718e400e044d0b220bda2894313 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH16/EX16.7/Ex16_7.sce | 3263c36fa5216b0c5eeddf6854febe4fb21fdc33 | [] | 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 | Ex16_7.sce | //Example 16_7
clc();
clear;
//To calculate the minimum value of Vab needed
printf("Since each proton has a minimum energy of 13.6 eV and a charge of 1.602*10^-19 C\n The required potential difference is=13.6 eV")
|
743e9e551d2fa3466ff7fa6a4c4e659ee8004def | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_4/Scilab_codes/RH_2.sce | 10258ad71cb32074674ae394229977c749e80b57 | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | RH_2.sce | clear;
close;
clc;
s = poly(0,'s');
g1 = s^4 + 2*s^3 - 10*s^2- 17.5*s - 6;
g2 = 25*s^4 + 100*s^2 + 64;
G = g1*g2;
disp(G);
disp(routh_t(G))
|
f28abd837dc78bbc9f436e0b899d9e342757ba6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH16/EX16.11/Ex16_11.sce | 6fcf0fe579f5f0a291191f723c51b3a95e42f715 | [] | 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 | 895 | sce | Ex16_11.sce | // chapter 16
// example 16.11
// Determine depth of heating and heat generated per unit surface area
// page-1036
clear;
clc;
// given
L=10; // in cm (length)
d=1; // in cm (diameter)
N=15; // number of turns
I=80; // in A
f=200; // in kHz
ur=1; // relative permeability
rho=5E-8; // in ohm-m (resistivity... |
c29927a52d301b3fbf895accb5af1376e50c8937 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH4/EX4.17/Ex4_17.sce | c0d769f70ff40d2982948b5f5056d985c3d71b13 | [] | 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 | 789 | sce | Ex4_17.sce |
//To Determine the motor current and torque for a particular firing angle
//Page 242
clc;
clear;
P=15*735.5; //Power Rating of the Motor
Raw=0.2; //Combined Armature and Field winding resistance
N=1000; //Speed
K=0.03; //Motor Constant
a=30; //Firing Angle
E=250; //Supply Voltage
//Semi Converter
w=2*%pi*... |
1bc3b75d37a98edb282561897ff140c68c168d21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH10/EX10.12/exa10_12.sce | 012347fa849adb70b4797ea0d26d75b33e88aa7e | [] | 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 | exa10_12.sce | // Example 10-12
// Design of quadratic optimal regulator system and finding the response
clear; clc;
xdel(winsid()); //close all windows
mode(0);
A = [0 1 0; 0 0 1; -35 -27 -9];
B = [0; 0; 1];
Q = [1 0 0; 0 1 0; 0 0 1];
R = [1];
// solve the riccati equation
P = riccati(A, B*inv(R)*B', Q,'c')
K = inv(R)*B'*P
E = s... |
148d152dc26d0bf17adb7c0470f10e3c059f882a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH3/EX3.7/ex3_7.sce | 255a9f0af75d4cb4c060522c5fe1d3148df77025 | [] | 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 | 209 | sce | ex3_7.sce | clc;
g=9.8; //gravitational constant in m/sec square
m=10; //mass in kg
a=5; //acc. in m/sec square
F=m*a; //calculating force
disp(F,"Force in Newton = "); //displaying result
|
b26b974d3112e6f21fe58ae790a84374cce28091 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH6/EX6.3.A/additional_ex_3.sce | cab6cd299dc67aa730b0515eebd33b297714a1aa | [] | 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 | 910 | sce | additional_ex_3.sce | clc;
clear;
q=1.6*10^(-19);// electron charge
Ieq=5;//equivalent shot noise current in uA
Bn=8;//bandwidth in MHz
Rn=200;
Rs=100;//resistance in ohms
k=1.38*10^(-23);// boltzman constant
T=290;//temperature in K
Vs=10// RMS signal source volatage in uV
In=sqrt(2*Ieq*q*Bn);
Vni=Rs*In;//shot noise voltage ... |
f2df195e5789cbe6e150313971101108e914488b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH1/EX1.2/Ex1_2.txt | 95c8d5b535859cf1780d15a5775544a0631db5c5 | [] | 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 | 181 | txt | Ex1_2.txt | //Ex:1.2
clc;
clear;
close;
W=625*10^3;// power in W
r=30*10^3;// in m
Erms=(sqrt(90*W))/r;// the field strength in V/m
printf("The field strength = %d mV/meter", Erms*10^3); |
e3277f47f60eb0b03761794645069684a756f6c6 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/vol_div_fgota.sce | 384e8f4a627edf6df78d09b5c7fd7ee6c3f3b0e1 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 238 | sce | vol_div_fgota.sce | style.fontSize=12;
style.displayedLabel="<table> <tr> <td align=center><b>Vin<br>Vref</b></td> <td align=center>Voltage<br>Divider<br>fgota</td> <td><b>Vout</b></td> </tr> </table>";
pal5 = xcosPalAddBlock(pal5,"vol_div_fgota",[],style);
|
6f41579227436457606f2bebf9e543315d3d7bb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH7/EX7.2/Ex7_2.sce | 9cb018fef51210abea7cf45470ea6396e6b504a5 | [] | 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,785 | sce | Ex7_2.sce | clear all; clc;
r_h=15
r_t=24
r_m=((r_h^2+r_t^2)/2)^0.5
printf("rm= %0.0f in",r_m)
N=6000
r_m=20
U_m=N*%pi*r_m/(12*30)
printf("\n U_m= %0.2f ft/s",U_m)
disp("We have psia=lamda*psi=lambda*phi*(tanßm1-tanßm2)")
//let x=tanßm1-tanßm2
x=(0.24*778*32.2*35)/(0.92*1047.2*450)
printf("\n Hence we can find ou... |
83e070cc692152065c985cf650913d186c243680 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH20/EX20.3/ex20_3.sce | 42a59986fc777478d63b361e774a03e79f3c394f | [] | 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 | 243 | sce | ex20_3.sce | clc;
clear all;
H=1E6;//magnetic field intensity in A/m
X=-0.8e-5;//susceptibility
u0 = 4e-7*%pi;
M=X*H;//magnetization in A/m
B=u0*(M+H);//flux density in Wb/m^2;
disp('A/m',M,'magnetization is:')
disp('Wb/m^2',B,'flux density is:')
|
465237f80e0ffb688af12fe271a6d2158c438d8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH7/EX7.1/7_1.sce | 71548e906fcb03b78ea9fdd1a122c3b9da515800 | [] | 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 | 342 | sce | 7_1.sce | clc,clear
printf('Example 7.1\n\n')
Z=0.0003295 //electrochemical equivalent of copper
I=1 //current strength
T=100*60 //time in seconds
W= Z*I*T //weight of nickel deposited
D=8.9 //density of nickel
V=W/D //volume of nickel deposited
A=2.25 //area of plate
t=V/A //thickness of deposit
printf('Thickness of copper de... |
f880082c2110760828d8fb113237a318bf7e6a0f | fcd4bce0080771389b4a69338ed6443153942183 | /cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/branch.tst | 2252dff50f903a77433447b30ff78049d3924ff3 | [
"GPL-2.0-only",
"MIT",
"LGPL-2.1-only",
"MPL-1.1",
"LicenseRef-scancode-mame",
"GPL-1.0-or-later",
"Zlib",
"LGPL-2.1-or-later",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-brian-gladman-3-clause",
"BSD-3-Clause"... | permissive | wulfebw/retro | d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa | dad4b509e99e729e39a2f27e9ee4120e3b607f58 | refs/heads/master | 2022-10-23T07:17:55.320585 | 2020-06-12T01:38:06 | 2020-06-12T01:38:06 | 260,832,205 | 8 | 1 | MIT | 2020-06-12T01:38:08 | 2020-05-03T05:06:17 | C | UTF-8 | Scilab | false | false | 11,939 | tst | branch.tst | #if __WORDSIZE == 64
# define I7f 0x7fffffffffffffff
# define I80 0x8000000000000000
# define I81 0x8000000000000001
# define Iff 0xffffffffffffffff
#else
# define I7f 0x7fffffff
# define I80 0x80000000
# define I81 0x80000001
# define Iff 0xffffffff
#endif
.data 12
ok:
.c "ok\n"
. $($NaN = 0.0 / 0.0... |
572c0ae6d274f1636a15bfc4c75a22013008f342 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH7/EX7.3/c7_3.sce | 8506d92c551a2f29093e18d9212bcaed1fcc9dd2 | [] | 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,973 | sce | c7_3.sce | //(7.3) Water initially a saturated liquid at 100C is contained in a piston–cylinder assembly. The water undergoes a process to the corresponding saturated vapor state, during which the piston moves freely in the cylinder. For each of the two processes described below, determine on a unit of mass basis the change i... |
76037a8c319574fee548de863948e9245082763c | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH2/EX2.2/ex_2_2.sce | 2016599fe8e30a22a461512517074502c81f702f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | ex_2_2.sce | //example 2.2//
clc
//clears the screen//
clear
//clears all existing variables//
a=14276;
b=18490;
c=a+b;
if c<32767 then
disp('Yes 16 bit arithmetic operation can be used to add given numbers')
else
disp('NO 16 bit arithmetic operation can be used to add given numbers')
end |
ea511c76958443b8be7da74d36377b133ab29deb | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TM41.prev.tst | 157ee12055bb9a91d64d8769f6582041c7a7536b | [
"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 | 1,201 | tst | TM41.prev.tst | TranspositionSet={[0,2,1],[1,0,2],[1,2,0],[2,1,0],[2,0,1]}
Expanding for base=2, level=8, reasons+features=base,transpose,same,similiar showfail
Refined variables=x,y,z
[0+1x,0+1y,0+1z]: unknown -> [1] [0,0,0] x²+y²-4x*y*z+z²
-> solution [0,0,0],trivial(3)
---------------- level 0
expanding queue[0]^-1,meter=[2,2... |
b89cd9edb42cb1142e07e6cc5bd99239a91e8002 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH1/EX1.4/EX1_4.sce | 82797057aeaaeff0920e57139f5a77738a1b46b7 | [] | 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 | 431 | sce | EX1_4.sce | //fiber optic communications by joseph c. palais
//example 1.4
//OS=Windows XP sp3
//Scilab version 5.4.1
clc
clear all
//given
h=6.626e-34// plancks constant
c=3e8// velocity of light in m/s
lambda=0.8e-6//wavelength in m
P=1e-6//input power in W
t=1// time in sec
//to find
Wp=h*c/lambda// energy of one ... |
63b7ba43e6c406ee17b36ab5d08ac74442cadbbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH8/EX8.3/prob_8_3.sce | 22973290db17f7338d1402e7bac32e2ac80a5821 | [] | 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 | 685 | sce | prob_8_3.sce | clc;
// page no. 367
//prob no. 8.3
//since both the plots can be out of synchronization by as much as 6 parts (bits)in 10^13 , we have
// timing error bits per second can be calculated as-
//error in synchronization is given as
e=6/(10^13);//timing eeor bits per transmitted bits
//bit rate is given as
r =1544... |
64e13f0cf6c7ac278153ea7c269c223d135988ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH15/EX15.8/15_8.sce | 53dbc4c0c776881a8f2a7e6328db8c23cff60364 | [] | 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,970 | sce | 15_8.sce | clear;
clc;
funcprot(0);
//Example - 15.8
//Page number - 524
printf("Example - 15.8 and Page number - 524\n\n");
//Given
x_1 = 0.20;
x_2 = 0.45;
x_3 = 0.35;
P = 10;//[atm]
P = P*101325*10^(-3);//[kPa]
// log(P_1_sat) = 13.7713 - 1892.47/(t + 248.82)
// log(P_2_sat) = 13.7224 - 2151.63/(t + 236.91)
... |
62be0f73f3ec7f75e39a4c15d9505f078a9ea560 | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/07/MemoryAccess/StaticTest/StaticTestVME.tst | 81bb9dc624ac3a6ff2aea496fe8e96ce645b51fa | [] | no_license | radavis/nand2tetris | 0703b55695378cd8ec279599a34114cbfba48ef7 | 021ba06dbbe203206b44360f162a0d64e2dc41f9 | refs/heads/master | 2021-01-01T20:05:37.036752 | 2015-05-16T19:13:31 | 2015-05-16T19:13:31 | 34,955,667 | 8 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | tst | StaticTestVME.tst | // File name: projects/07/MemoryAccess/StaticTest/StaticTestVME.tst
load StaticTest.vm,
output-file StaticTest.out,
compare-to StaticTest.cmp,
output-list RAM[256]%D1.6.1;
set sp 256,
repeat 11 {
vmstep;
}
output;
|
825651816a46ab2c3ef49bf53564d29abddd3c6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH10/EX10.29/ex10_29.sce | 19535e6ec40fe0e4274cb2b2358fbea1062cdfeb | [] | 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 | 392 | sce | ex10_29.sce | // Example 10.29, page no-287
clear
clc
avg=6.023*10^23
m=9.1*10^-31//kg
e=1.6*10^-19//C
d=8.92*10^3 //kg/m^3
rho=1.73*10^-8//Ohm-m
z=63.5
n=avg*d/z
sig=1/rho
tau=sig*m/(n*(e^2))
mu=sig/(e*n)
printf("\nThe relaxation time is %.2f *10^-11 s\nThe mobility of electrons in copper is %.2f m^2/V-s\nThe condu... |
69ebbb5ddf6be11176f84bfbad624bbaa8ece3fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH12/EX12.3/12_3.sce | d44bdaa4bf2554ed0efd87aff71c12902723ab02 | [] | 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 | 146 | sce | 12_3.sce |
ns=120*50/20
sfl=1-292.5/ns
R2=0.12
X2=1.12
smaxT=R2/X2
disp(smaxT)
Tmax_by_Tfl=0.5/X2/(R2/sfl/((R2/sfl)^2+X2^2))
disp(Tmax_by_Tfl)
|
546af03df29c6f93c2232715301a90b27353fc76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.7.1.b/ex_2_7_1_b.sce | fa7883cc40a28d0cd69f888f5fde8b2c8990594f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 199 | sce | ex_2_7_1_b.sce | //Example 2.7.1.b://deviation
clc;
clear;
q=[49.7,50.1,50.2,49.6,49.7];//
AM= mean(q);//arithematic mean in mm
for i= 1:5
qb(i)= q(i)-AM;
disp(qb(i),"deviation in "+string (q(i))+" is")
end
|
fd599ff145908aa8e1c30155489c57912b54bfbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH5/EX5.5/Ex5_5.sce | a7a1d537e3868c570d9667ee5173290e93ad29d0 | [] | 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 | 206 | sce | Ex5_5.sce | //Chapter 5: Chemical Kinetics and Catalysis
//Problem: 5
clc;
// Solution
t = ((2.303 * log10(100 / (100 - 99.9))) / (2.303 * log10(100 / (100 - 50))))
mprintf("99.9 percent / 50 percent =%.1f",t)
|
66ac2748bcaf8bab758daf1f648a52eab7e1e3b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH5/EX5.6.9/Ex5_9.sce | e8f7c99102f77c05cb3206e8ceee2044ed0748c2 | [] | 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 | 481 | sce | Ex5_9.sce | //Example 9// Ch 5
clc;
clear;
close;
// given data
Deq=600;//mean geometric distance b/w conductors in cm
delta=1;//at standard temp and pressure
r=1;//radius of conductors in cm
E0=30*delta*(1+(0.3/sqrt(delta*r)));//corona onset field in kVpeak/cm
printf("corona onset field %f kVpeak/cm",E0)
V0=E0*log(Deq);... |
965a36d0b0203d691d54f325c719a89b1bf0a067 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.8_4.tst | 2a43139f1cf69d303bf33540d0fa2d50d27f3b3d | [] | 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 | 6,004 | tst | bow.8_4.tst | 8 6:0.25 16:0.05194805194805195 18:2.0 19:1.0 25:1.0 30:1.0 35:0.25 46:0.07407407407407407 48:1.0 70:0.4 90:0.5 94:1.0 112:0.5 136:1.0 186:0.3333333333333333 189:0.25 199:1.0 204:0.5 230:1.0 335:1.0 568:2.0 1162:1.0
8 35:0.25 90:0.5 504:1.0 886:1.0
8 6:0.25 16:0.025974025974025976 30:1.0 35:0.5 94:1.0 139:0.11111111111... |
c0ae3ac73196b84fb91e4f4c3d35063fa9d8013f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH1/EX1.8/Ex1_8.sce | acd2641df6a8ef1a20559c2f73b0fe20d2d7f09b | [] | 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 | 706 | sce | Ex1_8.sce | clc,clear
//example 1.8
//To find all trigonometric functions when sine functions is given
sin_A=2/3 //given
//since sine function is opposite/hypotenuse and
//T-ratios are defined interms of ratio of sided of right triangle
opposite=2;
hypotenuse=3;
BC = opposite;
AB = hypotenuse;
b = sqrt(hypotenuse^2-... |
b9bd8cec859e5e8b715e79525695ff507c13f6ca | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /src/asserVisuPred/predPredictionPoint.sci | 04959b7c65d82976b0f647f2c378d0ad90e9a227 | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,244 | sci | predPredictionPoint.sci | //-----------------------------------------------//
// INCREMENTAL MODEL FUNCTION ITRO 2010 ALLIBERT
// author Claire Dune
// date 04/01/2010
//-----------------------------------------------//
function sm = ga_predLocal2dPoint(smPrec,v,Te,Zint)
//
// update the predicted model
// Zint is arbitrarily chosen
... |
38e77db174115b42209b72f013d4db7b1e79788f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rms/rms4.sce | 7d6653b1bc446441821ec18646b7e02a696951ca | [] | 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 | 127 | sce | rms4.sce | //check o/p for matrix i/p
a=[1 23 3;2 3 4; 2 3 5];
Y=rms(a);
disp(Y);
//output
//
// 1.7320508 13.503086 4.0824829
|
b8b687373a717b67f5aa067d71358a6b7249eb60 | 9d59fb06cf0644f9c0c84aae7977eeff57116a45 | /1-RDMP/RDMP-4.sce | 61e0be1bcbe4ba0bb10b38beaaa29d1b3236007a | [] | no_license | aguadix/RQ | f353b8fa0e36828c8cca9af53f5c3275ed476a75 | 43e8a31003bf038b0cd72487868c760829b9797c | refs/heads/master | 2023-03-07T10:50:29.102260 | 2023-03-06T01:35:58 | 2023-03-06T01:35:58 | 53,548,175 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,651 | sce | RDMP-4.sce | clear; clc;
// RDMP-4.sce
// 2 A <=> B
// Isotermo
// SISTEMA DE ECUACIONES DIFERENCIALES
function dxdt = f(t,x)
// Variables diferenciales
CA = x(1)
CB = x(2)
// Velocidad de reacción
// r = rd - ri = kd*CA^2 - ki*CB = kd*CA^2 - kd*CB/Keq
r = kd*(CA^2 - CB/Keq)
// Balance de materia para ... |
5f0ac35275769578c5b3a142a35c49e90ed46a69 | 07758ca5d5cd7f32e688a972c8f6fa90b95c617d | /COUSIN_raphael_projet_scilab/COUSIN_Raphael_ex01_convergence.sci | 64d8aed9c616af3e62e58653351fee3ec30950e2 | [] | no_license | racousin/papers | b1bdc78837df34793448cc32fa4d650743ec1cdd | a1839b984c62c0f6cf48c7314f7d3c878b4dc4a7 | refs/heads/master | 2021-05-07T01:18:21.684265 | 2019-07-04T19:09:45 | 2019-07-04T19:09:45 | 110,237,287 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,553 | sci | COUSIN_Raphael_ex01_convergence.sci | //ex1 Q11 convergence au temps T
xmin = -2;
xmax = 2;
T = 0.85;
function[y] = u_ini(x)
if length(x) == 0
y = 'u_ini';
else
y = bool2s((abs(x)<=1/2));
end
endfunction
function[y] = u_lin(x)
if length(x) == 0
y = 'u_lin';
else
y = bool2s(a... |
dd9476f503eb5819fcbf2b886e59950e21f4c82c | a1f93c5ed7f19ec2dc6e698a305960c7eaacb3fd | /Practica3.2/Ejercicio1.sci | 415192919659da3279d70e1378a16d52d1267716 | [] | no_license | hectoregm/numerico | 813c74b87c976c2af4fe83adf59561a80141ea2f | ca0e16875746ad9d9c17da7ce0635669fc2410ed | refs/heads/master | 2021-01-21T07:53:31.701526 | 2014-12-02T04:42:40 | 2014-12-02T04:42:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,701 | sci | Ejercicio1.sci | function [Q,R] = qrhouse(A)
// Funcion que realiza la factorizacion QR mediante transformaciones de
// Householder.
// ****************************************************************************
// Entrada
// A (Matriz Real) - Matriz de tamaño m x n con entradas reales.
//
// Salida
// Q (Matriz Real) - Matriz or... |
c9a28034781b0a1ead87c025cab56daa3edb6ffe | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH3/EX3.1/3_1_sci.sce | 64767ed7e6c68bc990aafd82597cab8bb5770a90 | [] | 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 | 365 | sce | 3_1_sci.sce | //Fabrication and Thermal characteristics
//Example 3.1
Xa=50;//Ambient temperature//
P=150;//on state power loss in Watts//
Rjc=0.02;//junction_case thermal resistance//
Rcs=0.05;//case_sink thermal resistance//
Rsa=0.08;//sink_atmosphere thermal resistance//
Xj=Xa+P*(Rjc+Rcs+Rsa);//junction temperature//
prin... |
a3c8c90d12b85d3d0a37808ef1bc78c4045e1083 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/metanet/trans_closure.sci | dd85602d1788a6c3c9bdb2ed6e23e033a459de7a | [
"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 | 1,068 | sci | trans_closure.sci | function g1=trans_closure(g)
[lhs,rhs]=argn(0)
if rhs<>1 then error(39), end
// check g
check_graph(g)
// compute lp, la and ls
n=g('node_number')
ma=g('edge_number')
if g('directed')==1 then
[lp,la,ls]=ta2lpd(g('tail'),g('head'),n+1,n)
else
error('trans_closure: the graph must be directed')
end
// check connectivi... |
ba60193e74515b3ba5c9d8cbc9c1c5435d443b9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH14/EX14.3/ex14_3.sce | c45e5a91defafe6ed8a0708f66ec0d049aae5500 | [] | 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 | 943 | sce | ex14_3.sce | clc;
warning("off");
printf("\n\n example14.3 - pg727");
T=40+273.15; //[K] - temperature
P=1; //[atm] - pressure
Cp=1005; //[J/kg*K] - heat capacity
M=28.966; //[kg/mole] - molecular weight
R=8314.3; //[atm*m^3/K*mole] - gas constant
// using the formula Cv=Cp-R/M
Cv=Cp-R/M;
y=Cp/Cv;
mu=19.11*10^-6; ... |
6f9c8702ac39fac107b92b2a433970da393fd228 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH3/EX3.4/Example3_4.sce | b6ef97306cc40bc5e7c18ba9635493532b02cc9a | [] | 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,307 | sce | Example3_4.sce | //Example 3.4
clc
disp("Step 1: Identity topology")
disp(" The feedback voltage is applied across the resistance R_e1 and it is in series with input signal. Hence feedback is voltage series feedback.")
disp("")
disp("Step 2 and Step 3: Find input and output circuit.")
disp(" To find input circuit, set Vo = 0 (c... |
72271db6dc0de4a6fce58d92d85f02b234656e4c | ebeb01647d8befa67b61bb30a7503abd26cc518e | /linSysGauss.sci | dcf87ba521e7baf63966c35ef965f614079d4b17 | [] | no_license | ciarap/Scilab_Labs | 153903c46c94492672c1da9497a030f548d3940e | af994c56ae44c4872a969cab376056dd18871f3c | refs/heads/master | 2021-07-04T20:12:39.635697 | 2017-09-25T22:53:15 | 2017-09-25T22:53:15 | 104,810,103 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sci | linSysGauss.sci | function [X] = linSysGauss()
funcprot(0)
int x;
int y;
int z;
eqn1 = 2*x + y + z == 2;
eqn2 = -x + y - z == 3;
eqn3 = x + 2*y + 3*z == -10;
[A,B] = equationsToMatrix([eqn1, eqn2, eqn3], [x, y, z])
X = linsolve(A,B)
endfunction
|
aeb991265995ef600a35ff7d609ac0c9b1548ec4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH11/EX11.7/7.sce | db2d08679ea31fe6a416091cd5bf44c0a5fe1efe | [] | 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 | 679 | sce | 7.sce | clc
clear
//INPUT DATA
l=12*10^-3//length of semi conductor crystal in m
b=1*10^-3//breadth of semi conductor crystal in m
t=1*10^-3//thickness of semi conductor crystal in m
I=20*10^-3//current in A
Vh=37*10^-6//voltage measured across the width in V
B=0.5//magnetic flux density in Wb/m^2
e=1.6*10^-19//charge... |
b7ead55f9674f3435b92a4c8308430e0fdf53ea7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH4/EX4.19/Ex4_19.sce | 41853d6d5a7c89c1bdf6510e8174994afa41bc6e | [] | 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,612 | sce | Ex4_19.sce |
// Variable Declaration
A = 0.96*exp(%i*1.0*%pi/180) //Line constant
B = 100.0*exp(%i*83.0*%pi/180) //Line constant(ohm)
V_R = 110.0 //Receiving end voltage(kV)
V_S = 110.0 //Sending end voltage(kV)
pf = 0.8 //Power factor... |
a741ca40cde0f645182f38c9b1f036f00ff1bb86 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/scripts/00_patestRK.tst | b251968c32e645df1fc12350322f8ed49c68dbd7 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 1,821 | tst | 00_patestRK.tst | # Depeopanizer test (from old Hysim manual)
units SI
$thermo = VirtualMaterials.RK
/ -> $thermo
thermo + propane isobutane n-butane isopentane n-pentane
thermo + n-hexane n-heptane n-octane
thermo + n-nonane n-decane
stab = Tower.Tower()
stab.Stage_0 + 10 # twelve stages
stab.LiquidPhases = 2
cd stab.Sta... |
09d703544db1301a2c59a1056bcd0ea69bad67d5 | 52891b40d6509dbdf55faa562cf0f3692c2d958b | /algoritmos/zcr/main.sce | be9f9f9708fed8c32379a984121453f8668a5a0a | [] | no_license | google-code/audio-fingerprint | f78981721d3def3ad557cceb1c010cc759684442 | 9d3dc04103a9bd0f3e3951a6180312865b7f3b8a | refs/heads/master | 2016-09-08T16:59:21.186418 | 2015-03-15T16:13:40 | 2015-03-15T16:13:40 | 32,270,052 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,823 | sce | main.sce | //**********************************************************************************************************
//*************** Algoritmo para calcular la frecuencia fundamental de una señal de audio ******************
//**************************** se prueban la correlacion y demas funciones utiles ********************... |
9c821ac4709efbe10f56eb92951285df96f15eae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH4/EX4.8/Ex4_8.sce | 67b9a7e6f0e872f7de8fe6782f1d53fc87a0be3c | [] | 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 | 419 | sce | Ex4_8.sce |
// Examle 4.8
Voc=12.6; // Voltage of car battery
Isc=300; // Short-circuit current
Ro=Voc/Isc; // O/p resistance
// { P=Vht^2/4Rth } , but here Vth= Voc & Rth= Ro
Pavl=Voc^2/(4*Ro); // Available power
di... |
42e38a16c99d4cc0c8f106a7c549879e6d369d45 | 4a1949be12fbe9a81d9308381b34c611e65877ca | /tests/execution/schema_compil.tst | c92cc6d6a32117ce357a068af23b3a21137e1e5c | [] | no_license | ng88/trad | 26439d8fe2284ece19d6fbfaa397d3f6f0d13e78 | e4d3d4d56928539144d30c5c49e01e65c9b8729c | refs/heads/master | 2020-12-05T07:31:25.854231 | 2008-02-29T10:15:34 | 2008-02-29T10:15:34 | 67,351,952 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | tst | schema_compil.tst |
class A
private integer a, b;
public A()
prints("construit un A...\n");
public string nom()
return("A");
public void printNom()
{
prints("nom de la classe de l'instance=");
prints(nom());
prints("\n");
}
public integer ajouter(integer x, integer y)
re... |
5c1a9f4a302d6059efb30c79ad26f373cf9e30b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH7/EX7.2/Ex7_2.sce | 1451ae8593606309e566e831684e418e6361cc8f | [] | 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 | 605 | sce | Ex7_2.sce | clc();
clear;
//Given :
//(a)
m = 9.109382*10^-31; //electron mass in kg
c = 2.997925*10^8; //Speed of light in m/s
h = 6.626069*10^-34; //planck's constant in Js
e = 1.602176*10^-19; // Charge of an electron in C
e0 = 8.854188*10^-12; // Vacuum permittivity in F/m
R = (m*e^4)/(8*h^3*e0^2*c);// Rydberg consta... |
70a12f8be85c45a73929bb216ea42a4e6d5fa905 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH6/EX6.14/example_14.sce | 38116a78e134b4c76d35fd88f57331e205ad19c0 | [] | 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 | 144 | sce | example_14.sce | clc
clear
printf("example 6.14 page number 238\n\n")
printf('this is a theoritical question and solution can be referred from the book')
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.